|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
Specifications For new window
I want to make a link in flash that opens a new window. I can do this fine. however, i also want to get rid of the address field, home, back, forward buttons, etc....and I want to make it a specific size and not be able to scroll, etc. How can I do this? Thanks
Dave Also, thanks to jmichels for taking care of my last question |
|
#2
|
||||
|
||||
|
Greetings,
In the button's actions panel, type this: on (release) { getURL("javascript:openNewWindow('http://www.your_url.com/your_file.htm','file','height=400,width=600,toolbar=no,scrollbars=no,left=95,top=96') "); } and then in the head of your html document type this: <script language="JavaScript"> <!-- function openNewWindow(URLtoOpen, windowName, windowFeatures) { newWindow=window.open(URLtoOpen, windowName, windowFeatures); } //--> </script> Sincerely, Jamie Michels www.thedarkcontent.com Last edited by jmichels : November 5th, 2003 at 12:40 AM. |
|
#3
|
||||
|
||||
|
For some reason in my last post it changed a bit of code. There should be no space between the words java and script by the get URL tag. Just make sure that you change that when you're in Flash.
|
![]() |
| Viewing: Dev Shed Forums > Web Design > Flash Help > Specifications For new window |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|