the  parent window is not extended to use mootools
try to add mootools.js to the parent window too - not sure if it will
work

On Jan 11, 5:52 am, Nicolas Trani <[email protected]> wrote:
> Hi,
>
> I'am working with an iframe and from iframe I'am creating content to the
> parent document (this work fine).
>
> But if i add an event to any element of the parent document i have the
> folowing error when the event is fired : "self.getWindow is not a
> function" I googled and looked at lighousse but i did not found anything.
>
> I made a small page to show the error :
>
> http://festiflam.net/test.html
>
> you can also find the code into iframe here 
> :http://paste.mootools.net/m720545e6
>
> I don't know if it's a bug or if i'am doing somehting wrong?
>
> Thanks.
>
> --
> Nicolas Trani - Développeur web
> Weelya - Improve the web
> 32 rue du faubourg boutonnet
> 34090 Montpellierhttp://www.weelya.com

Reply via email to