Forum Moderators: open
<head>
<script language="javascript">
<!--
function pop_up()
{
window.open("something.htm","name","width=200,height=200");
}
//-->
</script>
</head>
<body>
<input type="button" value="New Window" onClick="pop_up();">
</body> you can add more stuff there, such as: location of the window, menubar, resizable, scrollbars, status, toolbar and so on. To set the attributes (only that are Booleans), you can assign them a value of "yes" or "no". You may also use "1 for yes" and "0 for no". Similarly, you can also define where you want your little window to pop up: such and such pixels from left and top.
screenX=100px,left=100px,screenY=100,top=100px
Note that screenX and screenY only work on NS and left and top only work on IE. Since you are trying to create a pop up window that works on both browsers, you might want to include both. Each browser will just ignore the attributes that it doesn't recognize.
I hope this helps. Let us know if you need any help.
Luckydude