Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Window options settings onload

Status
Not open for further replies.

eladi

Programmer
Sep 4, 2001
80
AU
hi all,

this might have been answered before. sorry 'bout that. but i didn't find the answer anywhereelse.

k. i know how to set the options of a pop-up window with the open method of the window object. i can't use this method though, as (for some strange reason) i have a problem using javascript from the flash movie that i am creating. my (akward) solution is, that i simply open a html from flash - and that this new opened file does the settings for itself (height, witdh, toolbar and so on). but i can't find out how to do the options settings. the size is easy with self.resizeTo. is there no javascript method to change the window options?

tnx in advance
adrian
 
open the new window, but make it a blank screen that opens the new window, using what you know from window.open and then add (after everything is opened):
self.close();

If you opened the window yourself, it won't display the prompt to other users.

Rick
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top