
09-01-2007, 12:41 AM
|
|
|
Join Date: Nov 2006
Location: NYC
Posts: 649
Благодарил(а): 0 раз(а)
Поблагодарили:
0 раз(а) в 0 сообщениях
|
|
Quote:
Originally Posted by ElfMage
Cool. Glad you got it working.
Try the following. I am assuming that tabpage is the class for the active tab. What it does is to highlight the Forums tab only if you are not in the wiki nor in the vbAdvanced Home.
PHP Code:
<a href="#" onclick="window.open('/forum/javachat.php?$session[sessionurl]do=lite','javachat','statusbar=no,menubar=no,toolbar=no,scrollbars=no,resizable=yes,directories=no,width=750,height=550,left=50,top=100,screenX=50,screenY=100'); return false;" class="tab">Chat</a>
<a href="http://www.quantnet.org/wiki/" class="<if condition="THIS_SCRIPT == 'vbwiki'">tabpage<else />tab</if>">Wiki</a>
<a href="http://www.quantnet.org/forum/" class="<if condition="(THIS_SCRIPT != 'vbwiki') && (THIS_SCRIPT != 'adv_index')">tabpage<else />tab</if>">Forum</a>
<a href="http://www.quantnet.org/" class="<if condition="THIS_SCRIPT == 'adv_index'">tabpage<else />tab</if>">Home</a>
|
A follow up question on this. I like to add a Tab for Blogs between Wiki and Forum. Can you please help me so that the Blog tab will be highlighted when only on /forum/blog.php page.
Thanks very much
|