Hi,
I have searched EVERY WHERE. Posted this question on many different forums and not one person is replying. I really hope someone will be able to help me here as I'm getting quite stressed about it!
I need to create a rollover image menu. So far I have done this. BUT I also need the background image to change too, not just the rollover image. IS this possible? It doesn't have to be the background image that changes, it can just be an image floated right which changes. Although the background image would be more ideal.
If someone could just point me in the right direction or let me know if it is indeed possible?? I would so greatly appreciate it!!
1 reply to this topic
#1
Posted 18 April 2011 - 05:40 AM
|
|
|
#2
Posted 19 April 2011 - 07:46 AM
It would help if we could see the code you already have.
How are you changing the image when you rollover? Is this through Javascript or CSS.
If you are using CSS then the following should work:
How are you changing the image when you rollover? Is this through Javascript or CSS.
If you are using CSS then the following should work:
<style>
a.testLink {
background-image: url(normal.jpg);
}
a.testLink:hover {
background-image: url(onhover.jpg);
}
</style>
1 user(s) are reading this topic
0 members, 1 guests, 0 anonymous users


Sign In
Create Account

Back to top









