Log in

View Full Version : Want one item in Navbar to be different color in unclicked state


Cebby
03-06-2006, 07:09 PM
Is there a way to do this? I just want one of my Navbar items to be red so it stands out. Do I need to create a new class?? Also curious about making one bit of text blink in the Navbar.

Princeton
03-06-2006, 09:02 PM
-- create a new class
-- edit navbar template to reflect new class

if you don't know about CSS just use
style="background-color:#FF0000"

the above inline style will override the backgroud color but keep the other class attributes (the existing navbar class)

Cebby
03-06-2006, 09:07 PM
-- create a new class
-- edit navbar template to reflect new class

if you don't know about CSS just use
style="background-color:#FF0000"

the above inline style will override the backgroud color but keep the other class attributes (the existing navbar class)

Thanks! I'm assuming I can use font-color to change just the font (instead of the bg) in the same way?

I worked around this by removing the vbphrase info and just used normal text with <font color> and <blink> around the text. Is there a way to make vbphrases blink or do I need to stick with my workaround?

I added the blink code in a long time ago to give the ability to blink the text, but I don't remember where I put it ;)

Princeton
03-06-2006, 09:16 PM
I'm not a supporter of "blink". You are asking the wrong person.
-- "blink" is not supported by all browsers
-- do not use the <font> tag ... use <span style="">text</span>

Why not use an animated image?

Cebby
03-06-2006, 09:32 PM
Hadn't thought of an animated image. That is definitely a good option - and if blink doesn't work for all browsers, a good way to make sure it is supported universally. I haven't plugged any graphics into the Navbar before, is it a simple process?

So for my font color, would the code be:

<span style="font-color:#FF0000">text</span>
?

Thanks again for your help!

Princeton
03-06-2006, 10:01 PM
<span style="color:#FF0000">text</span>

Cebby
03-06-2006, 10:05 PM
Thanks!!