From: Rob R. <ro...@ma...> - 2000-11-02 23:44:48
|
I build buttons in similar way the way I trap the events is to put up a mask layer inside the widget that is basically transparent but sits on top of all the other layers. I then use this to trap mouse events and handle them at the level of the widget. If you want to have the cursor change by using css then the only way I've worked out to do that is to put a transparent 1 pixel image in the mask layer and scale it to size, then use a <span> tag around it for the cursor handling. It may not be orthodox but it works. HTH, Rob ".:: OCB ::." wrote: > Hi, > > Well, in regards my rollOver animation problem.. > > I sorted out my IE 'always reloading the images' problem by setting each > image in the animation within it's own DynLayer(). Now I seem to have the > dreaded 'can't catch mouseOver events' IE problem. > > Again, any solutions to this headache ? > > I have tried to catch events on the main Widgit and not on the image > DynLayers it encapsulates. I have even tried to use setHTML(" ") on the > widgit (dam, how do you spell widgit ? widget ? wigit ?) to try to have > something to catch the events 'on' but still, in IE I can't seem to catch > mouseOver events at all (onClick events work properly though). > > Thanks again... OCB > _________________________________________________________________________ > Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com. > > Share information about yourself, create your own public profile at > http://profiles.msn.com. > > _______________________________________________ > Dynapi-Dev mailing list > Dyn...@li... > http://lists.sourceforge.net/mailman/listinfo/dynapi-dev |