Click to See Complete Forum and Search --> : need some help


bobby shafto
02-24-2006, 08:27 AM
Can someone help with this,
im using a popup to view multiple images on different buttons, when i click it works fine but when i click the next the popup ,goes behind.....how can i force the pop up to stay at the front?
Thx in advance.

this is the code

<!-------------------------------------------------------
<html>
<head>
<title>Untitled Document</title>
<script language="JavaScript">
<!--
function Start(page)
{
OpenWin = this.open(page, "CtrlWindow","toolbar=no,menubar=no,location=no,scrollbars=no,resizable=no,status=no,width=250,height=250,left=250 ,top=175,");
}
//-->
</script>
</head>

<body>
<a href="javascript:void(0);" onclick="javascript:Start ('storage.html');">Click Here</a>
<a href="javascript:void(0);" onclick="javascript:Start ('paper.html');">Click Here</a>
</body>
</html>
<!--------------------------------------------------------------

jalarie
02-24-2006, 10:00 AM
Add "OpenWin.focus();" to the end of your funciton.

bobby shafto
02-24-2006, 11:31 AM
Thx man :D really helpful ppl here.