Back To Start Of Archive
Taken From The Forum: Archived Topics for the old Version 3.0 JavaScript Menu
Forum Topic: Click to view post
Last Updated: Saturday July 14 2012 - 06:07:30
Invalid Argument Line 40 (solved)
Poster: alinford
Dated: Saturday May 17 2003 - 8:16:09 BST
I am getting an error in IE6 on the first mouseover. After that, it works fine. It also works fine in Mozilla and Opera at all times.
Line: 40
Char: 246
Error: Invalid argument
Code: 0
URL: http://dev.xxxxxxxxxxx.com/faq/index.php
Any ideas?
Answer:
Quote:
The problem was that I was using this:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
Instead of this:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
Instead of this:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">