PDA

View Full Version : Doesn't Open Window in IE


Bobba Buoy
06-26-2007, 06:12 PM
Can someone tell me why this works in Mozilla/Firefox but not IE?


function payOnline(url){
new_window = window.open(url, ' menubar,resizable,dependent,status,width=300,height=200,left=10,top=10')
}
-->
</script>
</head>

<body style="margin:0;text-align:center" onload="javascript:payOnline('pay_online.asp?race_id=<%=lRaceID%>');">


Thanks~

RysChwith
06-27-2007, 08:26 AM
You're missing an attribute in the window.open method. Try it like this:new_window = window.open(url, '', 'menubar,resizable,dependent,status,width=300,height=200,left=10,top=10');Rys