Jump to content

CSS Rollovers Question


Pangloss

Recommended Posts

I have a situation where I've got a menu and a small picture area at the top of the menu. In the old design I've got a standard javascript that changes the mouse button and the small picture when the mouse rolls over the button. I'd like to see if I can get rid of all the javascript, though, and just use CSS for the rollovers.

 

I know roughly how to do the CSS rollovers, so the buttons themselves will change. But I can't quite figure out a way to get the picture to change in the small picture area above the menu.

 

Any suggestions would be appreciated. It's not a huge problem if I have to continue to use the javascript rollover method, I'm basically just wondering if it's possible to get rid of it entirely. This is more of an experiment/education thing than a customer requirement.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.