It can live anywhere on the html page between script tags (browser default
the script language to JS). But it is best to keep it in the head if
possible.

So it would look like:

<html>
<head>
  <title></title>
   <script>
    myJSfunction() {
     }
   </script>
</head>
<body>
the shockwave movie that calls myJSfunction()
</body>
</html>



----- Original Message -----
From: "Kerry Thompson" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, January 24, 2001 5:03 PM
Subject: <lingo-l> JavaScript call


> This is really basic, but I'm just learning JavaScript...
>
> I have a custom JavaScript function we've written, and I need to call it
> with goToNetPage.
>
> The question is this: where does that JavaScript function need to live for
> Director to find it? I can't use the HTML src attribute, I don't think.
>
> Cordially,
> Kerry Thompson
> Learning Network
>
>
> [To remove yourself from this list, or to change to digest mode, go to
> http://www.penworks.com/LUJ/lingo-l.cgi  To post messages to the list,
> email [EMAIL PROTECTED]  (Problems, email [EMAIL PROTECTED])
> Lingo-L is for learning and helping with programming Lingo.  Thanks!]
>
>


[To remove yourself from this list, or to change to digest mode, go to
http://www.penworks.com/LUJ/lingo-l.cgi  To post messages to the list,
email [EMAIL PROTECTED]  (Problems, email [EMAIL PROTECTED])
Lingo-L is for learning and helping with programming Lingo.  Thanks!]

Reply via email to