Gu3st...
2010-05-06 12:41:25
I have made a div named "menu" and a class inside menu that is named active
In the div="menu" part I have links to different sites and I want one of the links to be "active" (turn <a href="…"> into <a class="active">)
I have a file named menu.php which include all the links I need, so I just use the include procedure to include them in my code.
How do I make the code show the current link as active, while using menu.php?
I've though about using GET or POST commands, but is there a easier way to do it?
In the div="menu" part I have links to different sites and I want one of the links to be "active" (turn <a href="…"> into <a class="active">)
I have a file named menu.php which include all the links I need, so I just use the include procedure to include them in my code.
How do I make the code show the current link as active, while using menu.php?
I've though about using GET or POST commands, but is there a easier way to do it?