Reply LinkBack Thread Tools Search this Thread
Old 07-04-2008, 12:50   #1 (permalink)
Tumain
Registered User
 
Tumain's Avatar
 
Join Date: Sep 2007
Posts: 3
Hover over one image and change other image

I'm just wondering how would I create an effect for a banner. For example you would have small images on the right and a big image on the left. When you hover over the small images they would change the big image.

An example can be seen here: officialnintendomagazine . co . uk

I'd like to use this in a future website design.

Thankyou in advance.
  Reply With Quote
Old 07-04-2008, 19:37   #2 (permalink)
haku
shiro
 
haku's Avatar
 
Join Date: Aug 2007
Location: Yokohama, Japan
Posts: 2,084
Code:
.img_a:hover .img_b { background: url(path/to/rollover_image.jpg); }

Using the above will set the background image of the element with classname .img_b to roll_over image when the mouse is overtop of the element with the classname .img_a
  Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search


Contact Us - Web Design Forums - Archive - Top
Search Engine Optimization by vBSEO 3.0.0 RC8