View Single Post
  #2  
Old 01-29-2009, 08:17 AM
 
PhilJ PhilJ is offline
 

X-Guru
  
Join Date: Nov 2002
Posts: 4,094
 

Default Re: Speedbar IF statement

Within...
Code:
{section name=sb loop=$speed_bar} ... {/section}
Use...
Code:
{if $smarty.section.sb.first} class="first_style"{/if}
And...
Code:
{if $smarty.section.sb.last} class="last_style"{/if}
__________________
xcartmods.co.uk
Reply With Quote