open window (JAVASCRIPT)

Tags:

/* Open window*/
var windowHandle = ”;
function popOpen(url,name,attributes) {
windowHandle = window.open(url,name,attributes);
}

and then open the window like so:
<a href=”javascript:popOpen(‘/folder/showImage.exe/pdf?id=<%=IDNumber%>’,’Image’,’toolbar=no,resizable=yes,scrollbars=yes,left=0,top=0,screenX=0,screenY=0,width=’+w+’,height=’+h+”);”>

Comments

Leave a Reply

Your email address will not be published. Required fields are marked *