1 在BLOG中显示来访人的IP地址的方法:
在你博客的适当位置加入以下代码就可以显示访客的IP地址了
<iframe src=http://ip.91.com/ip/showip.asp?text=&bg=&line=2&scro=1&leng=180 frameborder="0" scrolling="no" width="180" height="30" marginheight="4" marginwidth="0"></iframe>
2 添加视频的代码
<EMBED src=视频链接地址 width=200 height=186 type=audio/mpeg autostart="false" loop="false">
设置autostart为"true"为自动播放,"false"为不自动播放,宽度width和高度height都可以自定义。
3 添加背景音乐的代码:
方法一:<EMBED src=音乐链接地址 width=200 height=186 autostart="false" loop="false">
方法二:本站提供BLOG背景音乐播放器申请,你也可以申请个,目前支持10种样式,最多可以添加60首歌。申请地址
http://ourthythm.cn/bfq
4 添加天气预报的代码:
<iframe src="http://weather.265.com/weather.htm" width="160" height="54" frameborder="no" border="0" marginwidth="0" marginheight="0" scrolling="no"></iframe>
5 在BLOG中添加留言涂鸦板的方法
<P align=center><EMBED pluginspage=http://www.macromedia.com/go/getflashplayer src=http://blog.xuite.net/_service/smallpaint/swf/main.swf?server_url=/_users&service_url=http://blog.xuite.net/_service/smallpaint/&save_url=http://blog.xuite.net/_service/smallpaint/save.php&list_url=http://blog.xuite.net/_service/smallpaint/list.php&bid=160659&author=Y width=140 height=310 type=application/x-shockwave-flash quality="high"></P></EMBED>
6 在你的BLOG下面的IE状态栏显示文字
<META http-equiv=Content-Type content="text/html; charset=gb2312">
<SCRIPT language=javascript>
<!--
function statusMessageObject(p,d) {
this.msg = MESSAGE
this.out = " "
this.pos = POSITION
this.delay = DELAY
this.i = 0
this.reset = clearMessage
}
function clearMessage() {
this.pos = POSITION
}
var POSITION = 20
var DELAY = 20
var MESSAGE = "★欢迎光临我的blog★ "
var scroll = new statusMessageObject()
function scroller() {
for (scroll.i = 0; scroll.i < scroll.pos; scroll.i++) {
scroll.out += " "
}
if (scroll.pos >= 0)
scroll.out += scroll.msg
else scroll.out =
scroll.msg.substring(-scroll.pos,scroll.msg.length)
window.status = scroll.out
scroll.out = " "
scroll.pos--
if (scroll.pos < -(scroll.msg.length)) {
scroll.reset()
}
setTimeout ('scroller()',scroll.delay)
}
function snapIn(jumpSpaces,position) {
var msg = scroll.msg
var out = ""
for (var i=0; i<position; i++)
{out += msg.charAt(i)}
for (i=1;i<jumpSpaces;i++)
{out += " "}
out += msg.charAt(position)
window.status = out
if (jumpSpaces <= 1) {
position++
if (msg.charAt(position) == ' ')
{position++ }
jumpSpaces = 100-position
} else if (jumpSpaces > 3)
{jumpSpaces *= .75}
else
{jumpSpaces--}
if (position != msg.length) {
var cmd = "snapIn(" + jumpSpaces + "," + position + ")";
scrollID = window.setTimeout(cmd,scroll.delay);
} else {
window.status=""
jumpSpaces=0
position=0
cmd = "snapIn(" + jumpSpaces + "," + position + ")";
scrollID = window.setTimeout(cmd,scroll.delay);
return false
}
return true
}
snapIn(100,0);
// -->
</SCRIPT>
7 在BLOG中添加搜索引擎的代码
1、添加Google搜索引擎代码:
<DIV>
<LEFT>
<FORM action=http://www.google.com/search method=get>
<TABLE bgColor=#ffffff>
<TBODY>
<TR>
<TD>
<P align=left><A href="http://www.google.com/intl/zh-CN/"><IMG style="WIDTH: 168px; HEIGHT: 56px" height=44 alt=Google src="http://www.google.com/logos/Logo_60wht.gif" width=128 align=absMiddle border=0></A></P><P><INPUT style="WIDTH: 90px; HEIGHT: 22px" maxLength=255 size=12 name=q><INPUT style="WIDTH: 76px; HEIGHT: 23px" type=submit size=13 value="Google 搜索" name=btnG> </P></TD></TR></TBODY></TABLE></FORM></CENTER></DIV>
2、添加百度搜索引擎代码:
<DIV align=left><IFRAME id=baiduframe style="WIDTH: 220px; HEIGHT: 35px" border=0 marginWidth=0 frameSpacing=0 marginHeight=0
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" frameBorder=0 width=200 scrolling=no height=30>
</IFRAME></DIV>
8 在BLOG中添加滚动新闻的方法
CCTV新闻:
<table border=0 cellspacing=1 cellpadding=0 width=’98%’>
<td valign="top"><div align="center">
<iframe src="http://www.cctv.com/homepage/46/index.shtml"; name="express"
width="354" height="16" marginwidth="0" marginheight="0" frameborder="0"
scrolling="no"></iframe></div></table>
新浪新闻代码:
<TABLE cellSpacing=1 cellPadding=0 width="98%" border=0>
<TBODY>
<TR align=middle>
<TD align=middle bgColor=#ffffff colSpan=15 height=30><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></TD></TR></TBODY></TABLE> 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>
sohu体育新闻代码:
<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>
sohu娱乐新闻代码:
<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>
sohu 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>
sohu教育新闻代码:
<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>
sohu健康新闻代码:
<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>
sohu文化新闻代码:
<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>
sohu旅游新闻代码:
<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>
9 在博客上添加滚动图片的方法
<MARQUEE scrollAmount=2 scrollDelay=0 behavior=alternate width=240 height=260><IMG height=200 src="地址1" width=200 border=0> <IMG height=260 src="地址2" width=200 border=0> <IMG height=260 src="地址3" width=310 border=0> <IMG height=260 src="地址4" width=200 border=0></MARQUEE>
10 以图片为背景发表日志的方法
<table width="宽度" border="0">
<tr>
<td height="562" background="地址"></td>
</tr>
</table>
11 特殊文字代码
1、浮雕的文字代码
</textarea><table style="FILTER: dropshadow(color=#6699FF, offx=1, offy=1, positive=1);"><font color=#ffffff>在这里输入文字</font></table>
其中color是阴影的颜色,可以配合网页色调改变,positive是设置阴影的强度,offx
和offy是设置的阴影和文字的距离,font color是原字体的颜色。
2、阴影的文字代码
</textarea><table style="FILTER: dropshadow(color=#cccccc, offx=2, offy=2, positive=2);"><font color=#6CABE7 size=2>在这里输入文字</font>
</table>
3、倒帖的文字特效代码
<p> align=right><FONT >style="FONT-SIZE:50pt;filter:FlipH(color=silver);WIDTH:100%; COLOR:red;LINE-HEIGHT:150%;FONT-FAMILY:华文行楷"><B>在这里输入文字</B></FONT></p>
4、翻转文字特效代码
<FONT style="FONT-SIZE:50pt;filter:FlipV(color=silver);WIDTH:100%;
COLOR:red;LINE-HEIGHT:150%;FONT-FAMILY:华文行楷"><B>在这里输入文字</B></FONT>
5、漂动文字特效代码 <table align=center border=3 bordercolor="#CD5C5C" width=450 height=350><td background=http://bbs.yunbbs.com/uploadFile/2004-12/20041210163350528.jpg><marquee behavior=alternate scrollamount=3 direction=down height=350><marquee behavior=alternate scrollamount=3 width=500><img src="/blog/1.gif>";<font color=red size=6><b>在这里输入文字</b><img src="/blog/1.gif>";</font></marquee></table><br>
6、不停变化颜色的字代码
<DIV id=texture style="WIDTH: 460px; HEIGHT:30px"><IMG height=2
src="/web/ewebeditor/UploadFile/2005101692624157.gif" width=460px
align=right><IMG height=30px src="/web/ewebeditor/UploadFile/2005101692625359.gif" width=446.2px
align=right><DIV style="FONT-SIZE: 20px; FILTER: Chroma(color=#FCFBFA); FLOAT: left; WIDTH: 460px; HEIGHT:30px; BACKGROUND-COLOR:#000000" align=center><FONT color=#FCFBFA>在这里输入文字</FONT></DIV></DIV>
12 添加FLASH时钟的代码
<div align="center"><embed src="FLASH时钟地址" width="180" height="180" type="application/x-shockwave-flash" /></div>
flash时钟地址(都是 .swf 结尾的)覆盖代码中的“FLASH时钟地址就可以了”。
width="180"为宽度 height="180"为高度
时钟的网站:
http://myok.blogchina.com/1568354.html
13 添加挂件装饰的方法
<DIV id=youxia style="RIGHT: 10px; POSITION: absolute; TOP: 100px"><IMG src="图片地址" border=0></A></DIV>
(以上为右挂件代码,更换RIGHT为LEFT,则为左挂件代码)以下是一些挂件地址:
http://lbxx.blogchina.com/4128512.html
http://bbs.uying.com/72/57969/
http://www.2008red.com/member_pi ... rticle_7796_1.shtml
http://blog.sina.com.cn/pic/40748d36020000mf
http://blog.sina.com.cn/pic/55a641f5020000sb
http://blog.sina.com.cn/pic/55a641f5020000sc
http://blog.sina.com.cn/pic/55a641f5020000sd
http://blog.sina.com.cn/pic/55a641f5020000si
http://blog.sina.com.cn/pic/55a641f5020000sh
http://album.sina.com.cn/pic/4782625a020000vj
http://album.sina.com.cn/pic/4782625a020000w6
http://album.sina.com.cn/pic/4782625a020000un
http://album.sina.com.cn/pic/4782625a020000um
http://album.sina.com.cn/pic/4782625a020000vi