Click to See Complete Forum and Search --> : Poll code


teammatt3
07-09-2003, 05:30 PM
I have this javascript code for a poll. On the click of a button a window opens. Is there a way that I can make the window 400 X 200 px. Thanks






<script language="JavaScript">
<!--

function SymError()
{
return true;
}

window.onerror = SymError;

var SymRealWinOpen = window.open;

function SymWinOpen(url, name, attributes)
{
return (new Object());
}

window.open = SymWinOpen;

//-->
</script>

Khalid Ali
07-09-2003, 08:48 PM
function SymWinOpen(url, name, attributes)
the last param "attributes" is the one you need to make changes

'width=400,height=200'
will do