Advertisement
If you have a new account but are having problems posting or verifying your account, please email us on hello@boards.ie for help. Thanks :)
Hello all! Please ensure that you are posting a new thread or question in the appropriate forum. The Feedback forum is overwhelmed with questions that are having to be moved elsewhere. If you need help to verify your account contact hello@boards.ie

image enlarge

Options
  • 21-05-2009 12:03pm
    #1
    Registered Users Posts: 1,855 ✭✭✭


    Hi. I've been looking for a few days for this but havn't found anything.

    I'm looking for a script/css that enlarges an image when clicked or on mouseover, without having to place code in the head section of a webpage(because I don't have access to the head with this).

    Anyone know of one? Thanks.


Comments

  • Closed Accounts Posts: 18,163 ✭✭✭✭Liam Byrne


    http://dev.herr-schuessler.de/examples/jquery-popeye-1-0/

    While it's best to load all major scripts in the head of a page, jQuery can allow you to add the scripts and the required $(document).ready at any point in the page.


  • Registered Users Posts: 1,855 ✭✭✭nd


    Awesome, thanks.


  • Registered Users Posts: 2,119 ✭✭✭p


    search for lightbox scripts.


  • Registered Users Posts: 215 ✭✭steamboat


    Also, Hoverbox might suit your needs (css based)... sample here:

    http://host.sonspring.com/hoverbox/

    I found it's pretty good if used in conjunction with ligthtbox (enlarge with mouseover, then full size lightbox when clicked)... e.g... http://www.riratheband.com/photogallery/index.php


  • Closed Accounts Posts: 18,163 ✭✭✭✭Liam Byrne


    Just beware of the lightweight versions that show the larger image scaled down (using the same image source) as the thumbnail; not only will the thumbnail look blocky, but the page will take forever to load.

    Having separate sources or server-side resampling using PHP is the way to go.


  • Advertisement
Advertisement