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>
<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>