1 reply [Last post]
mikemakesthings
mikemakesthings's picture
User offline. Last seen 1 year 37 weeks ago. Offline
newbie
Timezone: GMT-5
Joined: 2010-09-03
Posts: 1
Points: 2

I am working on the navigation of this site:

http://www.meetatollies.com/home

Notice the nav bar on the left side. I built all of those buttons using the standard one image - shift background position method. Home is set to appear selected to start to show where you are. What I want to happen is, when I rollover one of the other options, I want the home button to change (essentially changing its background position). If I were to roll off of the nav buttons completely (or back over home), it would return to its normal state (home blue, the rest brown). It seems so easy in my mind, but I can't seem to translate it to code. I can provide my current css, but its pretty simple stuff. I just didn't know if anyone had done something like this before. I've searched and searched and found nothing.

Hugo
Hugo's picture
User offline. Last seen 16 hours 49 min ago. Offline
rank Moderator
Moderator
Timezone: GMT+1
Joined: 2004-06-06
Posts: 15197
Points: 2300

This isn't something that

This isn't something that would normally be seen, the page 'selected' or 'current' highlight is not normally changed because another link item is rolled over, you are still on the 'Home' page!

If you really want to do this you will have to approach it via scripting to change the state of classes assigned to link elements.

Before you make your first post it is vital that you READ THE POSTING GUIDELINES!
----------------------------------------------------------------
Please post ALL your code - both CSS & HTML - in [code] tags
Please validate and ensure you have included a full Doctype before posting.
Why validate? Read Me