SitePoint Sponsor

User Tag List

Results 1 to 3 of 3

Hybrid View

  1. #1
    SitePoint Zealot
    Join Date
    Feb 2011
    Location
    The land of nod
    Posts
    153
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Active Navigation menu button feature needed .....

    Hi all,

    Im wanting the feature of the current navigation button to stay highlighted when clicked on, so this informs the user which page they are currently on.

    Im wanting to use Jquery , and after spending some time looking for a particluar plugin, I could not find one to suit, so if anybody knows of one, please post a link in this thread...

    p.s My navigation is a simple 4 button Nav, so theres no drop down menu`s etc.

    Thanks all

  2. #2
    SitePoint Enthusiast
    Join Date
    Sep 2009
    Posts
    53
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    You should be doing this on the server side (e.g. PHP/ASP) not the client side (Javascript).

    Javascript won't persist across page requests so once you click a menu item, and the page loads, all previous Javascript data that is in memory is lost.

  3. #3
    SitePoint Zealot
    Join Date
    Feb 2011
    Location
    The land of nod
    Posts
    153
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Hi thanks for replying back to the post,

    Ive actually just sorted it purely with standard CSS and nothing more. (It wasnt even CSS3!)


Bookmarks

Posting Permissions

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