Thread: JavaScript menu
View Single Post
  #1  
Old 07-02-2003, 10:45 PM
 
barabbas barabbas is offline
 

Advanced Member
  
Join Date: Feb 2003
Posts: 52
 

Default JavaScript menu

im using x-cart 3.4.2. im wondering how to remove the javascript menu i have in my categories.tpl at www.mayhemcomputers.com.au .

i decided to change to a text menu so i did that and removed the code the included the java menu however the menu still loads and is covering up my banner. i have no idea why or how to fix it, i hope you guys can help

heres my old categoreis.tpl
(uses javascript menu)
Quote:

{* $Id: categories.tpl,v 1.18 2003/02/25 08:58:46 olga Exp $ *}

<TABLE border=0 cellPadding=2 cellSpacing=0 width=100%>

<TR>

<TD class=HeadBox background="{$ImagesDir}/leftheading.gif" style="background-repeat: repeat-x">
[img]{$ImagesDir}/dingbats_categorie.gif[/img]
<TD class=VertMenuTitle height=26 valign=center width="80%" background="{$ImagesDir}/leftheading.gif" style="background-repeat: repeat-x">
[b]<font color="ffffff">Categories</font></TD>



<tr><td colspan=2>



<a href="/">[b]&nbspHome
</a>
&nbspContact Details

</font>

<HR>
<div id="MayhemMenu" style="position: relative;width:100%;height:115;"></div>

</td></tr>

</TABLE>




and heres the categories.tpl im using now
Quote:
{* $Id: categories.tpl,v 1.18 2003/02/25 08:58:46 olga Exp $ *}

<TABLE border=0 cellPadding=2 cellSpacing=0 width=100%>

<TR>

<TD class=HeadBox background="{$ImagesDir}/leftheading.gif" style="background-repeat: repeat-x">
[img]{$ImagesDir}/dingbats_categorie.gif[/img]
<TD class=VertMenuTitle height=26 valign=center width="80%" background="{$ImagesDir}/leftheading.gif" style="background-repeat: repeat-x">
[b]<font color="ffffff">Categories</font></TD>



<tr><td colspan=2>

<a href="/">[b]&nbspHome
</a>
&nbspContact Details

</font>



<HR>


{if $config.General.root_categories eq "Y"}
{section name=cat_num loop=$categories}
{ $categories[cat_num].category|escape }

{if $cat eq $categories[cat_num].categoryid}
{section name=subcat_num loop=$subcategories}
{ $subcategories[subcat_num].category|escape }

{/section}
{/if}
{/section}
{/if}



</td></tr>

</TABLE>





thanks
Reply With Quote