<!--
应朋友们的要求,现将博客中常用的一些特效代码写出来供大家参考!
一、加入时钟代码:
代码格式:<embed src="flash时钟地址" width="宽度值或百分比" height="高度值" />
举例说明:<div align="center"><embed src=http://myboard.zj.com/clock/clock13.swf width="180" height="180" type="application/x-shockwave-flash" /></div>
时钟样式请见本站:163款各式时钟:http://myok.blogchina.com/1568354.html
二、如何加入透明Flash背景:
代码格式:<embed src="Flash地址"; width="画面宽度" height="画面高度" quality="high" wmode="transparent" align="center" style="position: absolute; left:0; top:0">
此代码为插入透明flash代码,其中 width="" 为flash的宽,height="" 为 flas的高,left: 为从左向右移的位置,top: 为从上向下移的位置
举例说明:<embed src="http://lain1978.com/collection/flash/fish.swf
"; width="800" height="600" quality="high" wmode="transparent" align="center" style="position: absolute; left:0; top:0">
Flash背景素材请见本站:Flash素材01_小雨 http://myok.blogchina.com/1593749.html等
插入Flash动画代码:
代码:<div><embed src="动画地址" width="98%" height="450"/></div>
三、鼠标样式代码(加入到样式表中的body中)
|
鼠标样式 |
效果查看 |
代码 | ||
|
001 |
请将鼠标放在这里察看效果 |
CURSOR: url('http://www.52blog.net/uploadfile/20041214112739616.cur'); | ||
|
002 |
请将鼠标放在这里察看效果 |
cursor:url('http://yuhou.net/build/images/03.cur'); | ||
|
003 |
请将鼠标放在这里察看效果 |
CURSOR: url('http://edu.chinaz.com/images/mouse.ani'); | ||
|
004 |
请将鼠标放在这里察看效果 |
CURSOR: url('http://www.chinahrgg.cn/mouse.ani'); | ||
|
005 |
请将鼠标放在这里察看效果 |
CURSOR: url('http://a5877088.blogbus.com/files/1117547293.ani'); | ||
|
006 |
请将鼠标放在这里察看效果 |
CURSOR: url('http://clsky.net/pic/cur.cur'); | ||
|
007 |
请将鼠标放在这里察看效果 |
cursor:url('http://www.51hongtu.com/mouse.ani'); | ||
|
008 |
请将鼠标放在这里察看效果 |
cursor:url('http://a5877088.blogbus.com/files/1117547244.ani'); | ||
|
009 |
请将鼠标放在这里察看效果 |
cursor:url('http://a5877088.blogbus.com/files/1117547229.ani'); | ||
|
010 |
请将鼠标放在这里察看效果 |
cursor:url('http://a5877088.blogbus.com/files/1117547192.cur '); | ||
|
011 |
请将鼠标放在这里察看效果 |
cursor:url(' http://a5877088.blogbus.com/files/1117547184.ani '); | ||
|
012 |
请将鼠标放在这里察看效果 |
cursor:url(' http://a5877088.blogbus.com/files/1117547159.ani '); | ||
|
013 |
请将鼠标放在这里察看效果 |
cursor:url(' http://a5877088.blogbus.com/files/1117547151.ani '); | ||
|
014 |
请将鼠标放在这里察看效果 |
cursor:url(' http://a5877088.blogbus.com/files/1117547144.ani '); | ||
|
015 |
请将鼠标放在这里察看效果 |
cursor:url(' http://a5877088.blogbus.com/files/1117547136.ani '); | ||
|
016 |
请将鼠标放在这里察看效果 |
cursor:url(' http://a5877088.blogbus.com/files/1117547084.cur '); | ||
|
017 |
请将鼠标放在这里察看效果 |
cursor:url(' http://a5877088.blogbus.com/files/1117546930.ani '); | ||
|
018 |
请将鼠标放在这里察看效果 |
cursor:url(' http://a5877088.blogbus.com/files/1117546873.ani '); | ||
|
019 |
请将鼠标放在这里察看效果 |
cursor:url(' http://a5877088.blogbus.com/files/1117546785.cur '); | ||
|
020 |
请将鼠标放在这里察看效果 |
cursor:url(' http://a5877088.blogbus.com/files/1117546747.cur '); | ||
|
021 |
请将鼠标放在这里察看效果 |
cursor:url(' http://a5877088.blogbus.com/files/1117546737.cur '); | ||
|
022 |
请将鼠标放在这里察看效果 |
cursor:url(' http://a5877088.blogbus.com/files/1117546706.cur '); | ||
|
023 |
请将鼠标放在这里察看效果 |
cursor:url(' http://a5877088.blogbus.com/files/1117546699.cur '); | ||
|
024 |
请将鼠标放在这里察看效果 |
cursor:url(' http://a5877088.blogbus.com/files/1117546669.cur '); | ||
|
025 |
请将鼠标放在这里察看效果 |
cursor:url(' http://a5877088.blogbus.com/files/1117546535.cur '); | ||
|
026 |
请将鼠标放在这里察看效果 |
cursor:url(' http://a5877088.blogbus.com/files/1117546507.cur '); | ||
|
027 |
请将鼠标放在这里察看效果 |
cursor:url(' http://a5877088.blogbus.com/files/1117546669.cur '); | ||
|
028 |
请将鼠标放在这里察看效果 |
cursor:url(' http://a5877088.blogbus.com/files/1117546535.cur '); | ||
|
029 |
请将鼠标放在这里察看效果 |
cursor:url(' http://a5877088.blogbus.com/files/1117546507.cur '); | ||
|
030 |
请将鼠标放在这里察看效果 |
cursor:url(' http://a5877088.blogbus.com/files/1117546376.cur '); | ||
|
031 |
请将鼠标放在这里察看效果 |
cursor:url(' http://a5877088.blogbus.com/files/1117546368.cur '); | ||
|
032 |
请将鼠标放在这里察看效果 |
cursor:url(' http://a5877088.blogbus.com/files/1117546350.cur '); | ||
|
033 |
请将鼠标放在这里察看效果 |
cursor:url(' http://a5877088.blogbus.com/files/1117546330.cur '); | ||
|
034 |
请将鼠标放在这里察看效果 |
cursor:url(' http://a5877088.blogbus.com/files/1117546285.cur '); | ||
|
035 |
请将鼠标放在这里察看效果 |
cursor:url(' http://a5877088.blogbus.com/files/1117546269.cur '); | ||
|
036 |
请将鼠标放在这里察看效果 |
cursor:url(' http://a5877088.blogbus.com/files/1117546243.cur '); | ||
|
037 |
请将鼠标放在这里察看效果 |
cursor:url(' http://a5877088.blogbus.com/files/1117546236.cur '); | ||
|
038 |
请将鼠标放在这里察看效果 |
cursor:url(' http://a5877088.blogbus.com/files/1117546228.cur '); | ||
|
039 |
请将鼠标放在这里察看效果 |
cursor:url(' http://a5877088.blogbus.com/files/1117546217.cur '); | ||
|
040 |
请将鼠标放在这里察看效果 |
cursor:url(' http://a5877088.blogbus.com/files/1117546202.ani '); | ||
|
041 |
请将鼠标放在这里察看效果 |
cursor:url(' http://a5877088.blogbus.com/files/1117546191.cur '); | ||
|
042 |
请将鼠标放在这里察看效果 |
cursor:url(' http://a5877088.blogbus.com/files/1117546180.ani '); | ||
|
043 |
请将鼠标放在这里察看效果 |
cursor:url(' http://a5877088.blogbus.com/files/1117546163.ani '); | ||
|
044 |
请将鼠标放在这里察看效果 |
cursor:url(' http://a5877088.blogbus.com/files/1117546155.ani '); | ||
|
045 |
请将鼠标放在这里察看效果 |
cursor:url(' http://a5877088.blogbus.com/files/1117546120.ani '); | ||
|
046 |
请将鼠标放在这里察看效果 |
cursor:url(' http://a5877088.blogbus.com/files/1117546103.ani '); | ||
|
047 |
请将鼠标放在这里察看效果 |
cursor:url(' http://a5877088.blogbus.com/files/1117546077.ani '); | ||
|
048 |
请将鼠标放在这里察看效果 |
cursor:url(' http://a5877088.blogbus.com/files/1117545984.ani '); | ||
|
049 |
请将鼠标放在这里察看效果 |
cursor:url(' http://a5877088.blogbus.com/files/1117545972.ani '); | ||
|
050 |
请将鼠标放在这里察看效果 |
cursor:url(' http://a5877088.blogbus.com/files/1117545961.ani '); | ||
|
051 |
请将鼠标放在这里察看效果 |
cursor:url(' http://a5877088.blogbus.com/files/1117545949.ani '); | ||
|
052 |
请将鼠标放在这里察看效果 |
cursor:url(' http://a5877088.blogbus.com/files/1117545938.ani '); | ||
|
053 |
请将鼠标放在这里察看效果 |
cursor:url(' http://a5877088.blogbus.com/files/1117545929.ani '); | ||
|
054 |
请将鼠标放在这里察看效果 |
cursor:url(' http://a5877088.blogbus.com/files/1117545905.ani '); | ||
|
055 |
请将鼠标放在这里察看效果 |
cursor:url(' http://a5877088.blogbus.com/files/1117545892.ani '); | ||
|
056 |
请将鼠标放在这里察看效果 |
cursor:url(' http://a5877088.blogbus.com/files/1117545860.ani '); | ||
|
057 |
请将鼠标放在这里察看效果 |
cursor:url(' http://a5877088.blogbus.com/files/1117545843.ani '); | ||
|
058 |
请将鼠标放在这里察看效果 |
cursor:url(' http://a5877088.blogbus.com/files/1117545832.ani '); | ||
|
059 |
请将鼠标放在这里察看效果 |
cursor:url(' http://a5877088.blogbus.com/files/1117545822.ani '); | ||
|
060 |
请将鼠标放在这里察看效果 |
cursor:url(' http://a5877088.blogbus.com/files/1117545811.ani '); | ||
|
061 |
请将鼠标放在这里察看效果 |
cursor:url(' http://a5877088.blogbus.com/files/1117545803.cur '); | ||
|
062 |
请将鼠标放在这里察看效果 |
cursor:url(' http://a5877088.blogbus.com/files/1117545785.cur '); | ||
|
063 |
请将鼠标放在这里察看效果 |
cursor:url(' http://a5877088.blogbus.com/files/1117545770.cur '); | ||
|
064 |
请将鼠标放在这里察看效果 |
cursor:url(' http://a5877088.blogbus.com/files/1117545760.cur '); | ||
|
065 |
请将鼠标放在这里察看效果 |
cursor:url(' http://a5877088.blogbus.com/files/1117545753.cur '); | ||
|
066 |
请将鼠标放在这里察看效果 |
cursor:url(' http://a5877088.blogbus.com/files/1117545747.cur '); | ||
|
067 |
请将鼠标放在这里察看效果 |
cursor:url(' http://a5877088.blogbus.com/files/1117545738.cur '); | ||
|
068 |
请将鼠标放在这里察看效果 |
cursor:url(' http://a5877088.blogbus.com/files/1117545731.cur '); | ||
|
069 |
请将鼠标放在这里察看效果 |
cursor:url(' http://a5877088.blogbus.com/files/1117545725.cur '); | ||
|
070 |
请将鼠标放在这里察看效果 |
cursor:url(' http://a5877088.blogbus.com/files/1117545717.cur '); | ||
|
071 |
请将鼠标放在这里察看效果 |
cursor:url(' http://a5877088.blogbus.com/files/1117545709.cur '); | ||
|
072 |
请将鼠标放在这里察看效果 |
cursor:url(' http://a5877088.blogbus.com/files/1117545702.cur '); | ||
|
073 |
请将鼠标放在这里察看效果 |
cursor:url(' http://a5877088.blogbus.com/files/1117545695.ani '); | ||
|
074 |
请将鼠标放在这里察看效果 |
cursor:url(' http://a5877088.blogbus.com/files/1117545685.ani '); | ||
|
075 |
请将鼠标放在这里察看效果 |
cursor:url(' http://a5877088.blogbus.com/files/1117545679.ani '); | ||
|
076 |
请将鼠标放在这里察看效果 |
cursor:url(' http://a5877088.blogbus.com/files/1117545667.ani '); | ||
|
077 |
请将鼠标放在这里察看效果 |
cursor:url(' http://a5877088.blogbus.com/files/1117545657.cur '); | ||
|
078 |
请将鼠标放在这里察看效果 |
cursor:url(' http://a5877088.blogbus.com/files/1117545648.ani '); | ||
|
079 |
请将鼠标放在这里察看效果 |
cursor:url(' http://a5877088.blogbus.com/files/1117545638.ani '); | ||
|
080 |
请将鼠标放在这里察看效果 |
cursor:url(' http://a5877088.blogbus.com/files/1117545632.cur '); | ||
|
081 |
请将鼠标放在这里察看效果 |
cursor:url(' http://a5877088.blogbus.com/files/1117545625.cur '); | ||
|
082 |
请将鼠标放在这里察看效果 |
cursor:url(' http://a5877088.blogbus.com/files/1117545618.cur '); | ||
|
083 /TD>
|
请将鼠标放在这里察看效果 |
cursor:url(' http://a5877088.blogbus.com/files/1117545609.cur '); | ||
|
084 |
请将鼠标放在这里察看效果 |
cursor:url(' http://a5877088.blogbus.com/files/1117545602.cur '); | ||
|
085 |
请将鼠标放在这里察看效果 |
cursor:url(' http://a5877088.blogbus.com/files/1117545590.ani '); | ||
|
086 |
请将鼠标放在这里察看效果 |
cursor:url(' http://a5877088.blogbus.com/files/1117545580.ani '); | ||
|
087 |
请将鼠标放在这里察看效果 |
cursor:url(' http://a5877088.blogbus.com/files/1117545537.cur '); | ||
|
088 |
请将鼠标放在这里察看效果 |
cursor:url(' http://a5877088.blogbus.com/files/1117545471.cur '); | ||
|
089 |
请将鼠标放在这里察看效果 |
cursor:url(' http://a5877088.blogbus.com/files/1117545441.cur '); | ||
|
090 |
请将鼠标放在这里察看效果 |
cursor:url(' http://a5877088.blogbus.com/files/1117545428.cur '); | ||
|
091 |
请将鼠标放在这里察看效果 |
cursor:url('http://www.5tb.com/link.ani'); | ||
|
093 |
请将鼠标放在这里察看效果 |
CURSOR: url('http://a5877088.blogbus.com/files/1117547278.ani') | ||
|
094 |
请将鼠标放在这里察看效果 |
CURSOR: url('http://lengku.net//index/mouse.ani') | ||
|
095 |
请将鼠标放在这里察看效果 |
CURSOR: hand(系统) | ||
|
096 |
请将鼠标放在这里察看效果 |
CURSOR: crosshair(系统) | ||
|
097 |
请将鼠标放在这里察看效果 |
cursor:text(系统) | ||
|
098 |
请将鼠标放在这里察看效果 |
CURSOR: wait(系统) | ||
|
099 |
请将鼠标放在这里察看效果 |
cursor:default(系统) | ||
|
100 |
请将鼠标放在这里察看效果 |
CURSOR: help(系统) | ||
|
101 |
请将鼠标放在这里察看效果 |
cursor:e-resize(系统) | ||
|
102 |
请将鼠标放在这里察看效果 |
cursor:s-resize(系统) | ||
|
103 |
请将鼠标放在这里察看效果 |
cursor:auto(系统) | ||
|
104 |
请将鼠标放在这里察看效果 |
cursor:move(系统) | ||
四、背景音乐代码
在页面中加入背景音乐,其实很简单,有两种方法:
最简单的方法是,在页面代码中的<head>与</head>标签之间加入如下代码:<bgsound src="xxx" loop="-1">
其中:“xxx”处添入你要加入的背景音乐的地址,“loop”中的数值是音乐循环的次数,可设置为任意正整数,若设为“-1”的话,音乐将永远循环。
另外一种方法则略微复杂一些,但可设置的参数也较多。这次我们在页面代码中的<body>与</body>标签之间加入一个“Embed”标签,其最简形式就像这样:
<EMBED src="xxx" autostart="true" loop="true" width="80" height="20">
不同的是,在这里我们可以设置更多内容,以下是具体的说明:
| src | 背景音乐的路径。 |
| autostart |
是否自动播放,“true”为音乐文件读取完后立即播放,“false”则不立即播放,默认值为“false” |
| loop | 循环次数,设置为“true”为永远循环,“false”为仅播放一次,若设为任意一正整数,则循环所输入的次数。 |
| volume | 设置音量,取值范围是“0-100”,默认值为系统当前音量。 |
| starttime | 设置音乐开始播放的时间,格式是“分:秒”,如:starttime="00:10",就是从第10秒开始播放。 |
| endtime | 设置音乐结束播放的时间,具体格式同上。 |
| width | 设置音乐播放控制面板的宽度。 |
| height | 设置音乐播放控制面板的高度。 |
| controls | 设置音乐播放控制面板的外观,“console”为通常面板;“smallconsole”为小型面板。“playbutton”为是否显示播放按钮;“pausebutton”为是否显示暂停按钮;“stopbutton”为是否显示停止按钮;“volumelever”为是否显示音量调节按钮,例如: controls="console/smallconsole/playbutton/ pausebutton/stopbutton/volumelever"。 |
| hidden | 设置音乐播放控制面板的显示与否,“false”为显示,“true”为隐藏。 |
不过要注意,音乐文件的体积不要太大,否则页面已经打开了半天,音乐却还没有读出来。
五、添加邮箱快速登录代码
<div align=center><form name="loginmail" onsubmit="function anonymous()
{return chkinput2(this);
}" action=http://219.129.20.144:8000/sendmail.asp method="post" target="_blank"><select tabindex="2" size="1" name="site"> <option value="">请选择你的邮箱</option> <option value="21cn.com">@21cn.com</option> <option value="163.net">@163.net</option> <option value="tom.com">@tom.com</option> <option value="163.com">@163.com</option> <option value="vip.163.com">@vip.163.com</option> <option value="sohu.com">@sohu.com</option> <option value="263.net">@263.net</option> <option value="sina.com">@sina.com</option> <option value="vip.sina.com">@vip.sina.com</option> <option value="mail.china.com">@mail.china.com</option> <option value="china.com">@china.com</option> <option value="netease.com">@netease.com</option> <option value="yeah.net">@yeah.net</option> <option value="etang.com">@etang.com</option> <option value="fm365.com">@fm365.com</option> <option value="cn.yahoo.com">@yahoo.com.cn</option> <option value="xinhuanet.com">@xinhuanet.com</option> <option value="eyou.com">@eyou.com</option> <option value="email.com.cn">@email.com.cn</option> <option value="ynmail.com">@ynmail.com</option> <option value="citiz.net">@citiz.net</option> <option value="126.com">@126.com网易50M</option> <option value="elong.com">@elong.com</option></select><br />帐 号:<input style="FONT-SIZE: 12px" tabindex="3" size="12" name="user" /><br />密码:<input style="FONT-SIZE: 12px" tabindex="3" type="password" size="12" name="pass" /><input style="FONT-SIZE: 13px; WIDTH: 30px; HEIGHT: 24px" onclick="function anonymous()
{setTimeout('clearpass()',1000)
}" tabindex="4" type="submit" size="4" name="Submit2" /></form></div>
六、添加搜索引擎代码
<div align=center><iframe id="baiduframe" border="0" vspace="0" hspace="0" marginwidth="0" marginheight="0"
framespacing="0" frameborder="0" scrolling="no" width="200" height="30"
src="http://unstat.baidu.com/bdun.bsc?tn=dabaoku&cv=1&cid=31577&csid=102&rkcs=2&bgcr=EDEDEB&ftcr=FF0000&rk=1&bd=1&bdas=0">
</iframe></div><div align=center><FORM method=GET action="http://www.google.com/search" target=_blank>
<input type=hidden name=ie value=GB2312>
<input type=hidden name=oe value=GB2312>
<INPUT TYPE="hidden" NAME="hl" VALUE="zh-CN">
<A HREF="http://www.google.com/" target=_blank>
<IMG SRC="http://www.google.com/logos/Logo_40wht.gif" border="0" ALT="Google" height="20px"></A><INPUT TYPE=text name=q size=12 maxlength=255 value="">
<INPUT type=submit name=btnG VALUE="搜索">
<input type=hidden name=domains value="这里输入你的网站地址"</br>
<input type=radio name=sitesearch value="">全球搜索
<input type=radio name=sitesearch value="这里输入你的网站地址" checked> 本站搜索<br>
</font></FORM></div>
七、文字移动代码
<marquee onmouseover=this.stop() onmouseout=this.start() scrollamount="1" scrolldelay="60" direction="up" width="180" height="210"><div><font color="#ff0000"><b>本站公告</b></font></div><div><font color="#003366">这里是移动文字内容</font></div></marquee>
八、图片链接移动代码
<marquee onmouseover=this.stop() onmouseout=this.start() scrollamount="1" scrolldelay="60" direction="up" width="200" height="230"><div align="center"><a href="http://myok.blogchina.com/1574968.html" target="_blank"><img src="http://www.guilintour.net/pic/upload/200471269665.jpg" width="200" border="0" /></a></div><div align="center"><a href="http://myok.blogchina.com/1575395.html" target="_blank"><img src="http://ccd.zjonline.com.cn/images/txtp/yzyh007.jpg" width="200" border="0" /></a></div></marquee>
九、细线表格制做
<div align="center">
<table cellspacing="1" cellpadding="0" width="100%" bgcolor="#FF0000" border="0">
<tbody>
<tr bgcolor="#FFFFFF" height="20">
<td><div align="center">表格内容</div></td>
<td><div align="center">表格内容</div></td>
<td><div align="center">表格内容</div></td>
<td><div align="center">表格内容</div></td>
<tr bgcolor="#FFFFFF" height="20">
<td><div align="center">表格内容</div></td>
<td><div align="center">表格内容</div></td>
<td><div align="center">表格内容</div></td>
<td><div align="center">表格内容</div></td>
</tr></table></div>
十、加入滚动条代码
/*====将滚动条加在样式表最后====*/
/*====最新评论滚动条====*/
#remark.operation ul{
height:300px;
overflow: auto;
scrollbar-face-color : threedhighlight;
width: 195px;
text-align: left;
margin: 0px 0px 0px 5px;
padding: 0;
}
/*====在线留言滚动条====*/
.guestBook ul{
height:310px;
overflow: auto;
scrollbar-face-color : threedhighlight;
width: 195px;
text-align: left;
margin:0px 0px 0px 5px;
padding: 0;
}
/*====最新文章滚动条====*/
#newWeblog.operation ul{
height:140px;
overflow: auto;
scrollbar-face-color : threedhighlight;
width: 195px;
text-align: left;
margin: 0px 0px 0px 5px;
padding: 0;
}
十一、显IP地址免费代码
<iframe src="http://ip.91.com/ip/showip.asp?text=&bg=&line=2&scro=1&leng=140" frameborder="0" scrolling="no" width="200" height="36" marginheight="4" marginwidth="0"></iframe>
十二、免费手机地理位置查询代码
<form method="POST" action="http://www.imobile.com.cn/simcard.php" target="_blank">
手机号(前7位):<input type="text" name="simcard" size="7">
<input type="submit" value="查询">
</form>
代码二:
<FORM action=http://www.k688.com/sj/index.php method=post target="_blank">
<tr>
<td> <input onMouseOver="this.focus()" onblur="if (this.value =='') this.value='请输入手机号码'" onFocus="this.select()" onClick="if (this.value=='请输入手机号码') this.value=''" name="m" type="text" id="m2" size="12" value='请输入手机号码'>
<input type="submit" name="Submit" value="手机地址">
<input name="a" type="hidden" id="a2" value="search">
</td>
</tr>
</form>
十三、免费IP地址位置查询代码
<form name=frmIp1 action="" method=post onsubmit="deal1(this);return false">
<input type=text name=txtIp value="请输入ip地址">
<input type=submit name=submit1 value="查询">
</form>
<script>
function deal1(obj)
{
window.open("http://www.it315.org/ip/ip_area1.asp?ip="+ obj.txtIp.value,"_blank","top=0,left=0,width=300,height=150,toolbar=no");
}
</script>
十四、下拉列表链接代码
<SELECT style="WIDTH: 100px;FONT-SIZE: 10pt; BACKGROUND: #FFFFFF; COLOR: #000000; FONT-FAMILY: Arial" onchange=javascript:window.open(this.options[this.selectedIndex].value) name=select value="GO"><OPTION value=# selected>超级链接</OPTION><OPTION value=http://myok.blogchina.com>山水天下</OPTION><OPTION value=http://myok.blogchina.com>山水天下</OPTION><OPTION value=http://myok.blogchina.com>山水天下</OPTION><OPTION value=http://myok.blogchina.com>山水天下</OPTION><OPTION value=http://myok.blogchina.com>山水天下</OPTION></SELECT>
十五、滚动新闻代码
新浪的:<IFRAME border=0 name=sina_roll marginWidth=0 marginHeight=0 src="http://news.sina.com.cn/o/allnews/input/index.html" frameBorder=No width="100%" scrolling=no height=15></IFRAME>
网易的:
<iframe width="100%" HEIGHT=20 align=center MARGINWIDTH=0 Name=union163com MARGINHEIGHT=0 HSPACE=0 VSPACE=0 FRAMEBORDER=0 SCROLLING=no src="http://news2.163.com/news/marq1.jsp?ID=163&NO=0&boxColor=ffffff&txtColor=000000"></iframe>
CCTV:
<iframe src="http://www.cctv.com/homepage/46/index.shtml"; name="express" width="100%" height="20" marginwidth="0" marginheight="0" frameborder="0" scrolling="no"></iframe>
其他:
代码一:新闻<iframe frameborder=0 leftmargin=0 marginheight=0 marginwidth=0 scrolling=no src="http://www.tv868.com/xinwen/011.htm" topmargin=0 width="100%" height=20></iframe>
代码二:娱乐<iframe frameborder=0 leftmargin=0 marginheight=0 marginwidth=0 scrolling=no src="http://www.tv868.com/xinwen/012.htm" topmargin=0 width="100%" height=20></iframe>
sohu
加综合新闻
<iframe WIDTH=100% HEIGHT=20 MARGINWIDTH=0 MARGINHEIGHT=0 HSPACE=0 VSPACE=0 FRAMEBORDER=0 SCROLLING=no SRC='http://links.news.sohu.com/scscne002.html?uid=73916&fid=scscne002'></iframe>
体育新闻
<iframe WIDTH=100% HEIGHT=20 MARGINWIDTH=0 MARGINHEIGHT=0 HSPACE=0 VSPACE=0 FRAMEBORDER=0 SCROLLING=no SRC='http://links.news.sohu.com/scscsp002.html?uid=73916&fid=scscsp002'></iframe>
汽车新闻
<iframe WIDTH=100% HEIGHT=20 MARGINWIDTH=0 MARGINHEIGHT=0 HSPACE=0 VSPACE=0 FRAMEBORDER=0 SCROLLING=no SRC='http://links.news.sohu.com/scscau002.html?uid=73916&fid=scscau002'></iframe>
娱乐新闻
<iframe WIDTH=100% HEIGHT=20 MARGINWIDTH=0 MARGINHEIGHT=0 HSPACE=0 VSPACE=0 FRAMEBORDER=0 SCROLLING=no SRC='http://links.news.sohu.com/scscen002.html?uid=73916&fid=scscen002'></iframe>
财经新闻
<iframe WIDTH=100% HEIGHT=20 MARGINWIDTH=0 MARGINHEIGHT=0 HSPACE=0 VSPACE=0 FRAMEBORDER=0 SCROLLING=no SRC='http://links.news.sohu.com/scscbu002.html?uid=73916&fid=scscbu002'></iframe>
IT新闻
<iframe WIDTH=100% HEIGHT=20 MARGINWIDTH=0 MARGINHEIGHT=0 HSPACE=0 VSPACE=0 FRAMEBORDER=0 SCROLLING=no SRC='http://links.news.sohu.com/scscit002.html?uid=73916&fid=scscit002'></iframe>
旅游新闻
<iframe WIDTH=100% HEIGHT=20 MARGINWIDTH=0 MARGINHEIGHT=0 HSPACE=0 VSPACE=0 FRAMEBORDER=0 SCROLLING=no SRC='http://links.union.sohu.com/scsctr002.html?uid=73916&fid=scsctr002'></iframe>
教育新闻
<iframe WIDTH=100% HEIGHT=20 MARGINWIDTH=0 MARGINHEIGHT=0 HSPACE=0 VSPACE=0 FRAMEBORDER=0 SCROLLING=no SRC='http://links.news.sohu.com/scscle002.html?uid=73916&fid=scscle002'></iframe>
健康新闻
<iframe WIDTH=100% HEIGHT=20 MARGINWIDTH=0 MARGINHEIGHT=0 HSPACE=0 VSPACE=0 FRAMEBORDER=0 SCROLLING=no SRC='http://links.news.sohu.com/scsche002.html?uid=73916&fid=scsche002'></iframe>
文化新闻
<iframe WIDTH=100% HEIGHT=20 MARGINWIDTH=0 MARGINHEIGHT=0 HSPACE=0 VSPACE=0 FRAMEBORDER=0 SCROLLING=no SRC='http://links.news.sohu.com/scsccu002.html?uid=73916&fid=scsccu002'></iframe>
旅游新闻
<iframe WIDTH=100% HEIGHT=20 MARGINWIDTH=0 MARGINHEIGHT=0 HSPACE=0 VSPACE=0 FRAMEBORDER=0 SCROLLING=no SRC='http://links.news.sohu.com/scsctr002.html?uid=73916&fid=scsctr002'></iframe>
十六、去掉“手拉手”显示(接自dozb文)
在单篇日志样式表中的div.operation中加入下列语句:
text:expression((children != null && children.length>0 && children[0].name=="relatedDiary")?style.display = "none":"";
-->
你可以使用这个链接引用该篇文章 http://publishblog.blogchina.com/blog/tb.b?diaryID=2317398
|
- 评论人:玉米
2009-02-01 11:39:01
|
|||
2 你好,现在通过下面链接可以备份您的博客: http://home.myspace.cn/blogmove.aspx 快去看看^_^ bokee.com 1100541 |
||||
|
- 评论人:艾薇儿
2005-07-21 15:47:41
|
|||
非常感谢您为我们大家提供的这么好的素材!希望您能继续为我们提供更多更好的素材!愿您在博客网玩得开心!! |
||||
|
- 评论人:周末心情
2005-07-19 21:40:52
|
|||
强啊,帮上大忙了,还有要请教的地方啊。
|
||||
|
- 评论人:dozb
2005-07-19 20:12:25
|
|||
真是有心啊,整理得这么好。 |
||||
|
- 评论人:kuroshio
2005-07-19 13:05:10
|
|||
强的,很实用! |
||||