Hi! Did you buy a "klippan"-sofa? =)
Well.. Can you check the example again? I have "fixed" the glitch... Temporary... And you will see what i mean with "temporary" and "fix" :) Regards Daniel -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Michael Bystrom Sent: den 11 oktober 2003 01:39 To: [EMAIL PROTECTED] Subject: Re: [Dynapi-Dev] Layers and text Sorry for the late response I had to go to IKEA and buy extra sofa :) Ohh I see what you mean, That IE5 mac will not fire it's events over the html elements. Yep aware this, It refuses to bubble the event down it just sees the html elm and stops. I've tired and have no fix for this, it's the same for my button widget (and others) I don't think this is a problem with the api because the api 2.5+ has the same problem. I will not go into this here but Mac IE5 has MAJOR quirks concerning events and InsertAdjacentHTML and createElement when html elements are involved. If this is something that you REALY need I would use something like this. And use it for Mac IE5 specific only. dynapi.document.onmousemove = function(e){ var o = lyrWinIETop if( e.getPageX()>o.getPageX() && e.getPageX()<o.getPageX()+o.getWidth() && e.getPageY()>o.getPageY() && e.getPageY()<o.getPageY()+o.getHeight() ) { o.setBgColor(dynapi.functions.getRandomColor()); } } This will create the effect I think you where after. Michael > 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: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of Michael > Bystrom > Sent: den 10 oktober 2003 08:15 > To: [EMAIL PROTECTED] > 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" <[EMAIL PROTECTED]>: > >> 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 [EMAIL PROTECTED] http://www.mail-archive.com/[EMAIL PROTECTED]/ ------------------------------------------------------- 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 [EMAIL PROTECTED] http://www.mail-archive.com/[EMAIL PROTECTED]/