Next Gen Gallery back/next links scrolls to top of page
-
The solutions I saw for this didn’t work so thought I’d post what did which is also a bit simpler.
Open view/imagebrowser.php
Add an anchor tag at top
Append a hash tag to the back and next link php<a name="pictop"></a> <div class="ngg-imagebrowser" id="<?php echo $image->anchor ?>"> <a class="ngg-browser-prev" id="ngg-prev-<?php echo $image->previous_pid ?>" href="<?php echo $image->previous_image_link ?>#pictop">
The anchor can be anything and works because the url changes to the new picture id.
- The topic ‘Next Gen Gallery back/next links scrolls to top of page’ is closed to new replies.