Loading ...
Sorry, an error occurred while loading the content.

get linkID

Expand Messages
  • rupnaldo
    Hi, I#ve the problem to get the actual linkID. But at the moment Ive no idea, how i can do this, because I wanna ad a class active to the active link.
    Message 1 of 1 , Sep 30 1:23 PM
    • 0 Attachment
      Hi,

      I#ve the problem to get the actual linkID. But at the moment Ive no
      idea, how i can do this, because I wanna ad a class active to the
      active link.

      <div id="nav">
      <ul>
      <li class="first"><a class="active" href="?section=home">Home</a></li>
      <?php foreach ($this->data AS $item ):?>
      <li><a
      href="?section=<?=$item['nav_url'];?>"><?=$item['nav_linkname'];?></a></li>
      <?php endforeach;?>
      <li class="end"> </li>
      </ul>
      </div>

      Thanks
      Regards
      Mic
    Your message has been successfully submitted and would be delivered to recipients shortly.