做了个框架,怎么点击一下左边超链接,右边的跳到另外一个页面。 做了个框架,怎么点击一下左边超链接,右边的跳到另外一个页面。 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 <!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 runat="server"> <title>XCell 简单库维护系统 V1.2</title> <link href="~/template/css/StyleSheet.css" rel="Stylesheet" type="text/css" /> <script type="text/javascript"> function got(address) { var ifm = document.getElementById("contentview"); ifm.src = address; } </script></head><body> <form id="form1" runat="server"> <div class="all"> <div id="top"> <div><span>XCell 简单库维护系统 V1.2</span></div> <div id="menu"> <dl> <dt>菜单</dt> <dd><a href="javascript:void(0);" onclick="got('Stock.aspx');">库存</a></dd> <dd><a href="javascript:void(0);" onclick="got('Buy.aspx');">进货</a></dd> <dd><a href="javascript:void(0);" onclick="got('Sell.aspx');">出货</a></dd> <dd><a href="javascript:void(0);" onclick="got('History.aspx')">历史</a></dd> </dl> </div> </div> <div id="main"> <iframe id="contentview" frameborder="0" marginheight="0" marginwidth="0" src="Stock.aspx" class="cv"> </iframe> </div> <div id="bottom"> <p> XCell v1.2 © FlyFansMedia Copyright 2010<br /> Present by <a href="mailto:[email protected]">Shalves.<span>Y</span></a> </p> </div> </div> </form> <script type="text/javascript"> var main = document.getElementById("main"); main.style.height = document.documentElement.offsetHeight - 106; </script></body></html> 不知题意,做个两列的table,左边放链接,右边列放<iframe/>就可以实现你书面上所要求的 你可以现在dreamweaver中把左边链接的的目标指向mainFrame就可以了! window.parent.frames['mainFrame'].location.href='目标页面'; 右边的iframe的id为mainpage然后在左边的每个a链接中的target设置为 mainpage 即可。 VS2005创建用户出现“密码最短长度为 7,其中必须包含以下非字母数字字符 1 javascript问题 求高手帮忙看下这样的效果如何做到??? 请问高手关于选择弹出的datagrid问题! ★求一触发器的写法,特急!!!! asp.net中新闻信息过长,截取后鼠标放上全部显示 关于“上传程序”求助!感谢各位! 为什么不能显示BMP图形? paypal 有人写过吗?求教! Modernizr库怎么安装!! 动态增加BoundField 问题 sqldatasource能这样使用么,select方法报错
<!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 runat="server">
<title>XCell 简单库维护系统 V1.2</title>
<link href="~/template/css/StyleSheet.css" rel="Stylesheet" type="text/css" />
<script type="text/javascript">
function got(address) {
var ifm = document.getElementById("contentview");
ifm.src = address;
}
</script>
</head>
<body>
<form id="form1" runat="server">
<div class="all">
<div id="top">
<div><span>XCell 简单库维护系统 V1.2</span></div>
<div id="menu">
<dl>
<dt>菜单</dt>
<dd><a href="javascript:void(0);" onclick="got('Stock.aspx');">库存</a></dd>
<dd><a href="javascript:void(0);" onclick="got('Buy.aspx');">进货</a></dd>
<dd><a href="javascript:void(0);" onclick="got('Sell.aspx');">出货</a></dd>
<dd><a href="javascript:void(0);" onclick="got('History.aspx')">历史</a></dd>
</dl>
</div>
</div>
<div id="main">
<iframe id="contentview" frameborder="0" marginheight="0" marginwidth="0" src="Stock.aspx" class="cv">
</iframe>
</div>
<div id="bottom">
<p>
XCell v1.2 © FlyFansMedia Copyright 2010<br />
Present by <a href="mailto:[email protected]">Shalves.<span>Y</span></a>
</p>
</div>
</div>
</form>
<script type="text/javascript">
var main = document.getElementById("main");
main.style.height = document.documentElement.offsetHeight - 106;
</script>
</body>
</html>