No I want fire on domready, but the IE is waiting until the iframe dom
is ready, until he fired domready, all other fired once the dom of the
top window is ready.

On 12 Jan., 17:42, Fli7e <[email protected]> wrote:
> You want it to be fired on load instead of domready i think.
>
> Timo
>
> On 12 Jan., 16:04, eskimoblood <[email protected]> wrote:
>
> > Think I've got it. As I add the event at window.domready, the event
> > isn't there in IE cause domready will be fired when the dom of the
> > iframe is also loaded. So I try do fire an event that can't be there
>
> > On 12 Jan., 15:09, eskimoblood <[email protected]> wrote:
>
> > > Mhmm, and I use mootools 1.1
>
> > > On 12 Jan., 15:08, eskimoblood <[email protected]> wrote:
>
> > > > I've add a custom event on window like: window.addEvent('myEvent',
> > > > function(){}). From an iframe I try do fire this event like this:
> > > > parent.fireEvent('myEvent'). This works well in Firefox but trying
> > > > this ie8, the event is never been fired. Also when I test window.
> > > > $events after attaching it has myEvent, but in the iframe parent.
> > > > $events only has domready.

Reply via email to