IE7.js and iframes

10 views
Skip to first unread message

Paul

unread,
Aug 6, 2008, 7:33:35 PM8/6/08
to ie7-js
I saw a couple older threads on this. I too have been getting an error
in IE6 and IE7:
Error: 'v' is null or not an object

This was on a page including IE7.js and embedded in an IFRAME.

My solution to get it working was to:

Replace:
v=document.body;
near the end of IE7.js

With:
var fe=window.frameElement;v=(fe&&fe.document)?
fe.document.body:document.body;

I applied this edit to IE7.js, revision 29 from the trunk.

Paul
Reply all
Reply to author
Forward
0 new messages