'w' is null or not an object

148 views
Skip to first unread message

jetm

unread,
Oct 28, 2008, 1:13:13 PM10/28/08
to ie7-js
Hi:

I'm using IE8.js localy/remote and show me this error:

Error Message: 'w' is null or not an object
Line: 3
Character: 37974
Code: 0

TIA,
JETM

Christian Jarhult

unread,
Oct 29, 2008, 2:43:56 AM10/29/08
to ie7...@googlegroups.com
This should of course not be happening, but we need more info to help you. Do you have a link to your page? You can also try the development version if you haven't already (http://ie7-js.googlecode.com/svn/trunk/lib/IE8.js).

2008/10/28 jetm <javie...@gmail.com>

jetm

unread,
Oct 29, 2008, 2:39:27 PM10/29/08
to ie7-js
Hi Christian:

I can't offer you a link but the problem have relation with framesets,
another people [1] [2] have the same problem.

I'm modifying a old and big application in ASP/VBscript with many
Framesets.

I test too the development version and continue because the Framesets
is the problem.

Any suggestion or idea for to fix this?

TIA,

[1] http://code.google.com/p/ie7-js/issues/detail?id=57
[2] http://groups.google.com/group/ie7-js/browse_thread/thread/e6fb183a45dafa53

On Oct 29, 12:43 am, "Christian Jarhult" <svar...@gmail.com> wrote:
> This should of course not be happening, but we need more info to help you.
> Do you have a link to your page? You can also try the development version if
> you haven't already (http://ie7-js.googlecode.com/svn/trunk/lib/IE8.js).
>
> 2008/10/28 jetm <javier....@gmail.com>

Wilfried

unread,
Nov 11, 2008, 2:43:39 PM11/11/08
to ie7-js
Find the statement:

w=document.body;

and replace it with:

if(document.body)
{
w=document.body;
}
else
{
w=document;
}

That should fix you within the frame. I just ran into the problem and
that did it for me. TIAS, no guarantees though.

jetm

unread,
Nov 27, 2008, 7:27:15 PM11/27/08
to ie7-js

Tested and don't work fine... Appears another errors like this:

Line: 2294
Char: 3
Error: Unspecified error.
Code: 0

jetm

BubikolRamios

unread,
Jan 21, 2009, 3:42:27 PM1/21/09
to ie7-js
the solution for iframe is to put the thing on bottom, like:

<!--[if lt IE 8]>
<script src="../js/IE8.js" type="text/javascript"></script>
<![endif]-->

</body>
</html>

do not change .js code in any way !
Reply all
Reply to author
Forward
0 new messages