Menus in Internet Explorer
Posted: Sun Apr 05, 2009 1:21 pm
Hi, If I am posting in the wrong place please can somebody redirect me?
I am using CMSMS version 1.4 "Jamaica". I have built a menu - with some help, and it looks just how I want it to in Firefox but is a total mess in Internet Explorer.
Here is the link to the site…
http://www.wdbuild.com/daviesflowershop/
And here is the menu template so far…
{* CSS classes used in this template:
#menu_wrapper - The id for the that the menu is wrapped in. Sets the width, background etc. for the menu.
#primary-nav - The id for the
.menuparent - The class for each that has children.
.menuactive - The class for each that is active or is a parent (on any level) of a child that is active. *}
{if $count > 0}
{foreach from=$nodelist item=node}
{if $node->depth > $node->prevdepth}
{repeat string="" times=$node->depth-$node->prevdepth}
{elseif $node->depth prevdepth}
{repeat string="" times=$node->prevdepth-$node->depth}
{elseif $node->index > 0}
{/if}
{if $node->parent == true or ($node->current == true and $node->haschildren == true)}
current == true}
haschildren == true}
type == 'sectionheader'}
{$node->menutext}
{elseif $node->type == 'separator'}
{else}
type != 'sectionheader' and $node->type != 'separator'}
href="{$node->url}" {if $node->accesskey != ''}accesskey="{$node->accesskey}" {/if}{if $node->tabindex != ''}tabindex="{$node->tabindex}" {/if}{if $node->titleattribute != ''}title="{$node->titleattribute}"{/if}{if $node->target ne ""} target="{$node->target}"{/if}>{$node->hierarchy}: {$node->menutext}
{elseif $node->type == 'sectionheader'}
{$node->hierarchy}: {$node->menutext}-->
{/if}
{/foreach}
{repeat string="" times=$node->depth-1}
{/if}
I'm very confused. Please could somebody advise me?
I am using CMSMS version 1.4 "Jamaica". I have built a menu - with some help, and it looks just how I want it to in Firefox but is a total mess in Internet Explorer.
Here is the link to the site…
http://www.wdbuild.com/daviesflowershop/
And here is the menu template so far…
{* CSS classes used in this template:
#menu_wrapper - The id for the that the menu is wrapped in. Sets the width, background etc. for the menu.
#primary-nav - The id for the
.menuparent - The class for each that has children.
.menuactive - The class for each that is active or is a parent (on any level) of a child that is active. *}
{if $count > 0}
{foreach from=$nodelist item=node}
{if $node->depth > $node->prevdepth}
{repeat string="" times=$node->depth-$node->prevdepth}
{elseif $node->depth prevdepth}
{repeat string="" times=$node->prevdepth-$node->depth}
{elseif $node->index > 0}
{/if}
{if $node->parent == true or ($node->current == true and $node->haschildren == true)}
current == true}
haschildren == true}
type == 'sectionheader'}
{$node->menutext}
{elseif $node->type == 'separator'}
{else}
type != 'sectionheader' and $node->type != 'separator'}
href="{$node->url}" {if $node->accesskey != ''}accesskey="{$node->accesskey}" {/if}{if $node->tabindex != ''}tabindex="{$node->tabindex}" {/if}{if $node->titleattribute != ''}title="{$node->titleattribute}"{/if}{if $node->target ne ""} target="{$node->target}"{/if}>{$node->hierarchy}: {$node->menutext}
{elseif $node->type == 'sectionheader'}
{$node->hierarchy}: {$node->menutext}-->
{/if}
{/foreach}
{repeat string="" times=$node->depth-1}
{/if}
I'm very confused. Please could somebody advise me?