哈哈,早说嘛!
----------------------------------------------------------
多来我的小站看看,批评:
http://osdev.m165.com

解决方案 »

  1.   

    在html的前面加上
    <script language="javascript">
    function show(mylink,mytitle,width,height)
    {
    mailwin=window.open(mylink,mytitle,'top=60,left=50,width='+width+',height='+height+',scrollbars=yes')
    }
    </script>在你需要弹出对话框的地方:
    <a href=javascript:show("你的对话框","详细资料",600,300)>.......</a>
      

  2.   

    不需要楼上的这么麻烦。。<script language="javascript">
    function Con()
    {
    var truthBeTold = confirm("单击“确定”继续。单击“取消”停止。");
    if (truthBeTold) {
    window.alert("欢迎访问我们的 Web 页!");

    else  window.alert("再见啦!");
    }
    </script>
    <a href="javascript:Con()">enter</a>