Java Script tutorial 12
Today I am going to show you how to make such a popup window or how to open new window
newWindow = window.open(URL, "Dotnetlovers",
<p>Dotnetlovers is a good website for learn any type of coding techniques.</p>
<h4>Click below on logo of Dotnetlovers:</h4>
<img src="dotnetlovers.png" alt="Professional Ajax, 2nd Edition" border="0"
Here in above code we created an image control and onclick event bounded with function change() with parameter URL of page which we wanted to open. In the function we created variable newWindow which gets the identity of new opened window. We use here window.open with three arguments, first is URL of window to be opened and second is a small description or may be title of that window and third is a group of characteristics of new window like width, height, scrollbars, resizable, location, menu-bar etc.