Hello and welcome to our community! Is this your first visit?
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    New to the CF scene
    Join Date
    Aug 2009
    Thanked 0 Times in 0 Posts

    I want to call big image on mouse over of small other image

    I want to show small image and on mouseover i want to show other big image on small image (not as tooltip or not zoom).

    Suppose, my small image is in left-top then big image and small image's left top should be same.

    Same way, if small image in right-bottom of page then big image's right-bottom should be same as small image's right-bottom.

    (You may have seen that ads by kontera and adbrite text rollover ads, those ads will be displayed in always in screen. if text is at right border of screen then ads will be in left side and same for all sides.)

    Please let me know is there any jquery/dojo/scriptaculous script which can do this?
    Last edited by osmaster; 08-26-2009 at 01:35 PM.

  2. #2
    UE Antagonizer Fumigator's Avatar
    Join Date
    Dec 2005
    Utah, USA, Northwestern hemisphere, Earth, Solar System, Milky Way Galaxy, Alpha Quadrant
    Thanked 637 Times in 625 Posts
    In jQuery you can use the hover() function to simply change the "src" attribute of the <img> tag to show the big image. This requires separate thumbnail and big images. You could also change the width and height attributes but that will look terrible.


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts