Milonic provide full featured pull down web menus for some of the worlds largest companies
click here to see what it can do for you

Download Milonic DHTML Menu
Buy Milonic DHTML Menu

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:09

Multiple Styles


Poster: mfurf
Dated: Monday September 29 2003 - 21:35:36 BST

Just wondering if in the development text for Multiple Sytles menus [Sample 5] where the most efficient means of copying the style is
Quote:
horizontalStyle=new copyOf(vertStyle)
horizontalStyle.subimage = "/images/arrow_down.gif";
if the name vertStyle should not instead read verticleStyle since the latter is the name assigned to the global style being copied.
/furf


Poster: Hergio
Dated: Tuesday September 30 2003 - 1:25:09 BST

Quote:
horizontalStyle=new copyOf(vertStyle)
horizontalStyle.subimage = "/images/arrow_down.gif";

Above is correct syntax. But...you are right in that vertStyle is not defined...it is a typo. What it should read is verticleStyle since that is the name of a style that is actually defined. Good catch. Andy will have to get on that one... ;)