Return to Snippet

Revision: 1424
at October 6, 2006 04:31 by deadmoon


Initial Code
<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>

Initial URL

                                

Initial Description

                                

Initial Title
top nav auto highlight

Initial Tags

                                

Initial Language
PHP