框架问题,真的很难望高手指点 use javascript, for example:top.document.all.tags("FRAMESET")[2].rows ="*"; 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 给你一个例子吧! ====================================== mail.htm ============================================== <frameset rows="80,10,*" id="mm" cols="*" frameborder="NO" border="0" framespacing="0"> <frame src="top.aspx" name="topFrame" MARGINWIDTH="0" MARGINHEIGHT="0" SCROLLING='no' noresize> <frame name="to_TOP" src="go_TOP.htm" scrolling="no"> <frameset rows="*" id="oa_frame" cols="120,16,*" framespacing="0" frameborder="NO" border="0"> <frame src="menu.aspx" name="leftFrame" MARGINWIDTH="0" MARGINHEIGHT="0" SCROLLING='no' noresize> <frame name="middleframe" src='t_l.htm' scrolling='no' frameborder='NO' noresize> <frame src="welcome.aspx" name="main" MARGINWIDTH="0" MARGINHEIGHT="0" noresize> </frameset> </frameset>=====================================================go_top.htm===================================================== <head><title>button_title_r</title><meta http-equiv="Content-Type" content="text/html; charset=gb2312"><script>var tttttt=2;function oa_tool1(){if(ttt==2){ttt=1;frameshow1.src="images/p_5.gif";frameshow1.alt="珆尨嫘豢沭"window.parent.mm.rows="0,10,*,0";}else{ttt=2;window.parent.mm.rows="80,10,*,0";frameshow1.src="images/p_6.gif";frameshow1.alt="笐紲嫘豢沭"}}</script></head><body text="#000000" leftmargin="0" topmargin="0" bgcolor="#276db2"><!--<div onclick="oa_tool1()" align="center"><img id=frameshow1 src="images/p_6.gif" width="50" height="9" alt="笐紲嫘豢沭"></div>--></body></html>======================================================================= t_l.htm========================================================================<html><head><title>button_title_l</title><meta http-equiv="Content-Type" content="text/html; charset=gb2312"><script>var tttttt=1;function oa_tool(){//if(window.parent.oa_frame.cols=="0,16,*"){if( ttt == 2 ){ttt = 1;frameshow.src="images/p_1.gif";oa_tree.title="笐紲馱撿戲";window.parent.oa_frame.cols="120,16,*";//window.parent.leftFrame.cols="120,16,*";//alert("2");}else{ttt = 2;frameshow.src="images/p_2.gif";oa_tree.title="珆尨馱撿戲";window.parent.oa_frame.cols="0,16,*";//window.parent.leftFrame.cols="0,16,*";//alert("1");}}</script></head><body text="#000000" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0" bgcolor="#CCCCCC"><table width="16" border="0" height="100%" cellpadding="0" cellspacing="0" align="left"> <tr align="center"> <td background="images/bg_1.gif"> <div id=oa_tree onclick="oa_tool();" title=笐紲馱撿戲><img id=frameshow src="images/p_1.gif" width="9" height="50" ></div> </td> </tr></table></body></html> FckEdit编辑器上传到服务器上不可用! 请教一个截取字符串的问题! sql 连续一个接一个查10个怎么查最优 dataTable怎么写 新的ROW IIS域名解析,附示例请求原理 寻求一份源码保密协议的条款 关于使用ActiveX控件的一组问题?前后存在逻辑关系 关于crystal report 来看看这里的讨论,欢迎发表意见哦! 想学ASP.NET,但又没有VS.NET环境, 只有WIN2KSERVER, 装哪些软件才能开发? 请帮我解决一个初级问题.急!! “/aspnet”应用程序中的服务器错误。
======================================
mail.htm
==============================================
<frameset rows="80,10,*" id="mm" cols="*" frameborder="NO" border="0" framespacing="0">
<frame src="top.aspx" name="topFrame" MARGINWIDTH="0" MARGINHEIGHT="0" SCROLLING='no' noresize>
<frame name="to_TOP" src="go_TOP.htm" scrolling="no">
<frameset rows="*" id="oa_frame" cols="120,16,*" framespacing="0" frameborder="NO" border="0">
<frame src="menu.aspx" name="leftFrame" MARGINWIDTH="0" MARGINHEIGHT="0" SCROLLING='no'
noresize>
<frame name="middleframe" src='t_l.htm' scrolling='no' frameborder='NO' noresize>
<frame src="welcome.aspx" name="main" MARGINWIDTH="0" MARGINHEIGHT="0" noresize>
</frameset>
</frameset>
=====================================================
go_top.htm
=====================================================
<head>
<title>button_title_r</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<script>
var ttt
ttt=2;
function oa_tool1(){
if(ttt==2)
{
ttt=1;
frameshow1.src="images/p_5.gif";
frameshow1.alt="珆尨嫘豢沭"
window.parent.mm.rows="0,10,*,0";
}
else
{
ttt=2;
window.parent.mm.rows="80,10,*,0";
frameshow1.src="images/p_6.gif";
frameshow1.alt="笐紲嫘豢沭"
}
}
</script>
</head>
<body text="#000000" leftmargin="0" topmargin="0" bgcolor="#276db2">
<!--
<div onclick="oa_tool1()" align="center"><img id=frameshow1 src="images/p_6.gif" width="50" height="9" alt="笐紲嫘豢沭"></div>
-->
</body>
</html>
=======================================================================
t_l.htm
========================================================================
<html>
<head>
<title>button_title_l</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<script>
var ttt
ttt=1;
function oa_tool(){
//if(window.parent.oa_frame.cols=="0,16,*"){
if( ttt == 2 ){
ttt = 1;
frameshow.src="images/p_1.gif";
oa_tree.title="笐紲馱撿戲";
window.parent.oa_frame.cols="120,16,*";
//window.parent.leftFrame.cols="120,16,*";
//alert("2");
}
else{
ttt = 2;
frameshow.src="images/p_2.gif";
oa_tree.title="珆尨馱撿戲";
window.parent.oa_frame.cols="0,16,*";
//window.parent.leftFrame.cols="0,16,*";
//alert("1");
}
}
</script>
</head>
<body text="#000000" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0" bgcolor="#CCCCCC">
<table width="16" border="0" height="100%" cellpadding="0" cellspacing="0" align="left">
<tr align="center">
<td background="images/bg_1.gif">
<div id=oa_tree onclick="oa_tool();" title=笐紲馱撿戲><img id=frameshow src="images/p_1.gif" width="9" height="50" ></div>
</td>
</tr>
</table>
</body>
</html>