View Single Post
  #2  
Old 03-18-2009, 08:18 AM
  Victor D's Avatar 
Victor D Victor D is offline
 

X-Adept
  
Join Date: Aug 2008
Posts: 643
 

Default Re: Sectioning the speed bar

skin1/customer/top_menu.tpl
Code:
{section name=sb loop=$speed_bar} {if $speed_bar[sb].active eq "Y"} {if $speed_bar[sb].orderby lte 70}{assign var=sbclass value="sbstyle1"} {else}{assign var=sbclass value="sbstyle2"}{/if} <td valign="top">{include file="customer/tab.tpl" tab_title="<a class=\"`$sbclass`\" href=\"`$speed_bar[sb].link`\">`$speed_bar[sb].title`</a>"}</td> <td width="1"><img src="{$ImagesDir}/spacer.gif" class="Spc" alt="" /></td> {/if} {/section}
and then in main.css
Code:
a.sbclass1{text-transform:uppercase} a.sbclass2{/*extra styles here*/}
__________________
Regards,
Victor Dubiniuk

X-Cart Skins Store
- twenty two different skins for 4.1.x and 4.2.x;
- 4.3.x compatible versions are available;
- refresh you store now!

Smart menu X-Cart add-on for 4.1.8 - 4.3.x
Featured Products Slide Show X-Cart add-on for 4.1.8 - 4.3.x
Reply With Quote