The Support Forums will be in read-only mode for a scheduled maintenance window on 01 September 2016 14:00 UTC - 20:00 UTC. More information.

Keep sidebar page slection pressed (5 posts)

  1. mastron
    Posted 9 years ago #

    What I like to do is the following. I have a button in the sidebar which has 2 states: normal and over. What I like to add is a pressed state. So, when somebody selects a page from the sidebar that it gives a feedback what page they are on.

    The site that its for is:


    Thanks in advance,


  2. deko
    Posted 9 years ago #

    I did this once with PHP. I used a variable in the URL to identify the request, then generated my HTML/CSS accordingly. If I were to do it again, I'd try giving my stylesheet a .php extension and put the logic there.

  3. mastron
    Posted 9 years ago #

    Hmm. Sounds like a sollution. But a complex one. My php skills are not that good but i'll give it a go.

    But isn't there an easier way to do it?

  4. mastron
    Posted 9 years ago #

    Anybody a better sollution?

  5. Les Bessant
    keeper of the Tiggers
    Posted 9 years ago #

    Matt's Intelligent Menus (http://photomatt.net/scripts/intellimenu/) might give you a starting point.

Topic Closed

This topic has been closed to new replies.

About this Topic