Hi, i have tried but it makes no difference between " and '. Is there any
difference between " and '? But i did is this < a href=#
onclick="javascript:enlarge()">click</a>
mmmkay, try this...
<script language="javascript" type="text/javascript">
function enlarge()
{
var newWin
window.open('modifycategorymenu.asp','newWin','width=250,height=300,resizabl
e=1,toolbar=1,location=1,status=1');
}
</script>
and then....
<a href="javascript:enlarge();">click</a>
If you replace all of your double quotes (") with single quotes('), should
do the trick!
Ch33rs,
Chris Duke
-----Original Message-----
From: yls [mailto:yls177@h...]
Sent: Thursday, October 19, 2000 11:10 AM
To: javascript
Subject: [javascript] <A href=javascript:enlarge()
Hi, i just want to do something like this
<a href=javascript:enlarge()>click</a>
function enlarge()
{
var newWin = window.open("modifycategorymenu.asp","newWin","Width=250,
Height=300", defaultStatus="Modify "
return true;
}
My IIS prompts me that i cannot download the modifycategorymenu.asp file and
has an ok button for me. So i clicked ok and now the new window opened... i
am puzzled by the "cannot download thing" thanks