I’m attempting to integrate the wonderful drop-line menu from Stu Nicholls ( found here) but it’s not updating the selected tab as current when clicked on. In other words the default state of a tab is gray but when it’s the currently selected tab, it changes to blue. This is supposed to happen thanks to PHP as per Stu’s description:
...the page will reload with your selection as the current highlighted choice.
This is done using php to read the query string and write the ‘current’ and ‘current_sub’ classes into the chosen link and sub-link when the page is reloaded.
Inside the menu, a top-level link should look something like this (with the string after the ? hard-coded into each link):
<a href="test.html?current=one&sub=none">I believe the problem is that EE links don’t have the .php or .html at the end and are more along the lines of:
<a href="mysite.com/index.php/sports/football_winner_takes_all">so if I were to follow his rules of hard-coding the string into each link, the above would look like:
<a href="mysite.com/index.php/sports/football_winner_takes_all?current=one&sub=none">which doesn’t work (obviously).
I know this is getting pretty far away from EE but I’m in love with this menu and all I have left is to figure this one bit out!