faqts : Computers : Programming : Languages : Html

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

1 of 1 people (100%) answered Yes
Recently 1 of 1 people (100%) answered Yes

Entry

If javascript is disabled, is there any way to open a new popup window when a page is loaded ?

Mar 5th, 2007 21:51
Srujan Mishra, Hemant K Dugar, www.w3schools.com


Wanna avoid Java Script? Sure! Go ahead with the Anchor tag.
Something like <a href="page.html" target="_blank">Page Name</a>
You can assign the above code to the 'onLoad' event. The target option 
is set to "_Blank". This means the page would open in a new window.
Other options that can be set to target are:
1._parent - the target URL will open in the parent frameset
2._self - the target URL will open in the same frame as it was clicked
3._top - the target URL will open in the full body of the window