Pop up Window

Add this javascript code in your html.


window.open("Page","Window Name", "menubar=no,width=430,height=360,toolbar=no");

Button 


   <input type="button" name="pop" value="Click to Pop"
onClick = window.open("http://developerguides.blogspot.com/","Pop1", "menubar=no,width=500,height=600,toolbar=no"); >








OptionValuesDescriptionVersion
locationyes|noDoes the location bar show?ver 1.0
menubaryes|noDoes the menubar show?ver 1.0
scrollbarsyes|noDo scrollbars show?ver 1.0
statusyes|noDoes the status bar show|ver 1.0
titlebaryes|noDoes the titlebar show?ver 1.0
toolbaryes|noDoes the toolbar show?ver 1.0
resizableyes|noCan you resize the window?ver 1.0
heightpixelsheight of windowver 1.0
widthpixelswidth of windowver 1.0
directoriesyes|noDoes the personal toolbar show?ver 1.2
innerHeightpixelsspecifies the inner height of windowver 1.2
innerWidthpixelsspecifies the inner width of windowver 1.2
screenXpixelsspecifies distance from left edge of screenver 1.2
screenYpixelsspecifies distance from top edge of screenver 1.2

Comments