Hi Kerry

Example:


<head>
<title></title>
<script language = "Javascript">
function openBrowserWindow(url,name,params){
        window.open(url,name,params);
        }
</Script>
</head>
<body>
        object......
        embed......
</body>

Then within director:

on mouseUp me

goToNetPage("Javascript:openBrowserWindow('someWindow.htm','swWindow','toolb
ar=0,location=0,directories=0,status=0,menubar=0,scrollbars=0,resizable=0,wi
dth=300,height=400')")
end mouseUp


I left out the html tags just to make sure that some email program doesn't
attempt to render the program as html.

Sincerely

Mark

--------------------------------------------
Mark R. Jonkman
Mark R. Jonkman Consulting
ADDRESS: 20 Windermere Crt., Guelph, ON, CANADA N1E 3L4
PHONE: 519-837-8509
EMAIL: [EMAIL PROTECTED]
--------------------------------------------

> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On
> Behalf Of Kerry Thompson
> Sent: Wednesday, January 24, 2001 8:03 PM
> To: [EMAIL PROTECTED]
> 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