Friday, May 15, 2009

Javascript for open popup in NewWindow:



function popUp(url, width, height) {
var intWidth=1000;
var intHeight=690;
var x='http://PersonalInformation.aspx';
if(width > 0) intWidth = width;
if(height > 0) intHeight = height;
var winPopUp = window.open(x + url,'popup','width=' + intWidth + ',height=' + intHeight + ',scrollbars,resizable,left=30,top=45');
if(typeof window.focus != 'undefined') javascript: winPopUp.focus();
}



PostBackUrl='javascript:popUp("",1024,600)'

No comments:

Post a Comment