View Full Version : Need a cutting edge solution to an identified problem!
05-29-2009, 01:55 AM
05-29-2009, 02:25 AM
Scratching my head.
A function run by way of setInterval( ) *DOES* finish, assuming it doesn't have some infinite loop in it (but then you'd have bigger problems than this). And the thread is released.
Witness the fact that you can have two or more setInterval( ) based function calls running at the same time.
So why doesn't the event observer get a chance to run in between calls???
What kind of event observer, specifically?
05-29-2009, 02:35 AM
I assume this is same problem as prior thread?
I went to http://huduzu.trollnest.com and there is nothing on the page except the little form at the top right. This in FF 3.
For example, I get "Orb[i] is not an object in this code:
Dare I assume that the code is only intended to run in a particular browser?? Neither FF3 nor MSIE6?
05-29-2009, 03:11 AM
Thanks for your interest by the way!
05-29-2009, 03:17 AM
Do you know why it does nothing at all in FF3??
I do *NOT* see the <DIV> (or whatever it is) where the floating squares appear in MSIE 6.
But it looks to me like the event observer *IS* working in MSIE 6, because ineed it gets the error *IN THE OBSERVER*!
What browser are you running??
05-29-2009, 03:51 AM
It does not wprk in ff because prototype is not registering the observer, that is a problem I can tackle later. I am running IE8 and FF3, IE6 has a ton of problems with images and alpha transparency, I don't even try to support it anymore. Yes it is registering in IE, it just never gets a chance to handle it. Try resizing your window very small, it will cause the script to crash and then the observer will be able to service.
I will put an alert in the handler.
05-29-2009, 06:53 AM
Sorry...it now at least shows in FF3. I assume you went ahead and made the change you said you needed.
But resizing FF3 window as small as I can does *NOT* cause a crash. No alerts coming from observer, etc.
And in MSIE 6 I get an error in a completely different place than before, but *still* I get it as a result of the mouseover observer. Unless I'm mistaken, that means the observer *IS* working, no??
I can't look at it more tonight. I don't have MSIE 8 yet, on purpose, but I could look at it with MSIE 7, if there is any point.
I doubt I'm going to be any help, unfortunately. I can see this would take some time to try to repro certain behaviors, and I just don't have it right now.