zoukankan      html  css  js  c++  java
  • C#-WebForm-点击网页中的按钮后跳转到其他页面是怎么实现的?

    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
    <script language="javascript">
    function open1()
    {
    open("http://www.advidea.cn","");
    }
    function open2()
    {
    open("http://www.advidea.cn","百度","toolbars=0,scrollbars=0,location=0,statusbars=0,menubars=0,resizable=0,width=650,height=150");
    }
    function open3()
    {
    open("http://www.advidea.cn","百度","fullscreen=1");
    }
    function open4()
    {
    open(document.location,"","fullscreen=yes");
    }
    function open5()
    {
    close();
    }
    </script>

    <title>无标题文档</title>
    </head>

    <body>
    <form id="form1" name="form1" method="post" action="">
    <label>
    <input type="button" name="Submit" value="打开窗口" onclick="open1()"/>
    </label>
    <p>
    <label>
    <input type="button" name="Submit2" value="打开固定大小窗口,无菜单栏等" onclick="open2()"/>
    </label>
    </p>
    <p>
    <label>
    <input type="button" name="Submit3" value="打开全屏窗口" onclick="open3()"/>
    </label>
    </p>
    <p>
    <label>
    <input type="button" name="Submit4" value="全屏" onclick="open4()"/>
    </label>
    </p>
    <p>
    <label>
    <input type="button" name="Submit5" value="关闭退出" onclick="open5()"/>
    </label>
    </p>
    </form>
    </body>
    </html>
  • 相关阅读:
    数据结构(线性结构-栈)
    数据结构(线性结构-队列)
    数据结构(树状结构-二叉树)
    数据结构(树状结构-树)
    数据结构(线性结构-串)
    数据结构(堆)
    数据结构(图)
    查找(静态查找表)
    查找(动态查找表)
    查找(哈希表)
  • 原文地址:https://www.cnblogs.com/qq450867541/p/6231551.html
Copyright © 2011-2022 走看看