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.

Recommended Answers

All 4 Replies

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?

Thanks.

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.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.