Frameset usage example

Source: Internet
Author: User

Basic usage:

<Frameset rows = "20%, *">
<! --The first horizontal assignment sample25_top.htm file -->
<Frame src = "sample_top.htm" name = "top">
<! -- The second part of the horizontal division does not load the file. It is divided vertically into two parts -->
<Frameset cols = "30%, *">
<! --The first vertical partition sample25_left.htm file -->
<Frame src = "sample_left.htm" name = "left">
<! --The Second vertical partition sample01.htm file -->
<Frame src = "index.htm" name = "right">
</Frameset>
</Frameset>

 

Example:

<FRAMESET id = "fsTop" border = "0" frameSpacing = "0" rows = "106, * "topmargin =" 0 "leftmargin =" 0 "marginheight =" 0 "marginwidth =" 0 "cols =" * ">
<FRAME border = "0" name = "title" marginWidth = "0" marginHeight = "0" src = "Top/Top. aspx "frameBorder =" no "noResize scrolling =" no "topmargin =" 0 "leftmargin =" 0 "borderColor =" # e4e4e4 ">
<FRAMESET border = "0" name = "search" frameSpacing = "0" frameBorder = "1" cols = "190, * "topmargin =" 0 "leftmargin =" 0 "rightmargin =" 0 "marginheight =" 0 "marginwidth =" 0 ">
<FRAME border = "0" name = "leftFrame" src = "Left/Left. aspx? AuthorityId = 01 "marginWidth =" 0 "marginHeight =" 0 "frameBorder =" 0 "topmargin =" 0 "leftmargin =" 0 "target =" mainFrame "scrolling =" no "noResize borderColor = "# e4e4e4">

<FRAME style = "BORDER-LEFT: # ffffff 0px groove" name = "mainFrame" src = "index. aspx "id =" mainFrame "borderColor =" # e4e4e4 "frameBorder =" no "scrolling =" auto "marginwidth =" 0 "marginheight =" 0 ">

</FRAMESET>
</FRAMESET>

 

Enhanced version (scalable on the left)

<Table border = "0" cellpadding = "0" cellspacing = "0" style = "height: 100%" width = "100%" bgcolor = ">
<Tr style = "height: pixel PX">
<Td colspan = "3">
<Iframe frameborder = "0" id = "Iframe3" name = "title" marginwidth = "0" marginHeight = "0" margin-top = "0"
Src = "Top/Top. aspx" noresize scrolling = "no" topmargin = "0" leftmargin = "0"
Style = "margin-top: 0; HEIGHT: 100%; WIDTH: 100%; Z-INDEX: 1 ;"
Align = "top">
</Iframe>
</Td>
</Tr>

& Lt; tr height = "100%" & gt;
<Td height = "100%" width = "220" align = "middle" valign = "center" id = "frmLeft" name = "frmLeft"
Class = "style1">
<Iframe frameborder = "0" id = "leftFrame" name = "leftFrame" src = "Left/Left. aspx? AuthorityId = 01 "target =" mainFrame "scrolling =" auto "noresize style =" HEIGHT: 100%; WIDTH: 195px; Z-INDEX: 1 ">
</Iframe>
</Td>
<Td height = "100%" width = "10" valign = "top" align = "center" class = "style1">
<Table width = "100%" border = "0" cellspacing = "0" cellpadding = "0" height = "100%" borderColorDark = # ffffff bgColor = # B6C4E6 borderColorLight = #000000>
<Tr>
<Td height = "100%" style = "width: 12px"> <a style = "cursor: hand" onClick = "switchMenu () "id =" banner "> </ a> </td>
</Tr>
</Table>
</Td>
<Td height = "100%" width = "100%" class = "style1">
<Table height = "100%" width = "100%" border = "0" cellspacing = "0" cellpadding = "0">
<Tr>
<Td width = "100%" height = "100%">
<Iframe frameborder = "0" id = "mainFrame" name = "mainFrame" src = "index. aspx "scrolling =" auto "noresize style =" HEIGHT: 100%; WIDTH: 100%; Z-INDEX: 1 ">
</Iframe>
</Td>
</Tr>
</Table>
</Td>
</Tr>
</Table>

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.