SitePoint Sponsor

User Tag List

Results 1 to 2 of 2
  1. #1
    SitePoint Enthusiast
    Join Date
    Apr 2012
    0 Post(s)
    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
    Melbourne, AU
    448 Post(s)
    8 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.
    Facebook | Google+ | Twitter | Web Design Tips | Free Contact Form

    Forum Usage: Tips on posting code samples, images and more

    Forrest Gump: "IE is like a box of chocolates: you never know what you're gonna get."


Posting Permissions

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