Jun
04
2008
Pop Up window with flash PDF Print E-mail

Step 1

In FLASH code

In Flash code,In actions choose the GET URL function and paste in following code:

javascript:openNewWindow('somePage.html','thewin',
 'height=100,width=250,toolbar=no,scrollbars=yes');
 
Where somePage.html is the filename or URL of the page or site you wish to pop up.

 

Step 2

In HTML code

Paste this code exactly as it appears below, between the HEAD tags in the HTML source.

 
<script language="JavaScript">
     function openNewWindow(URLtoOpen, windowName, windowFeatures) {
         newWindow=window.open(URLtoOpen, windowName, windowFeatures);
     }
</script>


Add the following parameter inside the <EMBED> tag in your HTML page which houses the SWF file:

 
swLiveConnect=true NAME=yourmovie.swf
Replace "yourmovie" with the name of flash movie. You can put it anywhere inside the <EMBED> tag, but perhaps the best place would be after the WIDTH and HEIGHT parameters

 

 

 
< Prev   Next >

Gallery Photography

Login

Sponsors


Get Chitika Premium