Flasher Archive

[Previous] [Next] - [Index] [Thread Index] - [Previous in Thread] [Next in Thread]


Subject: Re: Javascript and tables
From: Joe Crawford
Date: Tue, 30 Jun 1998 20:24:08 +0100

Jonas (I flew Hale Bop) wrote:
>
> If I have this <A HREF> inside of a table, calling a JavaScript function
> which is syntaxed in the <HEAD>.... will that also trigger this Netscape 3.0
> bug?
>
> Jason Nugent wrote:
> > ....netscape 3 does not support JavaSCript inside
> >of tables...

No - an event handler (like for a mouseover) is perfectly happy
inside an anchor <A HREF> tag...

like <TD><a href="home.html" onMouseover="image_activate()"
onMouseout="image_inactivate"><IMG></A></TD>


but not something like
<TD>
<script>
<!--
blah blah blah
//-->
</script?
</TD>

So you have to do this:
<script>
<!--
document.write("<TD>");
document.wrote("<script>")
etc... etc...
document.write("</TD>");
//-->
</script>

I hope that makes sense.

joeC

Joe Crawford > ArtLung = Artist + Respiratory Therapist <
> W e b D e s i g n e r <
> Los Angeles, California, USA <
> <artlungatearthlink [dot] net (mailto:artlungatearthlink [dot] net)> <
> <http://home.earthlink.net/~artlung/> <

------------------------------------------------------------------------
To UNSUBSCRIBE send: unsubscribe flasher in the body of an
email to list-manageratshocker [dot] com. Problems to: owneratshocker [dot] com
N.B. Email address must be the same as the one you used to subscribe.
For info on digest mode send: info flasher to list-manageratshocker [dot] com


Replies
  Re: Javascript and tables, Jonas (I flew Hale Bop)

[Previous] [Next] - [Index] [Thread Index] - [Next in Thread] [Previous in Thread]