frameset and examples
来源:互联网 发布:海豚加速器for mac 编辑:程序博客网 时间:2024/06/06 14:03
如果a.html包括了其他页面,则要求a.html文件不能包含有body 和body 体的内容。
Contain.html是用来保护其他页面的:code
<frameset cols="20%,*">
<frame name="fr1"src="a.html" noresize="noresize" frameborder="0"/>
<frame name="fr2"src="b.html" noresize="noresize" frameborder="0"/>
But we should definitely remember you can’tcontain any <body>tag and <body>content in this file.
a.html: left content
<html>
<bodystyle="background-color:#000066">
<a href="b.html"target="fr2">lyric1</a><br />
<a href="c.html"target="fr2">lyric2</a><br />
</body>
</html>
Target’sattributes have four values: 1._blank: open a new page;
2. _self: openin the same page. (replace this page)
3. _top: thewhole browser
4. _parent: theparent window
5. self-define:just like <frame>
b.html:
c.html:
And we can change the pages on the rightside.
<!---------------------------------------------------------------------------------------------------------------------------->
Exercise:
All.html
<html>
<frameset rows="20%,*"frameborder="0">
<framesrc="head.html" scrolling="no"noresize="noresize"/>
<frameset cols="20%,*"frameborder="0" >
<framesrc="left.html" noresize="noresize" />
<framesrc="content.html" noresize="noresize"/>
</frameset>
</frameset><noframes></noframes>
</html>
Head.html
Left.html
<html>
<bodybgcolor="pink">
<ul>
<li><ahref="#">rock and roll</a></li>
<li><ahref="#">gilr</a></li>
</ul>
</body>
</html>
Right.html
<html>
<bodybgcolor="#C0C0C0">
alllyric
</body>
</html>
- frameset and examples
- frameset and treeview
- frameset and frame , 连接
- struts2 and frameset
- Scripts and Examples
- ADO Examples and Best Practice
- JSP Examples and Best Practices
- linux shell summary and examples
- CSS selectors difference and examples
- Qt_Quick的 Demos and Examples
- CISCO Configuration Examples and TechNotes
- Qt5 的 examples and demos
- Vertex and fragment shader examples
- frameset
- frameset
- FrameSet
- Frameset
- frameset
- 企业技术/数据架构想法---逻辑图模型
- Android实现网络多线程断点续传下载
- Linux进程间通信之管道(pipe)、命名管道(FIFO)与信号(Signal)
- 互联网系统架构的演进
- unable to load default svn client myeclipse 安装svn
- frameset and examples
- c语言静态数组创建栈
- 蜂窝小区最短距离的坐标系解法
- (8)Traceroute程序
- Jquery ajax 得到返回值
- WTL设置工具栏按钮不同大小和文字
- POJ 1573 (13.10.11)
- rwrwrwr
- HDU 3068 最长回文串 Manacher模板题