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:49
separatorcolor and size does work for individual items
Poster: mledesma
Dated: Wednesday January 7 2004 - 21:25:55 GMT
Here is an example of how i'm setting the values
aI("text=Item5;onfunction=showtip('Creates a new file');separatorcolor='#FF0000';separatorsize='3';url=javascript:alert('New was selected');");
Could you please correct me if i'm doing something wrong ?
I'm adding the complete menu definition:
with(milonic=new menuname("MyMenuMenu30")){_c=1
borderwidth=1;
itemwidth=192;
style=_mainItemStyle;
aI("text=New;onfunction=showtip('Creates a new file');showmenu=MyMenuMenu930;");
aI("text=Edit;onfunction=showtip('Edits a new file');url=javascript:alert('Edit was selected');");
aI("text=Item1;onfunction=showtip('Creates a new file');url=javascript:alert('New was selected');");
aI("text=Item2;onfunction=showtip('Creates a new file');url=javascript:alert('New was selected');");
aI("text=Item3;onfunction=showtip('Creates a new file');url=javascript:alert('New was selected');");
aI("text=Item4;onfunction=showtip('Creates a new file');url=javascript:alert('New was selected');");
aI("text=Item5;onfunction=showtip('Creates a new file');separatorcolor='#FF0000';separatorsize='3';url=javascript:alert('New was selected');");
aI("text=Item6;onfunction=showtip('Creates a new file');url=javascript:alert('New was selected');");
aI("text=Item7;onfunction=showtip('Creates a new file');url=javascript:alert('New was selected');");
aI("text=Item8;onfunction=showtip('Creates a new file');url=javascript:alert('New was selected');");
}
and _mainItemStyle does not contains any separator property