January 30th, 2013, 07:22 AM
Oh please help - simple link colour change
Using frames - Trying to make my navigation links in the top frame a different colour when the page is active, i.e. you click on ABOUT from a list in the top frame, the main frame changes to the About page, and the ABOUT link changes colour whilst you are on that page.
Help for a beginner would be appreciated - i.e. simpler the better!
I have been messing around with classes, body tags and lots of other things I don't really understand, for what seems like forever.
Trying to basically do the first suggestion on this tutorial -
The guy (or girl) says this....
"The only thing you have to make sure of is that the location of the class gets changed depending on the page you’re on. For example, the HTML shown above would appear on the “Products” page, but on the “Contact” page the “current” class would be moved to the “Contact” link."
...but doesn't explain how to do it! Which is the difficult bit?!
January 30th, 2013, 07:55 AM
That having been said, if you are just learning HTML, frames is a bad place to start. They are obsolete in HTML 5 and discouraged in prior releases.
There are 10 kinds of people in the world. Those that understand binary and those that don't.
January 30th, 2013, 08:19 AM