Back To Start Of Archive
Taken From The Forum: Help & Support for DHTML Menu Version 5+
Forum Topic: Click to view post
Last Updated: Saturday July 14 2012 - 06:07:53
A separator image
Poster: pthawkes
Dated: Friday December 5 2003 - 16:48:38 GMT
Am I correct in assuming that the separatorimage property on the itempoperties page is still in development or does not work in Version 5 yet??? Or if it is working I can't get it to work.
Do I put the separatorimage property here:
aI('text=Menu;showmenu=;url=http:\\...etc;separatorimage=/MenuSeparator.gif;')
Or do I put it here:
with(menuStyle1=new mm_style()){
onbgcolor="8CB2D6";
oncolor="ffebdc";
offbgcolor="#D6EBFF";
offcolor="#18344A";
bordercolor="White";
borderstyle="solid";
borderwidth=1;
separatorcolor="white";
separatorsize="2";
separatorimage="/MenuSeparator.gif";
padding=5;
fontsize="12px";
fontstyle="normal";
fontfamily="Arial,Verdana, Tahoma";
pagecolor="#18344A";
pagebgcolor="#D6EBFF";
headercolor="#000000";
headerbgcolor="#ffffff";
subimage="/images/LF1/MenuArrowRight.gif";
subimagepadding="2";
overfilter="Fade(duration=0.1);Alpha(opacity=100);"
}
Thanks in Advance
Paul
Poster: kevin3442
Dated: Tuesday December 16 2003 - 0:13:15 GMT
Hi Paul,
The separatorimage property does indeed work. You can put it either place you mentioned... either in the menu style definition or in any individual menu item definition. Many "appearance" related properties can be defined as menu style propertied or as menu item properties. If you want to set such a property for an entire menu, or set of menus, then you can do so in a style and apply that style to the menu(s) you want to affect. But you can also override the style setting on a per-item basis, by assigning an alternative value in an aI() menu item definition.
Perhaps in your case you simply have the path to the image file wrong (by using the slash before the filename). Just a guess...
Hope that helps,
Kevin
Industrial Strength JavaScript and DHTML Menus
About Us
Testimonials
Contact Us
Our Distinguished Clients
Investing in Non-Profits
Where Are We
Privacy Policy
Software Licensing Agreement
DHTML JavaScript Menu
Product Information
Page Integration
Quick Reference Guides
Embedding Into a Table or DIV
Purchase
