faqts : Computers : Programming : Languages : PHP : Not Quite PHP : Javascript

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

33 of 47 people (70%) answered Yes
Recently 7 of 10 people (70%) answered Yes

Entry

How do I automatically open a URL in a new browser window?

Mar 28th, 2008 17:56
ha mo, Nathan Wallace, Christophe LAUER


Use the JavaScript window.open, like this :

window.open(
    'http://someserver/whateveruwant.html',
    'targetname',
   
'location=no,toolbar=no,status=no,directories=no,scrollbars=no,width=490,height=280');






http://www.tantofa.com
http://www.fantofa.com
http://www.mantofa.com
http://www.tanpola.com
http://www.tampola.com
http://www.yamot.com
http://www.mozmar.com
http://www.templatestemp.com