<script language="VBScript">
<!--
sub newwin(str)
  window.open str, "newwin","toolbar=no, scrollbars=yes,location=no, directories=no, status=no, menubar=no, width=680, height=480, top=80, left=100"
end sub
-->
</script>用法~~ <a href="#" onClick=newwin("msgboard/msgboard.asp")>留言板</a>

解决方案 »

  1.   

    <script language="VBScript">
    <!--
    sub newwin(str)
      window.open str, "newwin","toolbar=no, scrollbars=yes,location=no, directories=no, status=no, menubar=no, width=680, height=480, top=80, left=100"
    end sub
    -->
    </script>
    把这个代码加入你的页面的head区~~~
    <head>
    <script language="VBScript">
    <!--
    sub newwin(str)
      window.open str, "newwin","toolbar=no, scrollbars=yes,location=no, directories=no, status=no, menubar=no, width=680, height=480, top=80, left=100"
    end sub
    -->
    </script>
    </head>然后加入下面的代码到body<body onload="newwin('POP.htm')">就行了
      

  2.   

    找不到BODY?不是吧?那个站点的?我去看看
      

  3.   

    //-->
    </SCRIPT>
    <body bgcolor="#FFFFFF" text="#000000" leftmargin="0" topmargin="6">
    <table width="770" border="0" align="center" cellpadding="0" cellspacing="0">打开我一眼就看到了~~~
    <body bgcolor="#FFFFFF" text="#000000" leftmargin="0" topmargin="6" onload="newwin('POP.htm')">
    记得把前面那段代码加到head里去
      

  4.   

    <html>
    <head>
    <title>江阴全顺汽贸</title>
    <meta http-equiv="Content-Type" content="text/html; charset=gb2312">
    <style type="text/css">
    <!--
    td,input,select{  font-family: "宋体"; font-size: 9pt; font-style: normal}
    .unnamed1 {  border-color: black #0683C6 black black; border-style: solid; border-top-width: 0px; border-right-width: 1px; border-bottom-width: 0px; border-left-width: 0px}
    .unnamed2 { font-family: "宋体"; line-height: 13pt}
    .unnamed3 {  border: medium #FF9900 double}
    A:link {text-decoration: none;color: 000000} 
          A:visited {text-decoration: none;color: 000000}
          A:active {text-decoration: underline;color: 000000}
          A:hover {text-decoration: underline;color: 000000}
    -->
    </style>
    </head>
    <? show_header();?>
    请!
      

  5.   

    <html>
    <head>
    <title>江阴全顺汽贸</title>
    <meta http-equiv="Content-Type" content="text/html; charset=gb2312">
    <style type="text/css">
    <!--
    td,input,select{  font-family: "宋体"; font-size: 9pt; font-style: normal}
    .unnamed1 {  border-color: black #0683C6 black black; border-style: solid; border-top-width: 0px; border-right-width: 1px; border-bottom-width: 0px; border-left-width: 0px}
    .unnamed2 { font-family: "宋体"; line-height: 13pt}
    .unnamed3 {  border: medium #FF9900 double}
    A:link {text-decoration: none;color: 000000} 
          A:visited {text-decoration: none;color: 000000}
          A:active {text-decoration: underline;color: 000000}
          A:hover {text-decoration: underline;color: 000000}
    -->
    </style>
    <script language="VBScript">
    <!--
    sub newwin(str)
      window.open str, "newwin","toolbar=no, scrollbars=yes,location=no, directories=no, status=no, menubar=no, width=680, height=480, top=80, left=100"
    end sub
    -->
    </script>
    </head>把你的show_header函数的内容给出来~~~~
      

  6.   

    <A href="123.htm" target=_blank>弹出网页</A>
      

  7.   

    <script language='javascript'>alert("弹出");</script> //javascript
    <script language='vbscript'>migbox("弹出");</script>
      

  8.   

    感觉还是用javascript好些。
    <script language="javascript" src="pressed.js"></script>
    pressed.jsvar pressed=setTimeout("window.open('http://www.163.com','targetWindow','height=350,width=500,left=0,top=0')",2000);
      

  9.   

    下面是一个完整的代码。 
    <html> 
    <head> 
    <script LANGUAGE="javascript"> 
    <!-- 
    function openwin() { window.open ("page.html", "newwindow", "height=100, width=400, toolbar= 
    no, menubar=no, scrollbars=no, resizable=no, location=no, status=no") 
    //写成一行 

    //--> 
    </script> 
    </head> 
    <body onload="openwin()"> 
    ...任意的页面内容... 
    </body> 
    </html> 
    这里定义了一个函数openwin(),函数内容就是打开一个窗口。在调用它之前没有任何用途。 
    怎么调用呢? 
    <body onload="openwin()"> 浏览器读页面时弹出窗口;