milonic Version 5.734
aI("text= Focus on writing ;url=;offclass=mmleerzoncolor;onclass=mmleerzoffcolor;");
with stale defs in html file:
<style type="text/css">
.mmleerzoncolor { font-weight:bold; font-style:italic;color:#ed8036;}
.mmleerzoffcolor { font-weight:bold; font-style:italic;color:#ed8036;}
</style>
any errors in the code??
thx for help Rainer
offclass onclass style defs doesnt work
-
- Advanced
- Posts: 12
- Joined: Thu Nov 17, 2005 2:40 pm
-
- Advanced
- Posts: 12
- Joined: Thu Nov 17, 2005 2:40 pm
Hi,
It seems the default for fontstyle is normal. That means that in the menuStyle there is no necessity to have fontstyle="normal"; since it will default to that. What I discovered was, if that is coded into the style, then coding a class with font-style:italic; will not override the fontstyle listed in the menu. So, try removing the fontstyle="normal"; from the menuStyle of the menu_data.js file and see if that allows the italic to show in the off/on class.
Ruth
It seems the default for fontstyle is normal. That means that in the menuStyle there is no necessity to have fontstyle="normal"; since it will default to that. What I discovered was, if that is coded into the style, then coding a class with font-style:italic; will not override the fontstyle listed in the menu. So, try removing the fontstyle="normal"; from the menuStyle of the menu_data.js file and see if that allows the italic to show in the off/on class.
Ruth
-
- Advanced
- Posts: 12
- Joined: Thu Nov 17, 2005 2:40 pm
I don't really know the whole circumstances since I haven't seen your menu data, but it is possible if you need to change one or two items to actually code most of the properties into an item. The links below my name go to the different properties, style, menu and item properties. Many of the style properties have matching item properties, or maybe I should say many of those properties are dual and can be used either in the menuStyle or in an item.
Ruth
Ruth