I'm migrating some code from 1.2x to 1.45 and ran into the following issue:

var i = new IFrame({ 'id':'test'}).inject(document.body); 

var w = $(i.contentWindow); 

var b = $(w.document.body);


Under 1.2x it was possible to "mootoolize" like this, so that for instance 
w.addEvent() and b.setStyles() could be used.

The new document.id code in 1.4x does not seem to allow this any more and 
returns null for w and b. 


Is this intended? Any tips / workarounds / recommendations are greatly 
appreciated!! 

-- 

--- 
You received this message because you are subscribed to the Google Groups 
"MooTools Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to mootools-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to