So I’m trying to open a pop up window in IE8. So far no luck. It’s telling me I have the wrong parameters in window.open() but when I look at all the parameters for window.open() it all looks right, suggestions?
<html>
<body>
<a href="#" id="one">Click Here</a>
<script language="javascript">
var vid1 = document.getElementById('video1');
if(vid1.addEventListener)
{
vid1.addEventListener('click', function(e){
videoOne();
},true);
}
else
{
vid1.attachEvent('click', videoOne);
}
function videoOne(){
window.open("http://www.yahoo.com","Case Study 1",
"location=1,status=1,scrollbars=1,width=650,height=400");
}
</script>
</body>
</html>
Internet Explorer doesn’t support window names with spaces in them.