Not signed in (Sign In)

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

    • CommentAuthormac
    • CommentTimeJul 10th 2009
     
    hi!
    any one know how to keep the photos in ceneter of the screen when the next or previous link is clicked right now when someone is looking through the album and they click next it brings them to the top of the page and they need to scroll down to see the pix ... any advice one how it should bring them back to the picture automatically? maybe with a anchor or something??
    • CommentAuthormac
    • CommentTimeJul 12th 2009
     
    any one any ideas plz?
    •  
      CommentAuthorsidtheduck
    • CommentTimeJul 13th 2009
     
    Do you have a link to your page, mac?
    Thankful People: pandianbe, mac
    • CommentAuthormac
    • CommentTimeJul 14th 2009
     
    thanx link is here http://www.campmesorah.com/photo_album/
    • CommentAuthormac
    • CommentTimeJul 15th 2009
     
    anyoneee
    •  
      CommentAuthorsidtheduck
    • CommentTimeJul 16th 2009
     
    mac,

    Look for something akin to this in your theme files' picture.php file:
    <table id="prev-next-table">
    <tr>
    <td id="prev-link-container">
    <?php echo plogger_get_prev_picture_link(); ?>
    </td>
    <td id="next-link-container">
    <?php echo plogger_get_next_picture_link(); ?>
    </td>
    </tr>
    </table><!-- /prev-next-table -->

    And try changing it to this:
    <table id="prev-next-table">
    <tr>
    <td id="prev-link-container">
    <a accesskey="," href="<?php echo plogger_get_prev_picture_url(); ?>#big-picture-container">&laquo; Previous</a>
    </td>
    <td id="next-link-container">
    <a accesskey="." href="<?php echo plogger_get_next_picture_url(); ?>#big-picture-container">Next &raquo;</a>
    </td>
    </tr>
    </table><!-- /prev-next-table -->


    Or it may look like this:
    $prev_link = plogger_get_prev_picture_link();
    $next_link = plogger_get_next_picture_link();

    print ' <table style="width: 100%;">
    <tr>
    <td id="prev-link-container">
    '.$prev_link.'
    </td>
    <td id="next-link-container">
    '.$next_link.'
    </td>
    </tr>
    </table>';

    And you change it to this:
    $prev_link = '<a accesskey="," href="'.plogger_get_prev_picture_url().'#big-picture-container">&laquo; Previous</a>';
    $next_link = '<a accesskey="." href="'.plogger_get_next_picture_url().'#big-picture-container">Next &raquo;</a>';

    print ' <table style="width: 100%;">
    <tr>
    <td id="prev-link-container">
    '.$prev_link.'
    </td>
    <td id="next-link-container">
    '.$next_link.'
    </td>
    </tr>
    </table>';


    That should hopefully work for you.
    • CommentAuthormac
    • CommentTimeJul 19th 2009
     
    wow ausome thnx worked like a charm