From: Daniel T. <de...@ti...> - 2003-10-10 07:44:42
|
Hi Michael! Check out http://www.tiru.se/mobug.html What I get wierd is when using setBgColor() i think :) Check the example and you will c :) /Daniel -----Original Message----- From: dyn...@li... [mailto:dyn...@li...] On Behalf Of Michael Bystrom Sent: den 10 oktober 2003 08:15 To: dyn...@li... Subject: Re: [Dynapi-Dev] Layers and text Show me with code what you mean! obj = dynapi.document.addChild( new DynLayer() ) Etc... I usually can fix mac things Michael Den 03-10-10 08.05, skrev "Daniel Tiru" <de...@ti...>: > Hello developers! > > I would need yor expertice right now... > > I have found something, maybee its by design in some way, but i doubt > it. > > If you add text to a layer, and add a event listner to the layer, say > on mouseover and you change layer no2 bgcolor. > > If you add a layer over the textlayer, make it transparant and change > the event listner to listen to mouseover on the new layer you will > notice that when you move your mouse over the text of the bottomlayer > no onmouseover event will be sent. However if you move your mose > outside the text it will. This is fixed by set the top layer to show a > color, thought... the problem is then that you wont see the text :) So > you have to add a transparent gif. > > So now you will tell me, skip the top layer and it will work fine!? > Yepp, if using windows and ie (havent tried alot so far) its working > fine. If using IE on Mac it dont. :( The default for mac is to add > layer and add text, the text dont_inherit_the_properties of the layer, > but making a "Mac-text-layer" or something so it wont work in the > first case. > > Do anyone have a solution to implent into the dynlayer.js that will > solve this? > > Regards > Daniel > ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. SourceForge.net hosts over 70,000 Open Source Projects. See the people who have HELPED US provide better services: Click here: http://sourceforge.net/supporters.php _______________________________________________ Dynapi-Dev mailing list Dyn...@li... http://www.mail-archive.com/dyn...@li.../ |