Okay, in the parent (in cheap-debug mode):

$(function(){
$('iframe')
 
.each(function(){alert('.each()');this.style.height=(this.contentWindow.document.body.scrollHeight)+'px';})
 
.load(function(){alert('.load()');this.style.height=(this.contentWindow.document.body.scrollHeight)+'px';});
});

IE7: .load() never fires, but I'm getting an "object required" error now for
some reason.

IE6: Here it gets interesting - .load() also never fires, but it works
without errors.

Still doesn't work in Netscape btw.  No errors, but it doesn't resize the
iframe.

Adam




Danny Wachsstock wrote:
> 
> Odd. Mine works in IE. Can you tell what object and property is throwing
> the error (try just putting 'alert's before each line--cheap debugger) ?
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Anyone-ever-heard-of-this-Netscape-bowser---%29-tf3426039.html#a9567952
Sent from the JQuery mailing list archive at Nabble.com.


_______________________________________________
jQuery mailing list
[email protected]
http://jquery.com/discuss/

Reply via email to