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.
<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.