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};">