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

onsubimage property steals properties from host cell


Poster: cubefree
Dated: Tuesday August 5 2003 - 19:36:59 BST

This regards V5_RC4, of course.

Perhaps I am misinterpreting the intended use of this property, but what I did was experiment with the subimage (usually the arrow image).

I added a subimage property to the xpmenu sample page. Specifically in the menu /File/Print This Page. Upon doing so, I noticed that the subimage, took the mouseover onbgcolor and onborder properties of the host cell.

This cell "Print This Page" of File, has a blue bgcolor and bordercolor. When I added the subimage to the item's properties, the sub image took the blue bgcolor and bordercolor away from the host cell WHEN rolled-over.

Code:
   with(milonic=new menuname("Filemenu")){_c=1
   top="offset=3"
   style=XPMenuStyle;
   borderwidth=1;
   orientation="vertical";
   bgimage="images/winxp_back.gif";
   margin=2;
   aI("text=Menu Home Page;url=/;image=images/xpwidth.gif;");
   aI("text=XP Menu Sample;url=menusample.php?sampleid=25;showmenu=Links;onsubimage=images/penfold_over.gif;");
   aI("text=Print This Page;url=javascript:self.print();showmenu=Legal;status=Print This Page;image=images/xpprint.gif;separatorsize=1;onsubimage=images/cmm_arrow2_on.gif;");
   aI("text=Search;url=http://www.google.com/;target=_blank;image=images/xpsearch.gif;");
   aI("text=Other Links;showmenu=Colors;image=images/xpsearch.gif;onsubimage=images/penfold_over.gif;");
   }



See more code here:
Mouseover "Program Information", then down the menu to "Core Plan" see what I mean?
http://www.cubefree.com/clients/provide ... zontal.htm

I am viewing in IE 5.5 / Windows2000

Hope that helps,
cubefree


Poster: Andy
Dated: Thursday August 7 2003 - 10:10:28 BST

It was a bug in RC4.

RC5 at http://www.milonic.com/v5_rc5/xpmenu.htm should fix it.

Cheers
Andy