Flasher Archive

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


Subject: RE: FLASH: Open New Browser Window...
From: Eric Smollin
Date: Thu, 15 Jul 1999 22:44:25 +0100

>I have created a series of buttons that when clicked should open up a new
>browser window, specifically a window that is 205 pixels wide and 350
pixels
>in height that has no scrollbars or any other navigation buttons from the
>browser, I am going to use them as navigation palettes. The palettes are
>going to be used for links to recipe listings and will be done in just
>regular HTML so it can easily be updated by the client. I know I need to
use
>a javascript in HTML to open a new window but I am not sure exactly how I
>call it out in flash to do that type of action, any help would be greatly
>appreciated.


In the HTML page that your .swf is in, include the following JavaScript:

<SCRIPT LANGUAGE="JavaScript">
<!--
function openwindow() {

window.open("YourPage.htm","windowName","toolbar=no,width=205,height=350,sta
tus=no,scrollbars=no,resize=no,menubar=no");
}
-->
</script>

Give your button a Get URL action and include the following for the URL:

"javascript: openwindow()"

Good Luck

-Eric-

------------------------------------------------------------------------
To UNSUBSCRIBE send: unsubscribe flasher in the body of an
email to list-manageratshocker [dot] com. Problems to: owneratshocker [dot] com
N.B. Email address must be the same as the one you used to subscribe.
For info on digest mode send: info flasher to list-manageratshocker [dot] com


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