AdonaiEchad wrote:
> Is there a way to make the current show up for both the
LOMMI Info tab as well
> as lets say when you are on the Affiliates page? If the
affiliates is selected
> can the above parent folder be under current as well? Is
this possible?
Yes, but you can have only one instance of an ID on the page.
So you
need to have two separate IDs or use a class instead.
<a href="/lommiinfo/index.php"
<?php
$path = $_SERVER['SCRIPT_NAME'];
$parts = pathinfo($path);
if($path == '/lommiinfo/index.php' || $parts['dirname'] ==
'lomiinfo') echo 'class="current"'; ?>>LOMMI
Info</a>
--
David Powers, Adobe Community Expert
Author, "Foundation PHP for Dreamweaver 8" (friends of ED)
Author, "PHP Solutions" (friends of ED)
http://foundationphp.com/