您正在查看 "Html" 分类下的文章
2008-06-13 15:14
隐藏并且不占位
<div id="mmm">
插入FLASH动画<br>
插入FLASH动画<br>
插入FLASH动画<br>
插入FLASH动画<br>
插入FLASH动画<br>
</div>
<input type="button" name=hiddendiv value="隐藏" onClick="javascript:return document.all.mmm.style.display='none'">
<input type="button" name=showdiv value="显示"onClick="javascript:return document.all.mmm.style. |
2008-04-03 17:22
有时候是有用的
★HTTP-EQUIV
HTTP-EQUIV类似于HTTP的头部协议,它回应给浏览器一些有用的信息,以帮助正确和精确地显示网页内容。常用的HTTP-EQUIV类型有:
1、Content-Type和Content-Language (显示字符集的设定)
说明:设定页面使用的字符集,用以说明主页制作所使用的文字已经语言,浏览器会根据此来调用相应的字符集显示page内容。
用法:<Meta http-equiv="Content-Type |
2008-01-18 11:58
2008-01-18 11:58
2008-01-18 10:11
<html>
<xml id='xmlsrc'>
<rss>
<title>root1</title>
<description>here is the description</description>
<item>
<title>log no.1</title>
<date>2003-10-5 15:20:20</date>
</item>
</rss>
</xml>
<xml id='xslsrc'>
</xml>
<style>
*{font-size:9px |
2008-01-18 10:10
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>MyPixbot</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<script language="JavaScript" type="text/JavaScript">
<!--
function MM_reloadPage(init) { //reloads the window if Nav4 resized
if (init==true) with (navigator) {if ((appName=="Netscape |
2008-01-18 10:07
<!--//////// Public Functions ////////-->
<script>
Array.prototype.unique=function(t,c){
try{with(this) return !t ?
join(c!=null?c:',').match(/([^,]+)(?!.*\1)/ig):
reverse().
join(c!=null?c:',').match(/([^,]+)(?!.*\1)/ig).
reverse();
}
catch(e){return false}
}
Array.prototype.format=function(o,e){
for(var i=0;i<this.length;i++)
eval("this["+i+ |
2008-01-18 10:07
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
" http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<title>LeXRus' TabX</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css">
<!--
.tab {
border-width: 1px;
border-style: outset;
border-bot |
2008-01-18 09:53
<input type="text" hint="我只存在两秒钟" value="鼠标来这里">
<div id="a" style="position:absolute;font-size:9pt;display:none;border:1px solid black;background:lightyellow"> </div>
<script language="javascript">
document.onmousemove=function()
{
if(event.srcElement.hint)
{
a.style.display="block"
a.innerHTML=event.srcElement.hint;
a.style.left=window.event.clientX+10 |
2008-01-17 11:03
结构
<html>
<head>
<title>标题<title>
</head>
<body>..........文件内容..........
</body>
</html>
----------------------------------------------
标题
1.文件标题
<title>..........</title>
2.文件更新--<meta>
【1】10秒后自动更新一次
<meta http-equiv="refresh" content=10>
【2】10秒後自动连结到另一文件
<meta http-equiv="refresh" con |
|
|