This is a discussion on "Swap Background Image on Hover" within the Web Page Design section. This forum, and the thread "Swap Background Image on Hover are both part of the Design Your Website category.
|
|
|
|
|
![]() |
||
Swap Background Image on Hover
|
||
| Notices |
![]() |
|
|
LinkBack | Thread Tools |
|
|||
|
Swap Background Image on Hover
I would like to swap the background image using a:hover.
Problem is the background-image is in a separate layer to the roll over image. SO the effect would be the same as using onMouseOver: SwapImage javascript on an image link, and setting it to change another image. How can I achieve this in CSS ? |
|
|
|
||||
|
Re: Swap Background Image on Hover
in a word, no.... unless it's on the same layer. If using other than Internet Explorer, you can also do it for child sibling layers.
__________________
Rob - SEO Specialist Owner & Founder of Webforumz.com I am currently unavailable for private work
Last Blog Entry: Creative Labs threaten developer over home made drivers.... (Apr 1st, 2008)
|
![]() |
| Tags |
| swap, background, image, hover |
| Thread Tools | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| image swap | Lelouch | JavaScript Forum | 4 | Sep 18th, 2007 15:54 |
| Text/image swap | LorEye | Website Planning | 2 | May 19th, 2007 17:43 |
| swap more than 1 image on hover | apos | JavaScript Forum | 2 | May 9th, 2007 17:12 |
| CSS Image swap issue | Accurax | Web Page Design | 18 | Oct 15th, 2006 01:39 |
| a:hover background chnage | gribble | Web Page Design | 1 | Aug 12th, 2005 19:29 |