![]() |
|
#1
|
|||
|
|||
|
I'm adding some custom tabs in my navbar template, but am unable to have a tab show up as 'selected' when using the following conditional:
Code:
<vb:if condition="THIS_SCRIPT == 'adv_index' AND $pages['name'] == 'home'">
<li class="selected"><a class="navtab" href="http://www.myforum.com/forums/home.php?pageid=home">Network</a>
{links and menus here}
</li>
<vb:else />
<li><a class="navtab" href="http://www.myforum.com/forums/home.php?pageid=home">Network</a></li>
</vb:if>
|
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| THIS_SCRIPT & pages | Dragonsys | "How Do I..." Questions | 2 | 03-30-2012 11:17 AM |
| THIS_SCRIPT(or even forum)-specific modules on integrated pages? | jw0ollard | "How Do I..." Questions | 3 | 01-06-2008 01:13 PM |
| Custom Pages and templates not working after upgrade | RichBoy67 | Troubleshooting & Problems | 14 | 08-08-2007 03:35 PM |
| How do I manually delete cmps pages that are templates? | tercede | "How Do I..." Questions | 1 | 02-15-2006 02:52 PM |
| pages based on templates will not show | tpr | Troubleshooting & Problems | 1 | 10-14-2005 01:08 PM |