From: Josep M. i T. <jm...@ne...> - 2000-12-15 18:05:43
|
The onMousexxx events get triggered normally. So I think the solution is simply redrawing the IMG tag every time you resize the NS4 window. I wanted to comment this issue because there's a code in DynAPI that changes images this way and it won't work under NS4 (DynImage and ImageButton for instance). It could also be done using background images, as you say. The problem is that I apply maps to the image so the events are generated only in the part of the image that I want. I think that someone said he had a javascript map for layers, but I want the browser to do as much work as possible (less bugs and faster). Thanks, Josep -----Mensaje original----- De: Nicola Marzolla <nic...@ho...> Para: dyn...@li... <dyn...@li...> Fecha: viernes 15 de diciembre de 2000 18:48 Asunto: Re: RV: [Dynapi-Widgetdev] SimpleRollOver widget >well the on resize event it's supposed to work like u say but it's actually >called everytime u setSize and that happen also when u resize the window on >ns 4 coz that calls createElement -> setSize-> onresize. > >I guess they are trying to change that . >what if insted of and<IMG> u use the setBgIMage() onmouseover and onmouseout >that way u don't have to worry about the name property > >(I know u said u wanna sty away from event but that's where all widget are >going... sorry if I couldn't help :-() > > >see ya >Nicola > >_________________________________________________________________ >Get your FREE download of MSN Explorer at http://explorer.msn.com > >_______________________________________________ >Dynapi-Widgetdev mailing list >Dyn...@li... >http://lists.sourceforge.net/mailman/listinfo/dynapi-widgetdev > |