我有弹出浏览器窗口的代码,如何使用此代码实现多个弹出窗口?
<SCRIPT TYPE="text/javascript">
function popup(mylink, windowname) {
if (! window.focus)return true;
var href;
if (typeof(mylink) == 'string') href=mylink;
else href=mylink.href;
window.open(href, windowname, 'width=400,height=200,scrollbars=yes');
return false;
}
</SCRIPT>
&#13;
<BODY onLoad="popup('autopopup.html', 'ad')">