Page 1 of 1

Click on Photo for Next Photo in No Popup or Highslide JS??

Posted: 04 Jun 2011, 19:27
by bdoes
Is there a way in: Higslide JS, and/or No Popup to make it such that clicking on photo goes to the next photo???

Currently, the users of my site has to scroll down to the icon-next.gif and click that to go to the next photo...

Ideally, I'd like to make it such that, if user clicks on photo, it goes to the next photo...

If that is not possible, I'd like to show icon-next.gif both above and below the photo...

I have figured it out for using highslide JS (Image Only), by placing the below code in between the <head> </head>...
hs.lang.restoreTitle = 'Sonraki foto için tıkla!';

// Cancel the default action for image click and do next instead
hs.Expander.prototype.onImageClick = function() {
return hs.next();
}

however, because I can't display adsense code in Highslide JS (Image Only), I have to use No Popup or, Highslide JS...

So, is there a way to make clicking on photo go to next photo in Highslide JS, and/or No Popup?

Thank you.

p.s. if you'd like to see how it is currently working on my site you can see it here: gelinlikler

Re: Click on Photo for Next Photo in No Popup or Highslide J

Posted: 07 Jun 2011, 00:33
by Jan
Hi, in image method you can customize it in javascript in iframe method this can be done in html - there is next icon in both, so I maybe not understand correctly the question?

See (8) here:
https://www.phoca.cz/documents/50-phoca/ ... al-advices

Re: Click on Photo for Next Photo in No Popup or Highslide J

Posted: 09 Jun 2011, 00:48
by bdoes
Hi Jan, Thank you for looking into this problem.

This is probably because I know very little HTML, or Javascript... What I want may be very simple, but I don't know how to do it....

The problem is this: say u r looking at a photo:
http://gelinlikler.com/moda/elbise-mode ... nliklercom

If you click this photo, it goes to:
http://gelinlikler.com/moda/elbise-mode ... nliklercom#

So, it is the same link with a ' # ' at the end of it... So clicking on the photo, goes to the same photo.

What I want is: when you click ON THE PHOTO, it should go to the NEXT photo...

So when I click on the photo, I want it to go to:
http://gelinlikler.com/moda/elbise-mode ... nliklercom

Currently, to go to this photo, users have to click the icon-next.gif. I want to make it more user-friendly, so that clicking the photo will be enough...

Is it possible??

As always, THANK YOU for a great extention!

Re: Click on Photo for Next Photo in No Popup or Highslide J

Posted: 09 Jun 2011, 16:23
by Jan
Hi, now I understand, there is no such option for this, so this must be customized in the code, but the next link is rendered on the site, so such needs to be taken and added "below" (into a tag of image) image, but didn't do such customization yet, so cannot give any exactly advice there :-(

Jan

Re: Click on Photo for Next Photo in No Popup or Highslide J

Posted: 15 Jun 2011, 00:29
by bdoes
ok. thank you for looking into it...

Unfortunately, because I don't know how to add that info to the tage of each image, I went back to using Highslide JS (Image Only)... Now, with a custom header as mentioned above, it works as I would like (clicking the photo goes to the next photo). However, now I can't display as many ads as I would like...

I know I can display ads in module position "phocaads" , and I do that when a user clicks on icon-view.gif (because that displays pictures as Highslide (NOT image only)...

Is there a way to overlay adsense ads in Highslide JS (Image Only)???
thx.

Re: Click on Photo for Next Photo in No Popup or Highslide J

Posted: 15 Jun 2011, 23:11
by Jan
Hi,

Is there a way to overlay adsense ads in Highslide JS (Image Only)???
no, until you will not customize the javascript of the highslide js (maybe, not sure, no experiences there :-( )

Jan