Flasher Archive
[Previous] [Next] - [Index] [Thread Index] - [Previous in Thread] [Next in Thread]
Subject: | Re: [flasher] Opening Pop Up window from a flash movie |
From: | g.u.n |
Date: | Mon, 12 Feb 2001 11:53:48 -0000 |
john duffy wrote:
> Hi Everyone. Does anyone know the javascript code for opening a pop
> up window when clicking on a flash movie.
> I have a banner which i wnat to pop up a new window when the user
> clicks on it. I need to be able to set the browser properties, that
> is i don't want address bar,navigation bar,need it to be non
> resizeable and non scrolling. Therefore i cant use target=new.
one of the ways possible - place this script inside <head></head> in
html file, that contains swf:
<script language="javascript">
function popup() {
newwin=window.open('main.html','main',config='resize=no,width=300,height=200');
}
</script>
and in getUrl - javascript:popup()
hth,
/g.d/
--
http://www.dikobraz.com
[Previous] [Next] - [Index] [Thread Index] - [Next in Thread] [Previous in Thread]