熱點推薦:
您现在的位置: 電腦知識網 >> 編程 >> .NET編程 >> 正文

FrameSet左右收縮編碼

2013-11-13 10:03:55  來源: .NET編程 

  主頁面

  <frameset name=MainFrame rows=* cols=* framespacing= frameborder= border= id=MainFrame>

  <frame name=LeftFrame  src=leftaspx  scrolling=auto noresize=true >

  <frame name=HideFrame src=HideBaraspx scrolling=no noresize=true>

  <frame name=WorkFrame src=contentaspx>

  </frameset>

  HideBaraspx代碼

  <%@ Page Language=C# AutoEventWireup=true CodeFile=TreeHideBaraspxcs Inherits=Energy_TreeHideBar %>

  <html xmlns= >

  <head id=Head runat=server>

  <title>NavigationHide</title>

  <style type=text/css>

  <!

  body {

  marginleft: px;

  margintop: px;

  backgroundimage: url(/App_Themes/Image/bargif);

  borderright: #AC px solid;

  }

  >

  </style>

  </head>

  <script  language=JavaScript  type =text/javascript>

  function ChangeVisible()

  {

  if(parentdocumentgetElementById(MainFramels != *)

  {

  parentdocumentgetElementById(MainFramels = *;

  nuSwitchinnerHTML = <a # onclick=ChangeVisible();><img src=index_arrowgif width= height= border=></a>;

  }

  else

  {

  parentdocumentgetElementById(MainFramels = *;

  nuSwitchinnerHTML = <a # onclick=ChangeVisible();><img src=index_arrowgif width= height= border=></a>;

  }

  }

  </script>

  <body >

  <table width= height=% border= cellpadding= cellspacing= background=Image/bargif>

  <tr>

  <td valign=middle id=menuSwitch><a # onclick=ChangeVisible();><img src=index_arrowgif width= height= border=></a></td>

  </tr>

  </table>

  </body>

  </html>


From:http://tw.wingwit.com/Article/program/net/201311/12458.html
    推薦文章
    Copyright © 2005-2013 電腦知識網 Computer Knowledge   All rights reserved.