Topic: Click embedded gallery to go to URL

Hi there,

Slightly perverse question here...

What I am after is this. I have an embedded slideshow in my website. I want to code the page so that when a client clicks on the embedded slideshow rather than it turning on or off auto play I want the click to take them to another URL (my web site portfolio).

Can anyone tell me how I could code this on my web page?

thanking someone in advance.

David

Re: Click embedded gallery to go to URL

If you set imageClickMode="OPEN_URL" (in JuiceboxBuilder-Pro's 'Customize -> Main Image' section), then when users click on a main image in the gallery, they will be taken to the corresponding linkURL (in the gallery's 'config.xml' file) which will be opened in a tab or window specified by the linkTarget.
linkURLs and linkTargets can be entered for each image on JuiceboxBuilder-Pro's 'Images' tab.

Re: Click embedded gallery to go to URL

Thanks for that, sounds good. If that only works though on the main image once the gallery is opened then it's not quite what I am looking for. Or have I misunderstood? Would that still work when a user clicks on the embedded slideshow (clicking now merely turns the auto slideshow off)?

Re: Click embedded gallery to go to URL

If that only works though on the main image once the gallery is opened then it's not quite what I am looking for.

The solution above will work when clicking on a main image in a gallery (whether AutoPlay is on or off and whether or not the gallery is expanded).
I hope this clarifies things (and is something like what you are trying to achieve).

Alternatively, if you want to turn an element on a web page into a link, then you could try using the jQuery .on() 'click' function to redirect the browser to a specific web page (using window.location.href) when the element is clicked.