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?

8 of 9 people (89%) answered Yes
Recently 8 of 9 people (89%) answered Yes

Entry

I want to open a new popup window automatically if web page is displayed without using javascript ?

Mar 5th, 2007 21:47
Srujan Mishra, Hemant K Dugar, Srujan Mishra


Well using Java Script would be an appropriate option to open a new 
popup window. But in case if you want to avoid Java Script, then you 
can use the <A> tag in HTML.
Something like <a href="page.html" target="_blank">Page Name</a>
You can assign the above code to some 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