Hi,
I have to port a design to Modx, things go relatively smoothly apart a little problem with dropmenu.
the menu is dependant of a CSS and a Javascript.
My problem is that with DropMenu i can only put a "class" attribut to the main UL and not both a "class" and "id" attribut.
Do you know any possibility to have both "class" and "id" attributs on the main UL with dropmenu ?
Here are some of my code and things i have tried.
the HTML code for the menu works like that :
[tt]
<ul class="menu" id="outils">
<li class="first"><a href="page_int.html">Outils de virtualisation</a></li>
<li><a href="#">Outils de migration</a></li>
<li><a href="#">Procédures d’exploitation</a></li>
<li><a href="#">Outils de sauvegarde</a></li>
<li><a href="#">Outils d’automatisation</a></li>
<li><a href="#">Outils de supervision</a></li>
</ul>
[/tt]
I tried to adapt it to dropmenu by doing this :
[tt]
<ul class="menu" id="outils">
[!DropMenu? &startDoc=`2` &levelLimit=`1`!]
</ul>
[/tt]
which works in all browser except IE
I have also tried to do all of the above, and none works :
[tt]
<ul class="menu" id="outils">
[!DropMenu? &topnavClass=`menu` &startDoc=`2` &levelLimit=`1`!]
</ul>
[/tt]
[tt]
<ul id="outils">
[!DropMenu? &topnavClass=`menu` &startDoc=`2` &levelLimit=`1`!]
</ul>
[/tt]
[tt]
[!DropMenu? &topnavClass=`menu id="outils` &startDoc=`2` &levelLimit=`1`!]
[/tt]
[tt]
<div="outils">
[!DropMenu? &topnavClass=`menu` &startDoc=`2` &levelLimit=`1`!]
</div>
[/tt]
Thanks a lot in advance.
If i am not clear enough, please tell me.