VS中web端如何实现点击网页中的按钮后跳转到其他页面的操作

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>

你可能感兴趣的:(解决问题,前端,html5,c#,microsoft)