易截截图软件、单文件、免安装、纯绿色、仅160KB

html總結(中)

有關html窗體框架的問題,如果想要實現在一個畫面中分割窗體,並且通過點擊其中的一個窗體,鏈接內容至同一個畫面中的另一個窗體。就需要使用<frameset>與<frame>的標籤。以下是幾個我做的小例子。簡記之。
poem.html
 <html>
<head>
<title>hello poet</title>
</head>
<frameset cols="179,*">
<frame name = "windows1" src="1.html" mce_src="1.html" scrolling="auto">
<frame name = "windows2" src="2.html" mce_src="2.html" >
</frameset>
</html>
1.html
<html>
<head>
<title></title>
</head>
<body>
<pre>
<center>
<a href = "jingyesi.html" target = "windows2">靜夜思</a>
<a href = "guasong.html" target = "windows2">瓜松</a>
</center>
</pre>
</body>
</html>
jingyesi.html
<html>
<head>
<title>靜夜思</title>
</head>
<body>
<pre>
<center>
床前明夜光,疑似地上霜。
舉頭望明月,酒幹湯賣無。
</center>
</pre>
</body>
</html>
guasong.html
<html>
<head>
<title>瓜松</title>
</head>
<body>
<pre>
<center>
就是一個神經病。
</center>
</pre>
</body>
</html>
2.html
<html>
<head>
<title></title>
</head>
<body>
<pre>
<center>
歡迎來讀詩。
</center>
</pre>
</body>
</html>
想要在畫面上嵌入另一個畫面,即浮動窗體,則需要使用<iframe>標籤。以下是一個小的示例。
ex.html
<html>
<head>
<title>浮動窗口</title>
</head>
<


相关文档:

转 Ajax、Comet、HTML 5 Web Sockets技术比较分析

九十年代中期,WWW以迅猛之势转眼跻身传播信息的主要渠道之一。浏览器的身影开始无处不在,用户也随之开始适应这种信息传播方式。显然,WWW提供的应用平台能够赢得历史上任何一个平台都无法比及的用户量。但当时很难实现这样的目标是因为一些标准(HTML、HTTP等)都不很完善,这些标准设计的时候都没有考虑到高度交互和富客 ......

过滤掉字符串中的html代码

在开发过程中,很可能会遇到需要过滤掉字符串中的样式代码或者换行回车符等等的情况,我就遇到过类似的情况,所以就把过滤掉html代码的方法贴到博客上,留个标记,希望会对朋友们有所帮助:
String str = "<p>dfsdsdfsdf</p>sdgfsg<b>sdgfsdgrrytrfh</b>\r\r\n";
String ss = str.replaceAl ......

如何模拟点击HTML中的链接

http://blog.stchur.com/2010/01/15/programmatically-clicking-a-link-in-javascript/
作者介绍如何用javascript模拟用户真实的点击。
这看上去好像很简单,读取href然后利用window.location.href不就行了吗?
其实不然,原因在于现在的网页里的链接不单是直接读取href属性然后跳转到另一个页面,有些链接可以加上event ......

html与jsp嵌套一个问题(备忘)


  <%
     int a =1;
     out.println("<input type='checkbox' value='"+a+"'>");
   
     %>
     
     <%int b =1 ;%>
     <i ......

html初步学习笔记

html 网页描述语言
html的基本框架
<head>                                      //标签头
<javacript>                         &nb ......
© 2009 ej38.com All Rights Reserved. 关于E健网联系我们 | 站点地图 | 赣ICP备09004571号