I have 5 buttons in my nav bar, Home, About, History, Gallery and Contact.
They are all image swaps.
How do I make it not swap when I'm on that page?
If I'm on the About page I don't want the image to swap when I scroll over the About button.
Thanks to anyone for the help.

8 Years
Discussion Span
Last Post by almostbob

If you're using CSS to do your rollovers, you might think about declaring a class WITH rollovers, and a class WITHOUT rollovers, for each button on your navigation bar. Then, you would simply change the class of the button that you wanted not to roll over.

Ex. Homepage nav bar

<div class="curHome">Home</div>
<div class="navAbout">About</div>
<div class="navHistory">History</div>
<div class="navGallery">Gallery</div>
<div class="navContact">Contact</div>

This was the 1st time I've used this forum and thanks for taking the time to respond.

I actually used 'swap image' through the 'behaviors' pallet. Would that be a different way to achieve what I'm looking for?



Behaviors pallet, huh? Sounds like you need to get your hands into the source, because your IDE may not allow you to tweak the behavior like that (and I don't know what you're using). If you post up the pages, I'll see if I can point you in the right direction.

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.