January 2nd, 2005, 04:33 AM
|
#1 (permalink)
| | Ultimate Member
Join Date: Jun 2002 Location: Vancouver, WA, USA
Posts: 2,693
| JavaScript Error in IE6, but not FF 1
__________________
http://www.implexant.com
|
| |
January 2nd, 2005, 07:05 AM
|
#2 (permalink)
| | Ultimate Member
Join Date: Dec 2004
Posts: 1,558
| Code: line 45:
<td width="172" bgcolor="#000000" style="font-family: Arial; font-size: 10pt;>
missing quote after 10pt; Code: line 95:
<td width="172" bgcolor="#5F5F5F" style="font-family: Arial; font-size: 10pt;>
missing quote after 10pt; Code: line 96:
<p align=">
missing quote after align=" Now that that's done, about your error. You're getting that error because it's trying to assign non-existent data to the element. In other words, you don't have a getCookie() function defined in javascript. If you need one, here's one I made: Code: function getCookie(cookieName){
var cookieValue = null;
if(document.cookie){ //only if exists
var arr = document.cookie.split((escape(cookieName) + '='));
if(2 <= arr.length){
var arr2 = arr[1].split(';');
cookieValue = unescape(arr2[0]);
}
}
return cookieValue;
} Just stick that in the external JS file (stm31. js) and it should be working fine.
If you don't already use a program to do syntax highlighting, I would suggest you do. It really helps track down some evasive bugs. Araneae - basically notepad with syntax highlighting Crimson Editor - a lot more features PHPEdit - aimed more at editting PHP (duh)but still good for html, simple and useful but I stopped it using like 2 years ago for some reason. I think it's because it changed some setting in the Windows context menu shell and it didn't ask me so I got mad and stopped using it (yeah, I'm that anal); but overall still a good tool.
Last edited by large_nostril : January 2nd, 2005 at 07:08 AM.
|
| |
January 2nd, 2005, 10:49 PM
|
#3 (permalink)
| | Ultimate Member
Join Date: Jun 2002 Location: Vancouver, WA, USA
Posts: 2,693
|
You're a bloody genious
Thanks a bundle.
I'll check into some of those programs, I didn't code the JavaScript, however, it came with my DHTML Nav bar making program.
Thanks again,
-Chris |
| |
January 2nd, 2005, 11:20 PM
|
#4 (permalink)
| | Ultimate Member
Join Date: Dec 2004
Posts: 1,558
| Thanks, I try to be .
Just glad I could help. |
| | |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | | |
Posting Rules
| You may post new threads You may post replies You may not post attachments You may not edit your posts HTML code is Off | | | | Most Active Discussions | | | | | Recent Discussions  | | | | | |