View Single Post
  #6  
Old 02-22-2005, 05:17 PM
 
Serra Serra is offline
 

Member
  
Join Date: Dec 2004
Posts: 26
 

Default

The first thing I do is remove those tabs. Waste of time. Boxes are better
http://www.promotingoutstandingwriters.com/xcart/customer/home.php

The code breaks it into two lines. Note very sharp programming, but it works.


Code:
<table border=0 cellpadding=0 cellspacing=0> {if $speed_bar} <tr> <td valign=top align=right> <table border=* cellpadding=0 cellspacing=0> <tr> {section name=sb loop=$speed_bar} {if $speed_bar[sb].active eq "Y"} <td>{include file="customer/tab.tpl" tab_title="`$speed_bar[sb].title`"}</td> {if $smarty.section.sb.index ne 1 and $smarty.section.sb.index ne 3} <td width=1>[img]{$ImagesDir}/spacer.gif[/img]</td> {/if} {* uadded smarty loop to split line *} {if $smarty.section.sb.index==1} </tr> <tr> {/if} {/if} {/section} </tr> </table> </td> </tr> {/if} <tr> <td height=35 align=center class=HeadText> {if $config.Company.company_phone}{$lng.lbl_phone_1_title}: {$config.Company.company_phone}{/if}{if $config.Company.company_phone_2}{$lng.lbl_phone_2_title}: {$config.Company.company_phone_2}{/if}</td> </tr> </table>
__________________
Serra
Using X-Cart Gold 4.1.9
Reply With Quote