View Single Post
  #2  
Old 09-13-2012, 02:23 PM
 
mekon mekon is offline
 

Senior Member
  
Join Date: Jan 2011
Posts: 180
 

Default Re: style flyout menu

Found a way..

In /modules/flyout /fancy... /icons/fancy_subcategories.tpl

Find:

Code:
<li{interline name=$loop_name} style="z-index: {$smarty.foreach.$loop_name.total|dec:$smarty.foreach.$loop_name.iteration|inc:1|inc:1001};">

And use the cat id to set a css id...eg:

id="prefix_{$catid}"

You will need to use a prefix as some browsers will not accept a css id that starts with a number.

Code:
<li{interline name=$loop_name} id="prefix_{$catid}" style="z-index: {$smarty.foreach.$loop_name.total|dec:$smarty.foreach.$loop_name.iteration|inc:1|inc:1001};">
__________________
------------------------------------------------

Darren
Reply With Quote