When you click the site above, you will see one of the links starts off red. When you click another link, the first link goes back to black and the newly clicked link turns red. Can I do this in Dreamweaver? I'm not talking about when the links turn red due to hovering...just when clicking through. Thanks so much!
Re: link color question by Fernando Mol on Oct 1, 2010 at 3:29:06 pm
Theoretically, you can go page after page and color your actual page link, but in the site you posted there are tons.
I you know some server side programming language, you could compare the linked page to the actual page and if there's a match, then add a class that colors the link. If you do this in an include you'll need to do it only once.
This would be an example of a PHP function that does that:
Re: link color question by zachary zezima on Oct 2, 2010 at 3:11:32 pm
I've never used a PHP function or a list before? I tried searching for more info on php functions to figure out how to use your code, but I'm not really understanding how to make it do what I want. Any tips? Thanks a lot!!