Support » Plugin: NextGEN Gallery - WordPress Gallery Plugin » [Plugin: NextGEN Gallery] Slideshow Page Position

  • Resolved roostertail


    After creating and displaying a gallery it offers, on the page itself, the option to start a slideshow. When I click on this option I return to the top of the page and have to scroll down to watch the slideshow.

    Is there a way to stay in the original position where I was before I pushed the slideshow option?

    Thanks, Nick

Viewing 6 replies - 1 through 6 (of 6 total)
  • tizz


    Is this resolved? In which way?

    When I click on the option for slideshow, page return to the top and I have to scroll down to watch the slideshow.

    Was the same with images viewed in shutter, but for this I found the solution.

    There’s a way to remain at the same place, everytime we open gallery or slideshow?



    The problem here is, that the slideshow Link has href="#" which is an anchor for the top of the page. I guess that an onclick="do_something();return false;" should solve this problem and leave the href empty.

    PS: do_something(); is just a placeholder for whatever slideshow-function will be executed by that link… just add the return false; after it and everything should work as expected.



    Hi Daluxe, thanks very much for your reply!
    I understand in theory, but in practice I don’t know where to change, in which file.
    I looked in nggfunctions.php, but I haven’t found nothing with “onclick”. So I looked in shutter-reloaded.js and I have found some “onclick”, but all of them already have “return false”, except for this three:

    case 39:
    			if (prevlink) prevlink.onclick();
    		    case 37:
    			if (nextlink) nextlink.onclick();
    		    case 27:
    			if (closelink) closelink.onclick();

    and for this:

    D.innerHTML = '<div id="shWrap"><img src="'+shutterLinks[ln].link+'" id="shTopImg" title="' + t.msgClose + '" onload="shutterReloaded.showImg();" onclick="shutterReloaded.hideShutter();" />' + NavBar +'</div>';

    So I added return false; after onclick="shutterReloaded.hideShutter();" but nothing happens, I think it’s not the right place.

    P.S.: For the images (picture list) I have changed in shutter-reloaded.js = ''; in = 'hidden'; and it works.



    I can’t believe that no one else has this problem or the solution.
    It happens with different browsers.
    Well, if you have a page only with slideshow or gallery isn’t a big problem, but if you have slideshow at the article’s bottom, it’s so annoying.

    I am trying, in Dashboard>Pages, to postion my Nextgen slide show on the right side of the page. I can move the [slideshow id=1] note to the right side of the page with the Align buttton, but that does not move the slide show itself (in the browser) to the right side. How can I do this?

    to stop nextgen plugin imagebrowser jumping to the top of page, see the solution here:

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘[Plugin: NextGEN Gallery] Slideshow Page Position’ is closed to new replies.