nymyth
08-10-2007, 10:47 AM
I run a sports forum and have a tabbed menu system at the top.
The tab is highlighted when you are on a specific script.
So if you are on the home page I have this
<if condition="THIS_SCRIPT == 'adv_index'"><a href="http://www.nysports365.com" class="tab2">Home</a><else /><a href="http://www.nysports365.com" class="tab" id="active">Home</a></if>
HOWEVER, I have just created another page using vbadvanced for standings but when you click on standings it only highlights the Home button, because I am using adv_index script.
My question is, is there someway where my if clause can change so when you click on the standings tab, the standings tab is highlighted not the home tab.
I hope this is clear....u see it live at www.nysports365.com
THANKS.
The tab is highlighted when you are on a specific script.
So if you are on the home page I have this
<if condition="THIS_SCRIPT == 'adv_index'"><a href="http://www.nysports365.com" class="tab2">Home</a><else /><a href="http://www.nysports365.com" class="tab" id="active">Home</a></if>
HOWEVER, I have just created another page using vbadvanced for standings but when you click on standings it only highlights the Home button, because I am using adv_index script.
My question is, is there someway where my if clause can change so when you click on the standings tab, the standings tab is highlighted not the home tab.
I hope this is clear....u see it live at www.nysports365.com
THANKS.