| Home | Tutorials | Forums | Articles | Blogs | Movies | Library | Employment | Press | Buy templates |
|
|
#1 |
|
Registered User
Join Date: Jun 2001
Location: Toronto
Posts: 6
|
Hello
I want my Flash movie to pop up when a user clicks on a link in my web page. Does anyone know the HTML code so that the window pops up, the size of the flash movie when the user clicks on the link? Thanks Carlos |
|
|
|
|
|
#2 |
|
Wind Chaser
Join Date: Feb 2001
Location: Calgary, Canada
Posts: 306
|
|
|
|
|
|
|
|
|
|
#3 |
|
Registered User
Join Date: Jun 2001
Location: Toronto
Posts: 6
|
Thanks for your help Arturo but what I want is a straight
up html link <a href> ..... </a> that when you click on it the pop up window opens and the flash movie plays.... Thanks |
|
|
|
|
|
#4 |
|
Registered User
|
<HTML>
<HEAD> <TITLE>actionscripts.org</TITLE> <script> <!-- hide it function open_window(url) { email = window.open(url,"eMail",'toolbar=0,location=0,dire ctories=0,status=0,menubar=0,scrollbars=yes,resiza ble=0,width=750,height=550'); } // --> </script> </HEAD> <BODY> <a href="javascript:open_window('yourpage.shtml')">cl ick here to open</a> </BODY> </HTML> |
|
|
|
|
|
#5 |
|
Registered User
Join Date: Jun 2001
Location: Toronto
Posts: 6
|
Hello and thanks for your reply I was just wondering what the "email" is for in the tag above that you provided me?!?!?!
Thanks again! Losse |
|
|
|
|
|
#6 |
|
Registered User
|
It's just a target-name for Pop-up window
There's an example with "eMail" and "eMail2"--- in this case you'll have 2 separate popup-windows but if you'll change "eMail2" to "eMail" than every time you'll open popup in the same window <HTML> <HEAD> <TITLE>actionscripts.org</TITLE> <script> <!-- hide it function open_window(url) { email = window.open(url,"eMail",'toolbar=0,location=0,dire ctories=0,status=0,menubar=0,scrollbars=yes,resiza ble=0,width=750,height=550'); } function open_window2(url) { email = window.open(url,"eMail2",'toolbar=0,location=0,dir ectories=0,status=0,menubar=0,scrollbars=yes,resiz able=0,width=300,height=400'); } // --> </script> </HEAD> <BODY> <a href="javascript:open_window('blank.htm')">click here to open1</a><br> <a href="javascript:open_window2('http://www.actionscripts.org/index.shtml')">click here to open2</a> </BODY> </HTML> |
|
|
|
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Tutorial for Launching a Centered Pop-Up Window | vazbo | ActionScript 1.0 (and below) | 9 | 01-02-2010 12:01 AM |
| Browser Pop up window scripts | Nicidemus | ActionScript 1.0 (and below) | 2 | 11-12-2003 03:00 PM |
| Problem in pop up window. | NovNov | ActionScript 1.0 (and below) | 3 | 07-11-2003 04:25 AM |
| Pop up window from another pop up window | ecwashere7 | ActionScript 1.0 (and below) | 1 | 01-09-2002 10:37 PM |
| Close/Open new pop up window | bcmuth | ActionScript 1.0 (and below) | 3 | 06-25-2001 03:16 AM |