在include中预先加载文件并在同页面的mainFrame中打开,如何做到? 30
没人回答??<bodyonload...>这个在框架网页可以,在include中就是不行,下面是include代码:---------------------------...
没人回答??
<body onload...>这个在框架网页可以,在include中就是不行,下面是include代码:
------------------------------------------------------------------------------------------
<script type="text/javascript">
//<![CDATA[
window.onload = function() {
rolinTab("rolin")
}
function rolinTab(obj) {
var list = $(obj).getElementsByTagName("LI");
var state = {show:false,hidden:false,showObj:false};
for (var i=0; i<list.length; i++) {
var tmp = new rolinItem(list[i],state);
if (i == 0) tmp.pShow();
}
}
//]]>
</script>
<div class="twomenu">申报表</div>
<ul class="rolinList" id="rolin" >
<li>
<h2>+ 申报表</h2>
<div class="content">
<p>
·<a href="swf/2/2.1.swf" target="mainFrame">查看申报表</a><br />
</p>
</div>
</li>
</ul> 展开
<body onload...>这个在框架网页可以,在include中就是不行,下面是include代码:
------------------------------------------------------------------------------------------
<script type="text/javascript">
//<![CDATA[
window.onload = function() {
rolinTab("rolin")
}
function rolinTab(obj) {
var list = $(obj).getElementsByTagName("LI");
var state = {show:false,hidden:false,showObj:false};
for (var i=0; i<list.length; i++) {
var tmp = new rolinItem(list[i],state);
if (i == 0) tmp.pShow();
}
}
//]]>
</script>
<div class="twomenu">申报表</div>
<ul class="rolinList" id="rolin" >
<li>
<h2>+ 申报表</h2>
<div class="content">
<p>
·<a href="swf/2/2.1.swf" target="mainFrame">查看申报表</a><br />
</p>
</div>
</li>
</ul> 展开
1个回答
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询