From: Steven B. <sbr...@mo...> - 2001-10-29 14:00:00
|
I coded my own widget that creates a simple layer that acts like a Windows taskbar on the left-hand side of the screen for navigational elements. I then put a List object inside of it -=20 navBar =3D new TaskBar(-130,0,150,300,-5,-126,10,'#c0c0c0') list =3D new List() =09 myListener=3Dnew EventListener(list) myListener.onmouseover=3Dfunction(e) { target=3De.getTarget() target.setBgColor('#ffffff') } myListener.onmouseout=3Dfunction(e) { target=3De.getTarget() target.setBgColor('#c0c0c0') } list.moveTo(1,1) list.setWidth(148) list.setBgColor('#000000') list.boldOnSelect(true) list.listStyle.padding =3D 10 list.add("The CoraSys Mission",1) list.add("CoraSys Products",2) list.add("CoraSys Services",3) list.add("Customer Service",4) =09 list.addEventListener(myListener) navBar.addChild(list) DynAPI.document.addChild(navBar) Now in NS4 it works fine. However, in IE and NS6, when I mouseOver the List or ListItems and then mouseOut, the mouseOut doesn't bubble up to my TaskBar object. Any ideas on how to do this? Would posting the code for the TaskBar object help? =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D Steven R. Brownlee Lead Technologist Mind Over Media P: 412.391.1100 x220 F: 412.391.0185 E: ste...@mo... W: http://www.momknows.com/=20 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D IF YOU BELIEVE that people automatically resist change, offer them a new car of their choosing, no strings attached. |