/ Published in: PHP

Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
<div id="horiznav"> <ul> <?php function highlight($a) { global $sec; if ($sec == $a) { echo " id=\"current\""; } } ?> <li><a href="http://kates-playground.info/"<?php highlight(1); ?>>Home</a></li> <li><a href="http://kates-playground.info/kates-playground-news.php"<?php highlight(2); ?>>Kates Playground News</a></li> <li><a href="http://kates-playground.info/kates-playground-naked.php"<?php highlight(3); ?>>Kates Playground Naked</a></li> <li><a href="http://kates-playground.info/kates-playground-pics.php"<?php highlight(4); ?>>Kates Playground Pics</a></li> <li><a href="http://kates-playground.info/kates-playground-vids.php"<?php highlight(5); ?>>Kates Playground Vids</a></li> <li><a href="http://kates-playground.info/sitemap.php"<?php highlight(7); ?>>Sitemap</a></li> <li><a href="http://kates-playground.info/seemore.php"<?php highlight(6); ?>>Official Site</a></li> </ul> </div>
Comments
