LemonStand Forum: Can "Current Tabs" have more than one variable? - LemonStand Forum

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Can "Current Tabs" have more than one variable?

#1 User is offline   Beats 

  • Member
  • PipPipPip
  • Group: Members
  • Posts: 193
  • Joined: 18-January 11

Posted 02 February 2012 - 09:20 AM

Hello,

Can a current tab have more than one variable?

For example. if I have a page located in: www.example.com/instructions/directions, can the current_tab coding list both "instructions" and "directions"

something like this:
<li <? if (isset($current_tab) && $current_tab == 'instructions' 'directions'): ?>class="current"<? endif ?>>


The reason being is that I want to apply the class current to both links that are shown, but they are in 2 separate locations.

Thanks!
Beats
0

Share this topic:


Page 1 of 1

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users