Hi
I wanted to add a drop down menu to my speed bar. With Phil's help I was successful - here is a link
http://www.i-fiberoptics.com/xcart/home.php#link (still in development but that part works)
Now I'm trying to do it on another site ... but it's not working.
I have this code in tabs.tpl
<code>
<ul id="flexmenu1" class="flexdropdownmenu">
{foreach from=$pages_menu item=p name=page}
{if $p.show_in_menu eq 'Y' && $p.orderby gte "100" && $p.orderby lte "199" }
<li><a href="pages.php?pageid={$p.pageid}">{$p.title|amp} </a></li>
{/if}
{/foreach}
</ul>
... three more lists here
<ul id="flexmenu4" class="flexdropdownmenu">
{foreach from=$pages_menu item=p name=page}
{if $p.show_in_menu eq 'Y' && $p.orderby gte "400" && $p.orderby lte "499" }
<li><a href="pages.php?pageid={$p.pageid}">{$p.title|amp} </a></li>
{/if}
{/foreach}
</ul>
{if $speed_bar}
<div class="tabs{if $all_languages_cnt gt 1} with_languages{/if} monitor">
<ul>
{foreach from=$speed_bar item=sb name=tabs}
{strip}
<li{interline name=tabs}>
<a href="{$sb.link|amp}"{if $sb.title eq "Cemetery Memorials"} data-flexmenu="flexmenu1" {elseif $sb.title eq "Support"} data-flexmenu="flexmenu2" {elseif $sb.title eq "Purchase"} data-flexmenu="flexmenu3" {elseif $sb.title eq "About Us"} data-flexmenu="flexmenu4" {/if}>
{$sb.title}
<img src="{$ImagesDir}/spacer.gif" alt="" /></a>
<div class="t-l"></div><div class="t-r"></div>
</li>
{/strip}
{/foreach}
</ul>
</div>
</code>
I also copied over the flexmenu.css and flexmenu.js - they are in a folder in customer/dropmenu
BUt it's not working on the new site
http://www.watertownmemorialcompany.com/
I even went so far as to copy over the WHOLE skin and common_files from the IFO site and its's still not working.
If I look at the CSS in firebug - the <ul> are there but they are before the link code.
Do you think I need to add something somewhere else in the source to make this work ? I'm not sure what {interline} is doing.
Phil - if you see this - do you remember changing anything else ?
Thanks
DonnaNJ