[thelist] javascripting woes

the head lemur headlemur at lemurzone.com
Fri Jul 13 15:13:27 CDT 2001


my brain is soft! I am using this javascript:


<script language="JavaScript" type="text/javascript">
<!-- Hide JavaScript from Java-Impaired Browsers
  function NavRollOver(oTd) {if (!oTd.contains(event.fromElement))
{oTd.bgColor="#ffffff";}}
  function NavRollOut(oTd) {if (!oTd.contains(event.toElement))
{oTd.bgColor="#66ffff";}}
// End Hiding -->
</script>

for a cheap rollover in a table
<td bgcolor="#66ffff" onMouseOver=NavRollOver(this);
onMouseOut=NavRollOut(this);>

the validator returns invalid due to needing :Quoted string, alphanum string
or dynamic expression.

help!!





More information about the thelist mailing list