faqts : Computers : Programming : Languages : JavaScript

+ Search
Add Entry AlertManage Folder Edit Entry Add page to http://del.icio.us/
Did You Find This Entry Useful?

17 of 102 people (17%) answered Yes
Recently 2 of 10 people (20%) answered Yes

Entry

How can I use window.moveTo() with window.open(). Eg:Open a minimized window when I clik in a link?!

Apr 7th, 2008 23:45
ha mo, Russ Locke, Dineu Assis,


I'm going to guess that you want a window opened off screen, not 
minimized.
To do this...
var new_window = window.open
('my_hidden_window.html','OFFSCREEN','scrollbars=no,resizable=no,width=
500,height=200,top=9999,left=9999');
Notice the top and left attributes. Next, by using the new_window 
variable you can perform other tasks later in code such as bringing 
the window into view the the moveTo.
http://www.businessian.com
http://www.computerstan.com
http://www.financestan.com
http://www.healthstan.com
http://www.internetstan.com
http://www.moneyenews.com
http://www.technologystan.com
http://www.zobab.com
http://www.healthinhealth.com