main.html
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Frameset//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-frameset.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=gb2312" /> <title>企業信息管理系統</title> </head> <frameset rows="98,*,8" frameborder="no" border="0" framespacing="0"> <frame src="top.html" mce_src="top.html" name="topFrame" scrolling="No" noresize="noresize" id="topFrame" /> <frame src="center.html" mce_src="center.html" name="mainFrame" id="mainFrame" /> <frame src="down.html" mce_src="down.html" name="bottomFrame" scrolling="No" noresize="noresize" id="bottomFrame" /> </frameset> <noframes><body> </body> </noframes> </html>
left.html
<mce:script type="text/javascript"><!-- function show() { parent.document.getElementById("I2").src = "login.html"; //parent爲middle.html,獲取其document對象,再通過getElementById函數獲取I2框架,修改其src屬性 } // --></mce:script> <ul> <li><a href="#" mce_href="#" class="STYLE3" onClick="show()">短信羣發</a></li> </ul>
middle.html
<body style="overflow:hidden" mce_style="overflow:hidden"> <table width="100%" height="100%" border="0" cellpadding="0" cellspacing="0" style="table-layout:fixed;" mce_style="table-layout:fixed;"> <tr> <td width="171" id=frmTitle noWrap name="fmTitle" align="center" valign="top"><table width="171" height="100%" border="0" cellpadding="0" cellspacing="0" style="table-layout:fixed;" mce_style="table-layout:fixed;"> <tr> <td bgcolor="#1873aa" style="width:6px;"> </td> <td width="165"><iframe name="I1" height="100%" width="165" src="left.html" mce_src="left.html" border="0" frameborder="0" scrolling="no"> 瀏覽器不支持嵌入式框架,或被配置爲不顯示嵌入式框架。</iframe></td> </tr> </table> </td> <td width="6" style="width:6px;"valign="middle" bgcolor="1873aa" οnclick=switchSysBar()><SPAN class=navPoint id=switchPoint title=關閉/打開左欄><img src="images/main_55.gif" mce_src="images/main_55.gif" name="img1" width=6 height=40 id=img1></SPAN></td> <td width="100%" align="center" valign="top"><iframe id="I2" name="I2" height="100%" width="100%" border="0" frameborder="0" src="tab/tab.html" mce_src="tab/tab.html"> 瀏覽器不支持嵌入式框架,或被配置爲不顯示嵌入式框架。</iframe></td> </tr> </table> </body>
<html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=gb2312" /> <title>無標題文檔</title> </head> <body> <table width="100%" height="100%" border="0" cellpadding="0" cellspacing="0" style="table-layout:fixed;" mce_style="table-layout:fixed;"> <tr> <td><iframe name="I2" height="100%" width="100%" border="0" frameborder="0" src="middel.html" mce_src="middel.html"> 瀏覽器不支持嵌入式框架,或被配置爲不顯示嵌入式框架。</iframe></td> <td width="6" bgcolor="#1873aa" style=" width:6px;" mce_style=" width:6px;"> </td> </tr> </table> </body> </html>
其他down.html、top.html以及要顯示在中間內容區的tab.html同普通html網頁內容相同。
需求: 需要將之前後臺傳進來的一個值做處理後輸出 難點: 1.後臺傳進來的的值是EL表達式,如:${PotCont