Results 1 to 1 of 1

Thread: Curious Highlighting Problem with Smooth Navigational Menu (v1.31)

  1. #1
    Join Date
    Oct 2009
    Thanked 0 Times in 0 Posts

    Talking Curious Highlighting Problem with Smooth Navigational Menu (v1.31)

    I'm currently using Smooth Navigational Menu (v1.31) for a site I'm developing. It's a beautiful piece of work, but I'm running into an odd glitch. I'm also using PHP to highlight the current menu item, for example:

    HTML Code:
    <li><a href="pageOne.php" <?php if ($pageName=="pageOne") echo 'class="selected"'; ?>>Page One</a>
    When I load up the page, it looks great, but after I hover and then move the mouse away, the menu retracts, and the highlight disappears.

    I'm guessing it's something in the Javascript which causes it to revert to a non-highlighted state, hence my reason for posting in the JS forum. What do you guys think?

    UPDATE: Nevermind, I thought of a workaround that didn't involve messing with the javascript! This thread can be closed now.
    Last edited by egoodrich; 10-21-2009 at 05:23 PM. Reason: update


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts