SitePoint Sponsor

User Tag List

Results 1 to 2 of 2
  1. #1
    SitePoint Enthusiast
    Join Date
    Apr 2012
    Posts
    96
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    setting active link

    I'm not exactly sure how to approach this, but basically my question is in the title, I wanting to set my current navigation link as active, I know how to do it CSS wise, but my pages are not static... So that won't work (from what I thought anyway)

  2. #2
    It's all Geek to me silver trophybronze trophy
    ralph.m's Avatar
    Join Date
    Mar 2009
    Location
    Melbourne, AU
    Posts
    23,622
    Mentioned
    413 Post(s)
    Tagged
    7 Thread(s)
    Not exactly sure what you mean by not being static (the key, I guess, is that they are predictable).

    Anyhow, you can also do t with JavaScript or with PHP.

    Those are just two examples. If you have a CMS, it's often even easier.


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
  •