I think the second way Mark mentions is the best way to go actually.

I have had problems (with Netscape) in the past when calling window.open
directly. It works fine for testing.  It seems to work better when placed in
a function and called from there, for example:

in the html <head>:
<script language="JavaScript">
<!--
function MM_openBrWindow(theURL,winName,features) {
  window.open(theURL,winName,features);
}
// -->
</script>

then in your dir piece you would have:

gototnetpage(javascript:MM_openBrWindow('foo.htm','WindowName','status=yes,s
crollbars=yes,resizable=yes,width=200,height=200');")

hth,
Rob


----- Original Message -----
From: "Mark R. Jonkman" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, January 23, 2001 9:05 PM
Subject: RE: <lingo-l> GoToNetPage and Window size


> Hi Kerry
>
> Rob's method is definitely the way to go if you are inside of shockwave, I
> ran an experiment on the weekend attempting to help someone doing that
from
> a projector. Unfortunately it kept causing all kinds of grief as it needed
> to open 2 windows, one to execute the javascript code and the other to be
> the popup. Hence the reason I asked whether it was in shockwave or
> projector.
>
> The only other way to do what you are doing would be to write the
javascript
> handler right in the html document that contains the shockwave piece. Then
> you would simply call that javascript handler passing it the required
> parameters using a method extremely close to what Rob posted.
>
> Take care.
>
> 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: Tuesday, January 23, 2001 11:58 PM
> > To: [EMAIL PROTECTED]
> > Subject: Re: <lingo-l> GoToNetPage and Window size
> >
> >
> >
> > >gotonetpage("javascript:window.open('foo.htm','WindowName','statu
> > s=yes,scrol
> > >lbars=yes,resizable=yes,width=200,height=200');")
> >
> > Cool, thanks Rob.
> >
> > >(is this just for testing? if not there is already a function to call)
> >
> > No, it's for a new page the customer wants--they want to click on
> > a record
> > button and have the recorder window pop up. It's kind of a funky
> > design--there are some pages with like 15 record buttons--one for each
> > word. I thought it would be better just to embed the Shockwave
> > recorder at
> > the top or bottom of the page instead of having the same window keep
> > popping up, but you know how customers can be :-)
> >
> >
> > 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!]
>


[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