Jump to content

[SOLVED] Popup window display on top of the main window?


sayedsohail

Recommended Posts

here i am able to open the popup window but when i close, it won't open it again.

any suggestions would be highly appreciated.

 

 

var newwindow=0;
function popup(mylink, windowname)
{
if (!window.focus) return true;




var href;
if (typeof(mylink) == 'string')
href=mylink;
else
href=mylink.href;
if (newwindow)
{newwindow.focus()}
else
{
newwindow=window.open(href, windowname, 'width=600,height=400,left=200,top=200,screenX=0,screenY=100,toolbar=no,location=no,directories=no,copyhistory=no,status=no,menubar=no,scrollbars=no,resizable=no');
return false;
}
}

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.