和讯博客代码大全及使用教程
2008-05-11 11:09:24.0
和讯博客代码大全及使用教程
上网时间长了,也学了不少东西,不过却很少写出来,今天特意花时间到网上收集了博客上装饰的各种实用代码来,与大家分享,希望大家能喜欢~~~


特效文字代码,在下面这个页面上

http://youyougood.blog.hexun.com/7211154_d.html


透明flash背景地址,在下面的页面上

http://youyougood.blog.hexun.com/7211026_d.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: 为从上向下移的位置 ,可以自己根据需要修改~

下面是3个很经典的背景动画代码示例,更多的动画地址请到上面那地址里找,用法都一样,就把代码中动画的地址换下而已~~

流星背景
<CENTER><EMBED style="LEFT: 10px; POSITION: absolute; TOP: -70px" align=right src=/upimgback/allimg/070122/1417590.jpg">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>


女性月经安全期查询代码
<script src=" http://www.xise.cn/qita/nxaq/1.js"></script>
<iframe scrolling="no" frameborder="0" width="400" height="450" src="http://www.xise.cn/qita/nxaq/" allowtransparency="true"></iframe>

MTV音乐歌曲连播代码
<script language="JavaScript" src=" http://www1.xise.cn/mtv/vv306_353.js"></script>
<iframe border=0 frameborder=0 width=306 height=353 scrolling=no src=http://www1.xise.cn/mtv/v306_353.htm></iframe>

细线表格制做

<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>


免费手机地理位置查询代码

<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>


免费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>

第2种(我用的这种)
<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>





 

聊天室申请:http://say-on.com/

就是我个人门户页面上的那个


天气预报代码1
<iframe src="http://weather.265.com/weather.htm" width="168" height="94" frameborder="no" border="0" marginwidth="0" marginheight="0" scrolling="no"></iframe>

天气预报代码2[我选了这一款]


<IFRAME ID='ifm2' WIDTH='189' HEIGHT='190' ALIGN='CENTER' MARGINWIDTH='0' MARGINHEIGHT='0' HSPACE='0' VSPACE='0' FRAMEBORDER='0' SCROLLING='NO' SRC='http://weather.qq.com/inc/ss258.htm'></IFRAME>

天气预报代码3

<IFRAME ID='ifm2' WIDTH='260' HEIGHT='70' ALIGN='CENTER' MARGINWIDTH='0' MARGINHEIGHT='0' HSPACE='0' VSPACE='0' FRAMEBORDER='0' SCROLLING='NO' src="http://news.sina.com.cn/iframe/weather/130101.html"></IFRAME>


天气预报代码4

<iframe width="145" height="130" border="0" align="center" marginwidth="0" marginheight="0" hspace="0" vspace="0" frameborder="0" scrolling="no" src="http://minisite.qq.com/Weather/news_new.html" allowTransparency="true"></iframe>




魔法老人导航


<SCRIPT>
<!--
function crml(nid)
{
try
{
nid=new ActiveXObject("Agent.Control.2");
nid.Connected = true;
nid.Characters.Load("");
return nid;
}
catch (err)
{
return false;
}
}

function chplay ()
{
if (ml=crml ("ml"))
{
var MerlinID;
var MerlinACS;
Merlin = ml.Characters.Character(MerlinID);
Merlin.MoveTo(200,200);
Merlin.Show();
Merlin.Play("Explain");
Merlin.Play("Announce");
Merlin.Speak("欢迎您来");
Merlin.Play("Gestureright");
Merlin.Play("Pleased");
Merlin.Speak("我的网址请记住");
Merlin.Play("Idle1_1");
Merlin.Hide();
Merlin.MoveTo(600,300);
Merlin.Show();
Merlin.Play("Surprised");
Merlin.Speak("请四处看看!");
Merlin.Play("Read");
Merlin.Speak("帮忙灌下水哦!!再发表一点点意见");
Merlin.Play("Read")
Merlin.Play("GestureUp");
Merlin.Speak("如果您看的上的我帖子的话。尽管转走");
Merlin.Play("DontRecognize");
Merlin.Speak("感谢您的到来!");
Merlin.Play("DontRecognize");
Merlin.Play("Greet");
Merlin.Speak("你的每一次到来");
Merlin.Play("Read");
Merlin.Speak("我都会在这里祝福你");
Merlin.Play("Gestureright");
Merlin.Play("Pleased");
Merlin.Speak("你的支持.才是我的动力");
Merlin.Play("Idle1_1");
Merlin.Hide();
Merlin.MoveTo(600,300);
Merlin.Show();
Merlin.Play("Surprised");
Merlin.Play("DontRecognize");
Merlin.Play("Greet");
Merlin.Speak("快给我点好的意见把`.或者联系我");
Merlin.Play("DontRecognize");
Merlin.Play("Greet");
Merlin.Speak("如果喜欢我的空间!您可以加为关注");
Merlin.Play("Read");
Merlin.Play("Greet");
Merlin.Hide();
Merlin.MoveTo(500,300);
Merlin.Show();
Merlin.Play("Surprised");
Merlin.Speak("以后要常来哟`更多好玩的等着你");
Merlin.Play("Surprised");
Merlin.Speak("我在这里祝您天天开心");
Merlin.Play("Read");
Merlin.Speak("88!下次再见.以后");
Merlin.Play("Greet");
Merlin.Play("Surprised");
Merlin.Hide();
}
}
//-->
</SCRIPT>

<SCRIPT>
<!--
chplay()
-->
</SCRIPT>

<SCRIPT language=JavaScript><!--

function getCookieVal(offset)


{var endstr=document.cookie.indexOf(";",offset);if(endstr==-1)


endstr=document.cookie.length;return unescape(document.cookie.substring(offset,endstr));}function GetCookie(name)


{var arg=name "=";var alen=arg.length;var clen=document.cookie.length;var i=0;while(i<clen)


{var j=i alen;if(document.cookie.substring(i,j)==arg)


return getCookieVal(j);i=document.cookie.indexOf(" ",i) 1;if(i==0)


break;


}return null;}function SetCookie(name,value)


{var argv=SetCookie.arguments;var argc=SetCookie.arguments.length;var expires=(2<argc)?argv[2]:null;var path=(3<argc)?argv[3]:null;var domain=(4<argc)?argv[4]:null;var secure=(5<argc)?argv[5]:false;document.cookie=name "=" escape(value) ((expires==null)?"":("; expire*=" **pires.toGMTString())) ((path==null)?"":("; path=" path)) ((domain==null)?"":("; domain=" domain)) ((secure==true)?"; secure":"");}function ResetCounts(name)


{visits=0;SetCookie("visits",visit*,**pdate,"/",null,false);location.reload();}

//-->


</SCRIPT>


向上跑的公告栏代码(挺好的)


<MARQUEE onmouseover=this.stop() onmouseout=this.start() scrollAmount=1 scrollDelay=60 direction=up width=170 height=152>
<DIV><FONT color=red><B><CENTER>最新通告</CENTER></B></FONT><BR>
<FONT color=#003366>声明<BR></FONT>
<FONT color=#0000EE>本站资料部分来自于互联网,其版权归原作者或其他合法者所有.如内容涉及或侵犯了您的权益,请通知本人,我将尽快处理!</FONT><BR><BR>
<FONT color=#0000EE><B><CENTER>也希望能多结交一些朋友.</CENTER></B></FONT><BR>
<FONT color=#0000EE><B><CENTER>黄山蓝风同时在这里问候所有的朋友们,你们现在都还好吗?感谢你们对我的帮助,我一定不会忘记.祝愿大家都能幸福快乐!多点保重身体!有事没事多多联系.</CENTER></B></FONT><BR>
<FONT color=#003366>邮箱:huanglan_19@yahoo.com.cn</FONT><BR>QQ:634662345<BR>MSN:huanglan_19@yahoo.com.cn</FONT></DIV></MARQUEE></DIV> <ul class="bookmarkGroup" id="bookmarkGroup204082">
</ul>
</div>
<embed width=200 height=200
src="http://www.8gem.com/hotlion/clock53.swf";></embed>
<DIV id=youxia style="left: 10px; POSITION: absolute; TOP: 50px"><IMG src="http://www.muqin.com.cn/upload/forum/2005072016300140.gif" border=0></A></DIV>






个性鼠标代码:


<STYLE type=text/css>
A:hover {CURSOR: url('http://imgcache.qq.com/qzone/item/orig/10/4250.ani')}
BODY {CURSOR: url('http://imgcache.qq.com/qzone/item/orig/10/4250.ani')}
</STYLE>




以上就是添加个性鼠标的代码,选择一个好看的鼠标,
把鼠标的地址换到链接地址栏就可以了,(2个地址都要换掉)

鼠标地址下面有:

http://youyougood.blog.hexun.com/7212673_d.html


加入时钟代码:
代码格式:<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>

时钟地址在下面这个页面上

http://youyougood.blog.hexun.com/7212791_d.html


挂件代码
<DIV id=yuzi style="RIGHT: 5px; POSITION: absolute; TOP: 20px"><IMG style="WIDTH: 90px; HEIGHT: 300px" height=125 src="http://blog.sina.com.cn/pic/41177fa7020000w8" width=101 border=0></A></DIV>


一些挂件的地址(自己看,有些地址可能打不开)
13蝶语真爱http://blog.lanyue.com/upload/user/512/428278_18195510.gif
14你浓我浓http://blog.lanyue.com/upload/user/512/428278_18195653.gif
15流星小兔http://blog.lanyue.com/upload/user/512/428278_18195829.gif
16水瓶挂饰http://blog.lanyue.com/upload/user/512/428278_18200259.gif
17双子挂饰http://blog.lanyue.com/upload/user/512/428278_18200412.gif
18可爱虎虎http://blog.lanyue.com/upload/user/512/428278_18201103.gif
1,挂玉 http://www.qqjia.com/learn/qq2005/q-zone/gj/1.gif
2招财猫 http://www.qqjia.com/learn/qq2005/q-zone/gj/2.gif
3生日快乐 http://www.qqjia.com/learn/qq2005/q-zone/gj/3.gif
4长沙漏 http://www.qqjia.com/learn/qq2005/q-zone/gj/4.gif
5美人鱼 http://www.qqjia.com/learn/qq2005/q-zone/gj/5.gif
6玫瑰 http://www.qqjia.com/learn/qq2005/q-zone/gj/6.gif
7 http://www.tqqa.com/Article/UploadFiles/200512/20051214002610343.gif
8 http://www.tqqa.com/Article/UploadFiles/200512/20051214002610183.gif
9 http://www.tqqa.com/Article/UploadFiles/200512/20051214002609522.gif
10 http://www.tqqa.com/Article/UploadFiles/200512/20051214002604470.gif
11 http://www.tqqa.com/Article/UploadFiles/200512/20051214002603600.gif
12 http://www.tqqa.com/Article/UploadFiles/200512/20051214002602822.gif
13 http://www.tqqa.com/Article/UploadFiles/200512/20051214002601741.gif
14 http://www.tqqa.com/Article/UploadFiles/200512/20051214002600283.gif
15 http://www.tqqa.com/Article/UploadFiles/200512/20051214002557712.gif
16 http://www.tqqa.com/Article/UploadFiles/200512/20051214002556833.gif
17 http://www.tqqa.com/Article/UploadFiles/200512/20051214002556521.gif
18 http://www.tqqa.com/Article/UploadFiles/200512/20051214002551957.gif
19 http://www.tqqa.com/Article/UploadFiles/200512/20051214002552853.gif
20 http://www.tqqa.com/Article/UploadFiles/200512/20051214002555376.gif
1, http://hehe529.bokee.com/inc/20041222105700-0.gif
2, http://hehe529.bokee.com/inc/20041222105820-0.gif
3, http://hehe529.bokee.com/inc/20041222105750-0.gif
4, http://hehe529.bokee.com/inc/20041222105709-0.gif
5, http://hehe529.bokee.com/inc/20041222110306-0.gif
6, http://hehe529.bokee.com/inc/20041222110401-0.gif
7, http://hehe529.bokee.com/inc/20041222110410-0.gif
8, http://hehe529.bokee.com/inc/20055215281458938.gif
其它挂件;
http://imgcache.qq.com/qzone/item/orig/11/2571.gif
MAKE~A~WISH [特]
http://imgcache.qq.com/qzone/item/orig/2/2610.gif
I-BELIEVE [特]
http://imgcache.qq.com/qzone/item/orig/13/2573.gif
LOVE-SO-MUCH [特]
http://imgcache.qq.com/qzone/item/orig/14/2574.gif
别走 [特]
http://imgcache.qq.com/qzone/item/orig/15/2527.gif
花叶子 [特]
http://imgcache.qq.com/qzone/item/orig/0/2528.gif
青梅竹马 [特]
http://imgcache.qq.com/qzone/item/orig/3/2019.gif
爱的承诺 [特]
http://imgcache.qq.com/qzone/item/orig/13/2077.gif
准许泡妞 [特]
http://imgcache.qq.com/qzone/item/orig/15/2255.gif
天使的错误 [特]
http://imgcache.qq.com/qzone/item/orig/4/2020.gif
DISCO~MUSIC [特]
http://imgcache.qq.com/qzone/item/orig/14/2526.gif
welcome [特]
http://imgcache.qq.com/qzone/item/orig/15/2575.gif
HAPPY-DAY [特]
http://imgcache.qq.com/qzone/item/orig/12/2572.gif
好心情 [特]
http://imgcache.qq.com/qzone/item/orig/0/2576.gif
welcom [特]
http://imgcache.qq.com/qzone/item/orig/1/2017.gif
暗恋你 [特]
http://imgcache.qq.com/qzone/item/orig/2/2018.gif
来陪我玩吧 [特]
http://imgcache.qq.com/qzone/item/orig/14/2078.gif
文章评论
[以下网友留言只代表其个人观点,不代表中华网的观点或立场]
发表评论
昵 称:
主 页:
内 容:
表 情: