...

View Full Version : launching a new window



supacook2k
12-06-2006, 02:35 PM
i want to launch a new window in a specific size by clicking on a link. i can get it to work in firefox but not in internet explorer. can anyone see if there is a problem with the code?



<html>

<head>

<script language="javascript">

function newwin() {

window.open('final.html','calculator','width=100,height=100');



}

</script>

</head>

<body>

<a href="#" onClick="newwin()">new win</a>


</body>

</html>

brandonH
12-06-2006, 03:04 PM
it works fine for me.....

what version of IE are you running it through?

supacook2k
12-06-2006, 03:31 PM
IE7 , it think it might be something to do with activex controls.

brandonH
12-06-2006, 03:43 PM
check to make sure you have the newest release of IE7 first off. then make sure if you have a pop-up blocker, that it is disabled.

nothing from that script should trigger the browser to block it (as far as activex goes).



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum