Flasher Archive

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


Subject: RE: FLASH: Trouble opening new window.
From: Jason Bouwmeester
Date: Wed, 16 Feb 2000 18:56:48 GMT

Paul,

That makes sense. You might need to put Get URL"(javascript:shout();)" (not
sure if the ; is important or not). The only other thing I can see is that
you are missing a " in front of toolbar - surprised you aren't getting an
error from that. If you are getting an error what is it?

jb (and your not being a pain =0) )

-----Original Message-----
From: Paul Kilgour [paulkatmobilixnet [dot] dk (mailto:paulkatmobilixnet [dot] dk)]
Sent: Wednesday, February 16, 2000 11:41 AM
To: flasheratchinwag [dot] com
Subject: Re: FLASH: Trouble opening new window.


Jason,

Thanks for all your kind help. Unfortunately it's still not working.

I've entered this in the html of the main flash movie:


<title>portfolio2000</title>
<script language="JavaScript">
<!--
function shout() {

window.open("http://www.mobilixnet.dk/~mob33150/shout.html","shout",toolbar=
0,scrollbars=0,resizable=0,height=231,width=319");
}
// -->
</script>


'portfolio2000' is the name of the main movie, so goes between <title> and
</title>. Yes?

'shout' is the name of the new html page I want loaded in new window. So:
function shout() {

In the action for the button that triggers the new window I've put:
Get URL ("javascript:shout()") Window: is left clear.

I'm sorry if it seems like I'm going round and round in circles here, but
nothing I do seems to work.

Sorry to be a pain.

Regards,

Paul.


> Makes perfect sense. This code goes into the page that contains the
initial
> swf, not the page being loaded. To put them all into the main movie just
> name each function different and continue on beneath, for example:
>
> <title>shout</title>
> <script language="JavaScript">
> <!--
> function window1() {
>
window.open("http://www.mobilixnet.dk/~mob33150/window1.html","window1",tool
> bar=
> 0,scrollbars=0,resizable=0,height=350,width=600");
> }
> function window2() {
>
window.open("http://www.mobilixnet.dk/~mob33150/window2.html","window2",tool
> bar=
> 0,scrollbars=0,resizable=0,height=350,width=600");
> }
> function window3() {
>
window.open("http://www.mobilixnet.dk/~mob33150/window3.html","window3",tool
> bar=
> 0,scrollbars=0,resizable=0,height=350,width=600");
> }
> // -->
> </script>
>
> and so on. I would title the page not shout but whatever your main page is
> called, the title for shout will go in shout.html.
>
> Now, IF your windows are all the same size you could simplify the code to
> one function and just have it pass an argument to load the correct html
page
> but this gets a bit tricky.
>
> Hope this helps clarify things.
>
> Jason
>
> -----Original Message-----
> From: Paul Kilgour [paulkatmobilixnet [dot] dk (mailto:paulkatmobilixnet [dot] dk)]
> Sent: Wednesday, February 16, 2000 9:54 AM
> To: flasheratchinwag [dot] com
> Subject: Re: FLASH: Trouble opening new window.
>
>
> Jason,
>
>> I've laid out some script/explanations at
>> http://139.142.142.166/popupwindow.htm - part of your problem is your get
>> URL, you should be getting ("javascript:newwin()") instead of the http://
>> you have in there.
>>
> OK. So I put ("javascript:shout()")
>
> shout being the name of the html file I want opened in a new window.
>
> Then I have this script between <head> and </head>. (Sorry, I'm not an
HTML
> person).
>
>
> <title>shout</title>
> <script language="JavaScript">
> <!--
> function shout() {
>
>
window.open("http://www.mobilixnet.dk/~mob33150/shout.html","shout",toolbar=
> 0,scrollbars=0,resizable=0,height=350,width=600");
> }
> // -->
> </script>
>
>
> shout is the name of the html file and the name for the new window.
>
> Do I put this in the html for the main movie or in the html for the new
> window? i.e, I've put the swf for the new window into Dreamweaver. Do I
put
> the above script in there? Or in the main movie?
>
> Sorry to be thick, but if it goes in the main movie, I have 23 buttons
that
> open new windows - how do I put them all in the same document?
>
> I hope this makes sense!!
>
> Regards,
>
> Paul.
>
> flasher is generously supported by...
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> flashforward2000 and The Flash Film Festival
> "The World's Premier Flash Solutions Conference and Expo"
> March 27-29, Nob Hill Masonic Center, San Francisco, California
>
> -Register before Feb 25 and save $200!!-- www.flashforward2000.com
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> To unsubscribe or change your list settings go to
> http://www.chinwag.com/flasher or email helpatchinwag [dot] com
>
> flasher is generously supported by...
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> flashforward2000 and The Flash Film Festival
> "The World's Premier Flash Solutions Conference and Expo"
> March 27-29, Nob Hill Masonic Center, San Francisco, California
>
> -Register before Feb 25 and save $200!!-- www.flashforward2000.com
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> To unsubscribe or change your list settings go to
> http://www.chinwag.com/flasher or email helpatchinwag [dot] com
>

flasher is generously supported by...
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
flashforward2000 and The Flash Film Festival
"The World's Premier Flash Solutions Conference and Expo"
March 27-29, Nob Hill Masonic Center, San Francisco, California

-Register before Feb 25 and save $200!!-- www.flashforward2000.com
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
To unsubscribe or change your list settings go to
http://www.chinwag.com/flasher or email helpatchinwag [dot] com

flasher is generously supported by...
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
flashforward2000 and The Flash Film Festival
"The Worlds Premier Flash Solutions Conference and Expo"
March 27-29, Nob Hill Masonic Center, San Francisco, California

-Register before Feb 25 and save $200!!-- www.flashforward2000.com
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
To unsubscribe or change your list settings go to
http://www.chinwag.com/flasher or email helpatchinwag [dot] com


Replies
  Re: FLASH: Trouble opening new window., Mike Krisher

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