How is this done?
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...
If you rightClick and view the source, you will see the code the site uses -- onmouseover
Vinnie - he's talking about the permanent orange color on the currently viewed nav selection (at the top)
They just use a CSS class, "mainMenuSelected"
Yes beetle...THAT IS WHAT I'm looking for ... so How I could do that ...
/* The main menu selected colors */
font-family: Verdana, Tahoma, Arial, Helvetica, sans-serif;
and what else
<a href="/" class="mainMenuSelected">Home</a>
to have this above
on every click on navbar section.
WHEN YOU ARE click on different section pageosurce is always different with
<a href="/" class="mainMenuSelected">home or about us or links or etc...
No...If I could do this on another way...css...any suggestions
Well, half of the solution is going to be CSS. The other half (applying that CSS) is up to you. As I see it, you pretty much have 3 choices
1) Hard-code it into the HTML for every page
3) Use a server-side (PHP, ASP, etc) program to code it into the HTML (same as #1, but a dynamic environment).
hey beetle (or anybody else) any suggestions for php+css solution ....