Jump to content

CSS Rollovers Question

Featured Replies

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.

  • Author

Ooo that's a nice writeup. Thanks Dave! :)

Archived

This topic is now archived and is closed to further replies.

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.

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.