...

View Full Version : pop up window



ebco
06-07-2004, 12:36 PM
is there any restriction that we can not reduce the height of pop up window less than 100 if i want to keep 20px it is not reducing.



<html>
<head>
<title>Untitled</title>
<script language="javascript">
function popchk()
{
var abc=window.open("smallpopupwindow.htm","xyz","width=5,height=5,scroll=0,scrollbars=auto,toolbar=0,status=0")
}
</script>
</head>

<body leftmargin="0" topmargin="0">
<table cellpadding="0" cellspacing="0" border="0">
<tr><td valign="top" height="99"><a href="javascript:popchk()">Click Here</a></td></tr>
</table>
</body>
</html>

Willy Duitt
06-07-2004, 01:09 PM
What could you possibly need a popup window 5px X's 5px for?

jbot
06-07-2004, 01:53 PM
is there any restriction that we can not reduce the height of pop up window less than 100 if i want to keep 20px it is not reducing.

yes, and for the same reasons as you cannot move them off screen. it's for security reasons. that way a site could easily run some nasty ActiveX or bug exploit scripts and append any data to a popup window.

are you up to no good, then? it's an odd request.



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum