PDA

View Full Version : Error on JavaScript Snippet with HTML Text Links



ETpro
08-25-2004, 10:55 PM
I'm trying to use a bit of JS code to enhance an HTML text link menu. What I want to do is make the entire table cell clickable for a HTML link. My code is like this:
<TD colspan="4" background="http://lib1.store.vip.sc5.yahoo.com/lib/elevatorbooks/butt1back.gif"
align="right" onclick="window.location.href='index.html';"><A
HREF="index.html" class="NavBlue">HOME</A></TD>This works great to make the entire cell clickable, but if Script error checking is turned on in IE, it pops an error saying "Undetermined Script Constant". I've tried every way I can think of to format this. Nothing helps. Any ideas would be greatly appreciated.

ETpro
08-28-2004, 10:52 PM
On further examination, it looks as if it may not be that snip of code. I have that same code in other pages that are behaving just fine. IE's error checker is barking about the first line that has that code, but I'm thinking it may be an interaction between something else that sets IE looking for a terminator in that string. The URL is http://www.elevatorbooks.com/. Would be very grateful if anyone could point me to what's going on.