|
說明: 1、所提供代碼只能改變博客首頁模版樣式,點擊查看原文便恢復(fù)系統(tǒng)模版。
2、使用前請去掉原有更改模版的代碼,如鼠標(biāo),背景等;并更換原始系統(tǒng)模版:控制面板→定制我的模板→更新模板→選擇 輕描淡寫 模板,設(shè)置好后保存。
3、模版所提供效果:更改模版各部分背景,部分字體顏色,文章標(biāo)題字體樣式,去掉鏈接下劃線,鏈接字體變色,透明FLASH,鼠標(biāo),滾動條,迅速返回頂部。
代碼:
<EMBED style="LEFT: 117px; POSITION: absolute; TOP: 0px" align=right src=http://www./other/top1.swf width=770 height=165 type=application/x-shockwave-flash wmode="transparent" quality="high"></EMBED>
<DIV style="BORDER-RIGHT: medium none; BORDER-TOP: medium none; FILTER: progid:DXImageTransform.Microsoftpadding:8px; LEFT: 951px; ; LEFT: expression_r(eval_r(document.body.scrollLeft)+eval_r(document.body.clientWidth)-52); BORDER-LEFT: medium none; BORDER-BOTTOM: medium none; POSITION: absolute; TOP: 386px; ; TOP: expression_r(eval_r(document.body.scrollTop)+eval_r(document.body.clientHeight)-195); TEXT: center"><A href="你的博客地址#top"><IMG src="http://static2.photo.sina.com.cn/orignal/4723cdbf944f9770be841" border=0></A></DIV>
<style type="text/css">
A{text-decoration:none;color:#51bfe0;} A:link,A:visited{text-decoration:none;} A:active{text-decoration:none;color:red;} A:hover{color:#E88D22;text-decoration:none;font-weight: bold;} /* body
{background:url(http://static16.photo.sina.com.cn/orignal/4b274121c7f9742f2393f) repeat fixed!important;overflow-y:scroll;margin:0px; SCROLLBAR-FACE-COLOR: #EAE8E9;SCROLLBAR-HIGHLIGHT-COLOR: #fff;SCROLLBAR-SHADOW-COLOR: #fff;SCROLLBAR-3DLIGHT-COLOR: #fff;SCROLLBAR-ARROW-COLOR: #fff;SCROLLBAR-TRACK-COLOR: #EAE8E9;SCROLLBAR-DARKSHADOW-COLOR: #fff;}
/* .bodybg
{background:url(http://static4.photo.sina.com.cn/orignal/4b274121b0904a8d44863) no repeat no scroll!important;} /* .banner
{background:url(http://static6.photo.sina.com.cn/orignal/4b274121975bd878f9195) no repeat no scroll!important;height:160px;} /* .menu
{background:url(http://static15.photo.sina.com.cn/orignal/4b274121f5d077359e85e);height:38px;} /* .links .more
{background:url(http://static9.photo.sina.com.cn/orignal/4b2741218883251b10de8);width:45px;} /* .feeds .up
{background:url("http://static13.photo.sina.com.cn/orignal/4b274121e850d66e3767c") no-repeat center;height:26px;} /* .feeds .down
{background:url("http://static13.photo.sina.com.cn/orignal/4b274121e850d66e3767c") no-repeat center;height:26px;} /* .bodytop,.bodyBottom,.foot,.banner .title,.banner .link{display:none}
/* .add,.add .ico,.links .up,.links .down,.links .mid,.label .mid,.photo .mid,.calendar .mid,.callboard .up,.callboard
.down,.callboard .mid,.feeds .page,.feeds .function,.gbook .up,.gbook .down{background:#transparent;}
/**/ .callboard .title,.links .text,.links .desc,.photo .infoText a,.feeds .function a{color:#484848;}
/* .feeds .title{font-family:Tahoma,monospace,arial,system;font-weight:bolder;filter:shadow(color=gray,strength=3);text-align:left;height:100%;line-height:100%;padding-top:3px;}
/**/ .feeds .function{margin-left:45px;}
/* A:hover{cursor:url('http://webme./inc/mouse018.ani');}
body{cursor:url('http://webme./inc/mouse018.ani');} </style> 注意:
1、代碼中每段的作用我特意加了注釋,以方便大家查看、必要的時候修改代碼等,用的時候直接復(fù)制全部代碼就行了,注釋部分不用刪除。
2、代碼中有“你的博客地址”幾個字,使用前請先代入你的博客地址,以實現(xiàn)迅速返回頂部的效果。
3、代碼中最后兩段為鼠標(biāo)代碼:
A:hover
{cursor:url('http://webme./inc/mouse018.ani');} body {cursor:url('http://webme./inc/mouse018.ani');} 如果想更換自己喜歡的鼠標(biāo)的話,更改鼠標(biāo)地址 http://webme./inc/mouse018.ani 便可,其他的無須變動。
鼠標(biāo)樣式可以進(jìn)此查找: http://blog.sina.com.cn/u/4723cdbf010003ok
代碼添加方法:
1、控制面板→首頁內(nèi)容維護(hù)→自定義空白模板→新建→填寫模塊標(biāo)題(隨便寫什么都可以,只要你知道里面放的是什么東西)→顯示源代碼→粘貼代碼→保存→返回。
2、控制面板→定制我的首頁→添加模塊→在剛才新建的模塊標(biāo)題前打勾→點擊最下面的選取(頁面刷新后,等頁面完全打開完畢,把鼠標(biāo)放在模塊標(biāo)題上,等形狀變成十字形,便可點住上下移動模塊的位置;如果拖動不了的話估計你的網(wǎng)速太慢,刷新頁面后再拖動;如果不需要改變模塊的位置,直接跳到最后一步點保存即可)→最后點擊保存設(shè)置。
|
|
|