Not signed in (Sign In)

Vanilla 1.1.10 is a product of Lussumo. More Information: Documentation, Community Support.

    • CommentAuthorTerje
    • CommentTimeMar 30th 2006
     
    I was looking for a code that placed the pics at yhe yop in browser window when I click the Prev/Next link.
    It is realy simple ;)

    Find this line in gallery.php

    $prev_link = '<a accesskey="," href="'.generate_url("picture",$image_list[$current_picture-1]).'">&laquo; Previous</a>

    After </a> put in

    <a name="slide">&nbsp;</a>

    Then put in

    #slide

    In the Prev/Next links ( <a accesskey="." href="'.generate_url("picture",$image_list[$current_picture+1]).'#slide">)