这是为自己找的也是大家需要的。(若大家想要查找就按键盘上的CTRL+F,加入你要的代码——例如背景,只要相关的就行了) 1.个性鼠标特效技巧代码 <STYLE type=text/css> a:hover {cursor:url('*.ani')} BODY {cursor:url('*.ani')} </STYLE> *.ani为动态光标地址。需要替换即可!! 第一个地址是鼠标放在连接上的样子,第二个是平常的样子. 2.鼠标后面跟随彩色文字的代码 <STYLE>.spanstyle{COLOR: #0066ff; FONT-FAMILY: 宋体;FONT-SIZE:9pt;FONT-WEIGHT:normal;POSITION:absolute;TOP:-50px;VISIBILITY:visible}</STYLE> <SCRIPT><script>var message="你要写的文字";var x,y;var step=12;var flag=0;message=message.split("");var xpos=new Array();for (i=0;i<=message.length-1;i++){xpos=-50;};var ypos=new Array();for (i=0;i<=message.length-1;i++){ypos=-50;};function handlerMM(e){x=(document.layers)?e.pageX:document.body.scrollLeft+event.clientX+10;y= (document.layers)?e.pageY:document.body.scrollTop+event.clientY;flag=1;};function ma <SCRIPT>for(i=0;i<=message.length-1;i++){document.write("<span id='span"+i+"' class='spanstyle'>");document.write(message);document.write("</span>");};if(document.layers){document.captureEvents(Event.MOUSEMOVE);};document.onmousemove = handlerMM;</SCRIPT> <SCRIPT>function pageonload(){makesnake();window.setTimeout("pageonload();", 2);}</SCRIPT> <SCRIPT>pageonload()</SCRIPT> 3.flash背景源代码 <DIV><A href="http://blog.sina.com.cn/m/yangguangyao" target=_blan <DIV></DIV> 4.挂件的代码 <DIV style="RIGHT: 0px; POSITION: absolute; TOP: 200px" align=right><IMG style="FILTER: FlipH" src="你的图片地址" align=right></DIV> 5.flash时钟添加代码 <DIV><A href="http://blog.sina.com.cn/m/yangguangyao" target=_blank><FONT color=#ff0000></FONT></A></DIV><DIV align=center><EMBED src=flash时钟代码width=180 height=180 type=application/x-shockwave-flash></DIV> <DIV></DIV> 6.横幅图片的代码 <STYLE type=text/css> .banner {background:url(博客横幅的图片) no repeat no scroll!mportant;} </STYLE> 7.固定背景图片的代码 <style>body {background:url("页面大背景图片地址") repeat fixed!important;}</style> 固定背景代码:就是你拉动滚动条的时候,图片比动,始终固定 7.标题栏跳动字符特效代码 <script><script language="JavaScript1.2"> title_tmp1=document.title if (title_tmp1.indexOf(">>")!=-1){ title_tmp2=title_tmp1.split(">>"); title_last=" —> "+ 8.开场动画效果代码 <DIV><EMBED style="LEFT: 0px; POSITION: absolute; TOP: 0px" align=right src=FLASH地址 width=994 height=768 type=application/octet-stream ;; quality="high" wmode="transparent"></DIV></DIV> 9.天气预报的代码 <DIV><A href="http://blog.sina.com.cn/m/yangguangyao" target=_blank><FONT color=#ff0000></FONT></A></DIV><IFRAME src="天气预报素材" frameBorder=0 width=200 scrolling=no height=240></IFRAME> <DIV></DIV> 10.添加视频的代码 <DIV align=left></DIV><EMBED src=视频链接地址 width=200 height=186 type=audio/mpeg autostart="false" loop="false"></DIV> 11.许祈愿瓶的代码 <DIV> <TABLE class=sysBr180 cellSpacing=0 cellPadding=0 align=center border=0> <TBODY> <TR> <TD> <DIV><IFRAME marginWidth=0 marginHeight=0 src="许愿瓶素材" frameBorder=0 width=400 scrolling=no height=415></IFRAME></DIV></TD></TR></TBODY></TABLE></DIV> <DIV></DIV> 12.日历的特效源代码 <BR><EMBED src="FLASH日历地址" type="application/x-shockwave-flash" width="180" height="180"></EMBED><BR> 13.bolg添加聊天室代码 <!--晒网在线交谈的代码--> <P align=center> <TABLE class=sysBr180 cellSpacing=0 cellPadding=0 align=center border=0><TBODY><TR><TD><DIV></DIV><IFRAME border=0 src="http://say-on.com/webchat/preview.jsp?color=99CC00&title=%u6652%u7F51%u5728%u7EBF%u4EA4%u8C08&roomid=你的博客网址" frameBorder=0 width=172 scrolling=no height=86 allowTransparency></IFRAME> <P style="MARGIN-TOP: 4px"><A href="http://say-on.com/webchat/?color=99CC00&title=%u6652%u7F51%u5728%u7EBF%u4EA4%u8C08&roomid=你的博客网址" target=_blank><FONT size=2>与同时访问此页的网友交谈</FONT></A></P><DIV></DIV></TD></TR></TBODY></TABLE></P><DIV></DIV> 14.背景图代码 <div style="WIDTH: 109px; HEIGHT: 108px;"> <img height="108px" src="图片链接地址" width="109" align="right"> <div style="float:left; background-color: TRANSPARENT;WIDTH: 109px; HEIGHT: 108px; "> <br> <font color="#FF00FF">文字</font> </div& 15.标题样式的代码 <DIV align=left><IMG src="*.jpg" align=left></DIV> <STYLE type=text/css> body {background:url(*.jpg) repeat scroll!important;} .logo {background:*.gif) no repeat no scroll!mportant;} .banner {background:url(*.jpg) no repeat no scroll!mportant;} .title {background:#transparent !important;} .title {border-top:0px !important;} .title {border-bottom:0px !important;} .title {border-left:0px !important;} .title {border-right:0px !important;} .link {background:"transparent" !important;} .link {border-top:0px !important;} .link {border-bottom:0px !important;} .link {border-left:0px !important;} .link {border-right:0px !important;} .sysBr180 {color:#97694F !important;} </STYLE> 16.边框效果 <DIV align=center style=' color: #990099; background-color:#FFFFE0; border: solid 2px black; width: 470px; height: 180px; overflow: scroll; scrollbar-face-color: #ffc0cb; scrollbar-shadow-color: #ffb6c1; scrollbar-highlight-color: #98fb98; scrollbar-3dlight-color: #ffb6c1; scrollbar-darkshadow-color: #90ee90; scrollbar-track-color: #ffdead; scrollbar-arrow-color: #f5deb3; '>日志文字</DIV>
该贴仅代表OodeathoO的个人观点,OodeathoO文责自负。
引用 | 短信 |
编辑 |
附件
|
|