Go Back   CodingForums.com > :: Client side development > JavaScript programming > JavaScript frameworks

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 08-26-2009, 12:24 PM   PM User | #1
osmaster
New to the CF scene

 
Join Date: Aug 2009
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
osmaster is an unknown quantity at this point
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 12:35 PM..
osmaster is offline   Reply With Quote
Old 08-26-2009, 04:27 PM   PM User | #2
Fumigator
UE Antagonizer


 
Fumigator's Avatar
 
Join Date: Dec 2005
Location: Utah, USA, Northwestern hemisphere, Earth, Solar System, Milky Way Galaxy, Alpha Quadrant
Posts: 7,686
Thanks: 42
Thanked 637 Times in 625 Posts
Fumigator is a glorious beacon of lightFumigator is a glorious beacon of lightFumigator is a glorious beacon of lightFumigator is a glorious beacon of lightFumigator is a glorious beacon of light
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.
__________________
Fumigator is offline   Reply With Quote
Reply

Bookmarks

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 11:03 AM.


Advertisement
Log in to turn off these ads.