114、弹出窗口始终一个

114、弹出窗口始终一个

脚本说明:

<script language="JavaScript">

<!--

function Demo(Page,scrl){

if (false)window.close();

 if  (!window.win || win.closed)  win=open(Page,"","toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=no,top=2,width=300,height=100,scrollbars="+scrl+",resizable=1");

 else{

  win.close();   win=open(Page,"","toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=no,top=2,width=300,height=100,scrollbars="+scrl+",resizable=1");

  }

}

//-->

</script>

<a href="javascript:Demo('http://huicui.jimdo.com/')">链接一</a>

<a href="javascript:Demo('http://huicui.jimdo.com/')">链接二</a>

 

Write a comment

Comments: 0