固定大小,无地址工具栏的提示性浏览器窗口
HTML里面:
<a href="ss.asp" onclick='return sd(this);'>sdfsa</a>
<a href="ss.asp" onclick='return sd(this);'>sdfsa</a>
<script type="text/javascript">
function sd(vurl) {
var vhrf;
if (! window.focus) return true;
if (typeof(vurl) == 'string')
vhrf=vurl;
else
vhrf=vurl.href;
window.open(vhrf, "", "toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=yes,resizable=no,width=730,height=350,left=80,top=0");
return false;
}
</script>
function sd(vurl) {
var vhrf;
if (! window.focus) return true;
if (typeof(vurl) == 'string')
vhrf=vurl;
else
vhrf=vurl.href;
window.open(vhrf, "", "toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=yes,resizable=no,width=730,height=350,left=80,top=0");
return false;
}
</script>