I'm having the same problem too.

Here are some test cases:
MooTools 1.3 - http://jsfiddle.net/cheeaun/xteTn/
MooTools 1.2.5 - http://jsfiddle.net/cheeaun/xteTn/1/

After few hours of csi work, I found that Element.Prototype is
returning undefined, which explains why this line 234 in Element.js is
not working
http://github.com/mootools/mootools-core/blob/1.3/Source/Element/Element.js#L234

I somehow manage to fix this by changing line 60 in Element.js
http://github.com/mootools/mootools-core/blob/1.3/Source/Element/Element.js#L60
to:
    if (!Browser.Element || !Element.Prototype){

Cheers,

On Oct 16, 1:14 am, אריה גלזר <[email protected]> wrote:
> On Fri, Oct 15, 2010 at 8:54 AM, goker.cebeci <[email protected]> wrote:
> > in mootools 1.2.5
> > " If the IFrame is from a different domain, its window and document
> > will not be extended with MooTools methods. "
>
> > in mootolls 1.3
> > " An IFrame's window and document will not be extended with MooTools
> > methods. "
>
> > var iframe = new IFrame({});
>
> > iframe.contentWindow.document.body.set is not a function!!!
>
> > How can i fix this?
>
> $(iframe.contentWindow.document.body).set
> --
> Arieh Glazer
> אריה גלזר
> 052-5348-561
> 5561

Reply via email to