Comments on: IEContentLoaded:An alternative for DOMContentLoaded on Internet Explorer http://blog.hedgerwow.com/2007/09/22/iecontentloadedan-alternative-for-domcontentloaded-on-internet-explorer/ Keep It Simple, Stupid Mon, 29 Oct 2007 07:58:56 +0000 http://wordpress.org/?v=2.0.5 by: Diego Perini http://blog.hedgerwow.com/2007/09/22/iecontentloadedan-alternative-for-domcontentloaded-on-internet-explorer/#comment-128 Thu, 27 Sep 2007 11:36:02 +0000 http://blog.hedgerwow.com/2007/09/22/iecontentloadedan-alternative-for-domcontentloaded-on-internet-explorer/#comment-128 Hedeger, did you realize you are creating a new element for each cyclye in your modified version ? And with a setTimeout of 0 millisecs, you are probably doing that hundreds of times slowing down the overall load process and eating more memory for each cycle. I really believe you shouldn't do that, especially because you are affecting the impact of the original solution between the readers. If you changed the original solution because of some problem I would very like you send me the code that is not working with it, so I can have a look and make my solution better. Diego Perini Hedeger,
did you realize you are creating a new element for each cyclye in your modified version ?

And with a setTimeout of 0 millisecs, you are probably doing that hundreds of times slowing down the overall load process
and eating more memory for each cycle.

I really believe you shouldn’t do that, especially because you are affecting the impact of the original solution between the readers.

If you changed the original solution because of some problem I would very like you send me the code that is not working with it, so I can have a look and make my solution better.

Diego Perini

]]>
by: Rodrigo http://blog.hedgerwow.com/2007/09/22/iecontentloadedan-alternative-for-domcontentloaded-on-internet-explorer/#comment-126 Tue, 25 Sep 2007 12:21:22 +0000 http://blog.hedgerwow.com/2007/09/22/iecontentloadedan-alternative-for-domcontentloaded-on-internet-explorer/#comment-126 Hi Hedger! (It forgives me, I did not find its email.) I am using YAHOO.My.UI.Dialog.balloon() for my aplication. I have a map in one image tag. I have the coordinates of the click of mouse in the image. I need to set the coordinates of the balloon in relation the coordinates of the image and not of the page. e.g: image tag width=200px height=200px If I set oBalloon.moveTo (100,100); the balloon will have to show in the center of the image and not of the page. How to make this? Congratulations for your My.UI.Dialog! Thanks a Lot! Sorry for my english... Rodrigo Haas - Brasil Hi Hedger!

(It forgives me, I did not find its email.)

I am using YAHOO.My.UI.Dialog.balloon() for my aplication.

I have a map in one image tag. I have the coordinates of the click of mouse in the image. I need to set the coordinates of the balloon in relation the coordinates of the image and not of the page.

e.g:
image tag
width=200px
height=200px

If I set oBalloon.moveTo (100,100); the balloon will have to show in the center of the image and not of the page.

How to make this?

Congratulations for your My.UI.Dialog!

Thanks a Lot!

Sorry for my english…

Rodrigo Haas - Brasil

]]>