Forum Moderators: not2easy

Message Too Old, No Replies

How is this done?

         

japaja

2:05 pm on Aug 4, 2003 (gmt 0)

10+ Year Member



At [gospelcom.net...]
You could find "navbar" which is "active" (with orange color) when You are visiting that specific section?

How could I do that as is on that site...

I'm talking about the permanent orange color on the currently viewed nav selection (at the top)

/* The main menu selected colors */
.mainMenuSelected {
color: #FF9933;
font-weight: bold;
font-family: Verdana, Tahoma, Arial, Helvetica, sans-serif;
font-size: 10px;
text-decoration: none;
}
.mainMenuSelected:visited {
color: #FF9933;
}
.mainMenuSelected:hover {
color: #cc6600;
text-decoration: none;
}

and what else
<a href="/" class="mainMenuSelected">Home</a>

to have this above
<a href...
on every click on navbar section.

cos

WHEN YOU ARE click on different section page source is always different with
<a href="/" class="mainMenuSelected">home or about us or links or etc...

DrDoc

2:36 pm on Aug 4, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Welcome to Webmaster World!

This affect is not accomplished using CSS only. You need some form of server side scripting language, like PHP.

japaja

12:35 pm on Aug 6, 2003 (gmt 0)

10+ Year Member



ok then any advices for php+css solution for this?

Spook

1:29 pm on Aug 6, 2003 (gmt 0)

10+ Year Member



Hi

Isn't this the effect you are looking for discussed here [kicks in around msg 15 posted by keimano tokoyami:

[webmasterworld.com...]

Or have I missunderstood?

Spook