1 (edited by alo 2011-08-30 11:48:57)

Topic: Direct linking not working......


I've done my best to follow the advise on this forum and I am still unable to directly go to [i.e.] image number 2 in my gallery.

A hidden dummy is here :


once the thumbnail page has loaded if I click on the first image, it goes to the svp gallery image number 1. clicking on the second one brings up
http://www.al-overdrive.com/testing/06/gallery.html#2 in the address bar when but shows image 1. Likewsie, I am unable to make the image change by chanign the url as works for the online example.

I've ensured I removed the show image = "0" , but I still have this problem.

Is there a piece of code I'm missed out to allow the browser to "find" http://www.al-overdrive.com/testing/06/gallery.html#2 ?


Thanks Al

Re: Direct linking not working......

Remove the following code from the <body> of your page:

    <script type="text/javascript" src="svcore/js/simpleviewer.js"></script>
    <script type="text/javascript">
    jQuery(document).ready(function () {
        SV.simpleviewer.load('sv-container', '100%', '100%', '000000', true );

Your embedding code with the direct link functionality is already in the <head> section of your page and the code above loads a new gallery into the 'sv-container' <div> immediately afterwards (without the direct link functionality, defaulting to image #1).

Steven Speirs
SimpleViewer Support Team

3 (edited by alo 2011-08-30 13:17:38)

Re: Direct linking not working......


Thanks for the swift reply :)