Jump to content

Open Close


user4fun

Recommended Posts

var myucic = function open_winA(){win1 = window.open(" ") win2 = window.open(" ")window.setTimeout(myucic, 3000);if(win1 && win1.closed == false)		{		win1.close();		}if(win2 && win2.closed == false)		{		win2.close();		}win3 = window.open(" ") win4 = window.open(" ") window.setTimeout(myucic,3000);if(win4 && win4.closed == false)		{		win4.close();		}

This is a part of the code, does it seem right. The idea is toopen win1 and 2 WAIT 3 SECONDS close themopen win 3 and 4 WAIT 3 seconds and close themIf it is not right, how would i do that, also. How can i make them open up but still have the orginal page that started this function to stay on top.

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...