Tuesday, August 19, 2008

Popup Window Javascript code

function OpenWindow()
{
var x,y;
x = 525; /* width of the window */
y = 625; /* height of the window */
var url_is = 'http://evergreenphp.blogspot.com/2008/08/popup-window-javascript-code.html';

/* resizable=no -- this window will not resizable, if you want to resize then "resizable=yes" */
window.open(url_is,this.target,'width='+x+',height='+y+',left=5,top=5,scrollbars, resizable=no');
}

No comments:

Popular Posts