I have a menu where some items behave differently, some show a submenu, others a page certain products cannot be ordered online, I would like to display them in italic and in a different color.
If I do this :
Code: Select all
with(milonic=new menuname("Main Menu")){
alwaysvisible=1;
left=10;
margin=2;
orientation="horizontal";
style=XPMainStyleItalic;
top=10;
aI("image=/img/SagamGraphicLogo.gif;showmenu=li0;");
aI("text=Film;url=javascript:JSRPC('divisionNotUsed.php?lang=N', 'divresult', 'reserverparm', false, false);");
aI("text=Offsetplaten;url=javascript:JSRPC('divisionNotUsed.php?lang=N', 'divresult', 'reserverparm', false, false);");
}
with(milonic=new menuname("Main Menu")){
alwaysvisible=1;
left=10;
margin=2;
orientation="horizontal";
style=XPMainStyle;
top=10;
aI("text=EPP Shop;url=javascript:JSRPC('divisionNotUsed.php?lang=N', 'divresult', 'reserverparm', false, false);");
aI("showmenu=DIV 04;text=inkten/lakken;");
aI("showmenu=DIV 05;text=perschemie;");
aI("text=Rubberdoeken;url=javascript:JSRPC('divisionNotUsed.php?lang=N', 'divresult', 'reserverparm', false, false);");
aI("text=Rotatieprodukten;url=javascript:JSRPC('divisionNotUsed.php?lang=N', 'divresult', 'reserverparm', false, false);");
aI("showmenu=DIV 08;text=diverse prepress en pressproducten;");
aI("text=Basket;url=javascript:JSRPC('basket.php?lang=N', 'divresult', 'reserverparm', false, false);");
aI("text=Historiek;url=javascript:JSRPC('history.php?lang=N', 'divresult', 'reserverparm', false, false);");
aI("text=Zoek product;url=javascript:JSRPC('products.php?lang=N', 'divresult', 'reserverparm', false, false);");
}