There's no such event AFAIK, and even the dom:loaded event is implemented by Prototype developers and that's not a default event in JS. You might want to use a helper to make a delay in performing of the second handler, so the first one will be performed first.
There's no such event AFAIK, and even the dom:loaded event is implemented by Prototype developers and that's not a default event in JS. You might want to use a helper to make a delay in performing of the second handler, so the first one will be performed first: function foo(){ var bottomExtraOffset = (Prototype.Browser. IE)?100 : 130; if (parseInt($$('.
Col1')0. GetStyle('height')) > parseInt($$('. Col2')0.
GetStyle('height'))) { $('wrapper'). SetStyle({'height' : parseInt($$('. Col1')0.
GetStyle('height')) + bottomExtraOffset + 'px'}); } else { $('wrapper'). SetStyle({'height' : parseInt($$('. Col2')0.
GetStyle('height')) + bottomExtraOffset + 'px'}); } } function bar() { // One msec delay. SetTimeout(foo, 1); } Event. Observe(window, "load", bar); // or window.
Observe("load",bar); Also, you can check if the user agent is some hell like IE, then use this method and your said one otherwise.
Wow! Many thanks, it's working like a charm ^o^ you know, you've just answered my previous question which we've discussed before with no such a solution, it tooks 3 days to find the problem, thanks anyway. – artarad Mar 30 '09 at 15:58.
Or if you don't want to directly call it after preload() then you could do something like set a flag and then set a timeout in the section function to wait until the first is done to execute. If order is important you need to communicate between the functions.
I can't directly call the second after the first one due to the whole script algorithm. I'm workin' on your suggestion, thanks Ryan. – artarad Mar 30 '09 at 15:30.
I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.