PDA

View Full Version : Help with popups


blah
10-18-2002, 03:12 AM
I want to put a pop up on my homepage but it won't work the way I want it to. The script is <SCRIPT LANGUAGE=JavaScript>
function layout() {window.open('test.html','layout','toolbar=no,location=no,directories=no,status=no,menubar=no,scroll bars=yes,resize=no,width=700,height=525')
}
</SCRIPT>

Is there something wrong with that or am I missing something?
Help. Please.

PauletteB
10-18-2002, 10:52 AM
<SCRIPT LANGUAGE=JavaScript>
function layout() {
layoutwin=window.open('','layoutwin','scrollbars=yes,left=0,top=0,width=700,height=525')
}
</SCRIPT>

<a href="test.html" target="layoutwin" onClick="layout()">OPEN</a>


Forum adds a space between window and open