| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
Open a swf file in new window
Hello, could somebody tell me how to open a swf file in new window. I want to click in a link and open in a new window a flash movie (.swf) but the window to keep the size acording to the sizes of the .swf file
Thanks a lot. |
|
#2
|
||||
|
||||
|
I've set my browser to prevent web-pages from opening things in new windows. IMO, the user should always be in control. So why do you want an SWF to appear in a new window?
Anyway, you'll want to do this: Code:
<a href="path/to/your.swf" title="View the SWF, this link opens in a new window" target="_blank">View SWF</a>(opens in a new window) Note that this code is NOT valid XHTML. |
|
#3
|
||||
|
||||
|
Quote:
Ohhhh, that requires the use of a bit of Javascript then ![]() Look up the use of the Open method for the Window object. There's a number of string, comma-delimited parameters you can specify to set the dimensions of the new window. ...but as of before, it won't work on my browser, because I'm in control. |
![]() |
| Viewing: ASP Free Forums > Web Design > Multimedia > Open a swf file in new window |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|