Forums
This topic is locked
Error on page
Posted 17 Feb 2003 18:27:45
1
has voted
17 Feb 2003 18:27:45 Ryan Mullins posted:
Does anyone know how to sort this error out?Line: 20
Char: 4
Error: 'document[...]' is null or not an object
code:0
Replies
Replied 17 Feb 2003 21:06:51
17 Feb 2003 21:06:51 Marja Ribbers-de Vroed replied:
<BLOCKQUOTE id=quote><font size=1 face="Verdana, Arial, Helvetica" id=quote>quote:<hr height=1 noshade id=quote>
Does anyone know how to sort this error out?
Line: 20
Char: 4
Error: 'document[...]' is null or not an object
code:0
<hr height=1 noshade id=quote></BLOCKQUOTE id=quote></font id=quote><font face="Verdana, Arial, Helvetica" size=2 id=quote>
That's by far not enough information to help you.
Do you have an URL for the page where that error occurs?
--
Marja Ribbers-de Vroed
www.flevooware.nl
www.flevooware.nl/dreamweaver/
Does anyone know how to sort this error out?
Line: 20
Char: 4
Error: 'document[...]' is null or not an object
code:0
<hr height=1 noshade id=quote></BLOCKQUOTE id=quote></font id=quote><font face="Verdana, Arial, Helvetica" size=2 id=quote>
That's by far not enough information to help you.
Do you have an URL for the page where that error occurs?
--
Marja Ribbers-de Vroed
www.flevooware.nl
www.flevooware.nl/dreamweaver/
Replied 18 Feb 2003 11:47:33
18 Feb 2003 11:47:33 Ryan Mullins replied:
Hi there
the URL is ....
homepage.ntlworld.com/ryanandkate/YANKTANK/home.html
Only seems to happen on the buttons at the top ie home calender etc.
Pages still work with ie but crash pages in aol browser?!?!
Pages built with a combination of image ready and dreamweaver.
Thankyou for taking a look <img src=../images/dmxzone/forum/icon_smile.gif border=0 align=middle>
<BLOCKQUOTE id=quote><font size=1 face="Verdana, Arial, Helvetica" id=quote>quote:<hr height=1 noshade id=quote>
Does anyone know how to sort this error out?
Line: 20
Char: 4
Error: 'document[...]' is null or not an object
code:0
<hr height=1 noshade id=quote></BLOCKQUOTE id=quote></font id=quote><font face="Verdana, Arial, Helvetica" size=2 id=quote>
the URL is ....
homepage.ntlworld.com/ryanandkate/YANKTANK/home.html
Only seems to happen on the buttons at the top ie home calender etc.
Pages still work with ie but crash pages in aol browser?!?!
Pages built with a combination of image ready and dreamweaver.
Thankyou for taking a look <img src=../images/dmxzone/forum/icon_smile.gif border=0 align=middle>
<BLOCKQUOTE id=quote><font size=1 face="Verdana, Arial, Helvetica" id=quote>quote:<hr height=1 noshade id=quote>
Does anyone know how to sort this error out?
Line: 20
Char: 4
Error: 'document[...]' is null or not an object
code:0
<hr height=1 noshade id=quote></BLOCKQUOTE id=quote></font id=quote><font face="Verdana, Arial, Helvetica" size=2 id=quote>
Replied 18 Feb 2003 12:09:02
18 Feb 2003 12:09:02 Marja Ribbers-de Vroed replied:
The error occurs in the following JavaScript function on your page:
<pre id=code><font face=courier size=2 id=code>
function changeImages() {
if (document.images && (preloadFlag == true)) {
for (var i=0; i<changeImages.arguments.length; i+=2) {
document[changeImages.arguments[i]].src = changeImages.arguments[i+1];
}
}
}
</font id=code></pre id=code>
The error means that this function can't find the image object for one of the image names that was passed as an argument to the function.
Some of the image file names passed on to this function have '..' in their name, eg. 'images/template4.com_20-template4..gif' instead of 'images/template4.com_20-template4.gif'
Do these images really have double .'s in their file names?
If not, try replacing '..' with '.' and see how that goes.
--
Marja Ribbers-de Vroed
www.flevooware.nl
www.flevooware.nl/dreamweaver/
<pre id=code><font face=courier size=2 id=code>
function changeImages() {
if (document.images && (preloadFlag == true)) {
for (var i=0; i<changeImages.arguments.length; i+=2) {
document[changeImages.arguments[i]].src = changeImages.arguments[i+1];
}
}
}
</font id=code></pre id=code>
The error means that this function can't find the image object for one of the image names that was passed as an argument to the function.
Some of the image file names passed on to this function have '..' in their name, eg. 'images/template4.com_20-template4..gif' instead of 'images/template4.com_20-template4.gif'
Do these images really have double .'s in their file names?
If not, try replacing '..' with '.' and see how that goes.
--
Marja Ribbers-de Vroed
www.flevooware.nl
www.flevooware.nl/dreamweaver/
Replied 18 Feb 2003 15:29:34
18 Feb 2003 15:29:34 Ryan Mullins replied:
Hi Marja
Seems to have worked but how fiddly....
Not sure where the double dots came from?
Thankyou very much for your help. Now we can launch the site.
<img src=../images/dmxzone/forum/icon_smile.gif border=0 align=middle>
<BLOCKQUOTE id=quote><font size=1 face="Verdana, Arial, Helvetica" id=quote>quote:<hr height=1 noshade id=quote>
The error occurs in the following JavaScript function on your page:
<pre id=code><font face=courier size=2 id=code>
function changeImages() {
if (document.images && (preloadFlag == true)) {
for (var i=0; i<changeImages.arguments.length; i+=2) {
document[changeImages.arguments[i]].src = changeImages.arguments[i+1];
}
}
}
</font id=code></pre id=code>
The error means that this function can't find the image object for one of the image names that was passed as an argument to the function.
Some of the image file names passed on to this function have '..' in their name, eg. 'images/template4.com_20-template4..gif' instead of 'images/template4.com_20-template4.gif'
Do these images really have double .'s in their file names?
If not, try replacing '..' with '.' and see how that goes.
--
Marja Ribbers-de Vroed
www.flevooware.nl
www.flevooware.nl/dreamweaver/
<hr height=1 noshade id=quote></BLOCKQUOTE id=quote></font id=quote><font face="Verdana, Arial, Helvetica" size=2 id=quote>
Seems to have worked but how fiddly....
Not sure where the double dots came from?
Thankyou very much for your help. Now we can launch the site.
<img src=../images/dmxzone/forum/icon_smile.gif border=0 align=middle>
<BLOCKQUOTE id=quote><font size=1 face="Verdana, Arial, Helvetica" id=quote>quote:<hr height=1 noshade id=quote>
The error occurs in the following JavaScript function on your page:
<pre id=code><font face=courier size=2 id=code>
function changeImages() {
if (document.images && (preloadFlag == true)) {
for (var i=0; i<changeImages.arguments.length; i+=2) {
document[changeImages.arguments[i]].src = changeImages.arguments[i+1];
}
}
}
</font id=code></pre id=code>
The error means that this function can't find the image object for one of the image names that was passed as an argument to the function.
Some of the image file names passed on to this function have '..' in their name, eg. 'images/template4.com_20-template4..gif' instead of 'images/template4.com_20-template4.gif'
Do these images really have double .'s in their file names?
If not, try replacing '..' with '.' and see how that goes.
--
Marja Ribbers-de Vroed
www.flevooware.nl
www.flevooware.nl/dreamweaver/
<hr height=1 noshade id=quote></BLOCKQUOTE id=quote></font id=quote><font face="Verdana, Arial, Helvetica" size=2 id=quote>