Flasher Archive
[Previous] [Next] - [Index] [Thread Index] - [Previous in Thread] [Next in Thread]
Subject: | RE: FLASH: Javascript OpenWindow in Flash |
From: | JGL |
Date: | Thu, 20 Jul 2000 11:50:27 +0100 |
Try this for your button action:
javascript:window.open('./main.html','windowname','scrollbars=1,location=1,r
esizable=0,toolbar=0,status=0,locationbar=0,width=50,height=50,location.href
='#')", window="_self")
jgl
-----Original Message-----
I wish to spawn new pop-up windows from a Flash file, but I want those
windows to be non-resizeable, but I do want them to have the scrollbars. I
don't know the correct syntax....help is (as always) greatly appreciated...
here is the javascript I have on the HTML page with the embedded Flash file:
----------------------------------------------------------------------------
---------------
<script language="JavaScript">
<!-- hide from JavaScript-challenged browsers
function openWindow(url, w, h) {
var windowprops = "width=" + w + ",height=" + h;
popup = window.open(url,'remote',windowprops);
}
// done hiding -->
</script>
and within the FLASH file I have the following within my GetUrl action:
JavaScript:openWindow("main.html", "50", "50")
----------------------------------------------------------------------------
---------------
Now, all I need to know is what I have to put in the openWindow command so
that my new window has EITHER (or both) vertical and/or horizontal
scrollbars.
flasher is generously supported by...
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
flashforward2000 and the Flash(tm) Film Festival
July 24-26, 2000, NEW YORK CITY, Hammerstein Ballroom
www.flashforward2000.com
Produced by United Digital Artists and lynda.com
Sponsored by Macromedia, Adobe Systems, Fusion, Inc, AtomFilms,
shockwave.com and Electric Rain.
1.877.4.FLASH.4 or (1.805.640.6679 outside the US and Canada)
Register before June 30 and save $200!!-- www.flashforward2000.com
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
To unsubscribe or change your list settings go to
http://www.chinwag.com/flasher or email helpchinwag [dot] com
Replies
FLASH: Javascript OpenWindow in Flash, oneflashtwelve
[Previous] [Next] - [Index] [Thread Index] - [Next in Thread] [Previous in Thread]