登录  
 加关注
   显示下一条  |  关闭
温馨提示!由于新浪微博认证机制调整,您的新浪微博帐号绑定已过期,请重新绑定!立即重新绑定新浪微博》  |  关闭

乐乎88llbb.lofter.com

 
 
 

日志

 
 

博客实用代码(编辑整理)  

2008-06-03 16:25:05|  分类: 默认分类 |  标签: |举报 |字号 订阅

  下载LOFTER 我的照片书  |

 

一、文字移动代码:

1、文字向左滚:

<marquee direction=left scrollamount=3> 你要写的文字 </marquee>

2、文字向右滚:

<marquee direction=right scrollamount=3> 你要写的文字 </marquee>

3、文字向上滚:

<marquee direction=up scrollamount=3> 你要写的文字 </marquee>

4、文字向下滚:

<marquee direction=down scrollamount=3>  </marquee>

5、文字来回滚:

<marquee scrollamount=3 behavior=alternate> 你要写的文字 </marquee>

6、文字很慢滚:

<marquee scrollamount=1> 你要写的文字 </marquee>

7、鼠标放上去停止滚动,移开继续滚动:

<marquee onmouseover=this.stop() onmouseout=this.start() > 你要写的文字 </marquee>

二、贴图代码:

 ● 在别人留言栏,直接复制就可以~!

1、最简单的:

<img src="图片地址(URL)">

2、简单且可以调节大小的:

<IMG src="图片地址" border="0" width="344" height="255">

注:   wmode=(边框 )     width=(宽度)       height=(高度) 

3、单张可以移动的图片:

<MARQUEE direction=left  width=320 height=250><IMG src=" 图片地址" width=200></MARQUEE>

注:direction=(移动的方向:up是往上走,left是往左走,right往右走)

4、多幅图片滚动:
<MARQUEE onmouseover=this.stop() onmouseout=this.start() direction=up width=200 height=250><P align=left><P align=center><IMG src="图片地址1" width=200><P align=left><P align=center><IMG src="图片地址2" width=200><P align=left><P align=center><IMG src="图片地址3" width=200><P align=left><P align=center><IMG src="图片地址4" width=300><P align=left><P align=center><IMG src="图片地址5" width=200><P align=left><P align=center><IMG src="图片地址6" width=200><P align=left><P align=center><IMG src="图片地址7" width=200><P align=left><P align=center><IMG src="图片地址8" width=200></MARQUEE>

5、贴影视文件:<img dynsrc="文件地址" width="宽度" height="高度" start=mouseover>

三、播放器代码:

●超简单型:<embed src="背景音乐网址">

1、简单RM格式播放器代码:

<embed src=歌曲地址 type=audio/x-pn-realaudio-plugin controls=ControlPanel,StatusBar AutoStart=true Loop=true width=200 height=40></embed><br><br>

注:一般用来插入mp3 rm ra ram asf mid 等音乐文件,如果要隐藏播放器,把width和height的数值改成0或者1就可以了。

2、简单WMA格式播放器代码:

<EMBED src=歌曲地址
width=200 height=40 type=audio/x-ms-wma autostart="true" loop="true"></EMBED><BR><BR>

注:width=200 height=40 中的数字分别表示播放器的宽度和高度,注意:都选择0将隐藏播放器<隐藏时一定要选择自动播放>;这个播放器一般用来插入wav wma mid mp3等格式的音乐文件。autostart="true"中true或1表示自动播放,false或0表示手动播放, loop="true" 中的true或1表示重复播放,false或0表示只播放一次。

3、简单MP3格式代码:

<EMBED src=歌曲地址 width=200 height=30 type=audio/x-pn-realaudio-plugin autostart="1" controls="ControlPanel"></EMBED><BR><BR>    

4、播放器朦胧代码:

<TABLE style="FILTER: Alpha(Opacity=100, FinishOpacity=0, Style=2, StartX=20, StartY=40, FinishX=0, FinishY=0)gray(); WIDTH: 200px; HEIGHT: 83px"><TBODY><TR><TD><EMBED style="BORDER-RIGHT: silver 1px solid; BORDER-TOP: silver 1px solid; BORDER-LEFT: silver 1px solid; BORDER-BOTTOM: silver 1px solid" src=歌曲地址 width=200 height=50 type=audio/x-mplayer2 console="video" showstatusbar="0" EnableContextMenu="0" volume="0" autostart="1" loop="1"></TD></TR></TBODY></TABLE><BR><BR>

5、新颖唱盘机代码:

<TABLE borderColor=#000000 height=249 cellSpacing=0 cellPadding=0 width=324 align=left background=http://cafe.chosun.com/img_file/club_file/98/mugoonghwa/bbs/23/midi-3-1[20050619132331].gif border=0>
<TBODY>
<TR>
<TD width=324 height=202 cellPadding="0" cellSpacing="0"></TD></TR>
<TR>
<TD align=left>
<P align=center><EMBED src=音乐地址 width=300 height=24 type=application/x-mplayer2 volume="0" autostart="1" loop="1"> </P></TD></TR></TBODY></TABLE><BR><BR><BR>

6、漂亮图案播放器代码:

<TABLE align="center" style="BORDER-COLLAPSE: collapse" height=24 cellSpacing=0 cellPadding=0 width=400 background=http://www.yuguo.com/ADD/20041208_185132_58279.gif border=1>
<TR>
<TD style="FILTER: Chroma(Color=#000000)">
<P align=center>[MP=400,24]" target=_blank>" target=_blank>歌曲地址[/MP]</P></TD></TR></TABLE><BR><BR>

7、黑色播放器代码:

<EMBED style="FILTER: xray(); WIDTH: 500px; HEIGHT: 25px" src=歌曲地址 volume="0" loop="1" autostart="true"></EMBED><BR>

8、咖啡色播放器代码:

<EMBED style="FILTER: invert(); WIDTH: 400px; HEIGHT: 28px" src=歌曲地址 volume="0" loop="1" autostart="true"></EMBED><BR><BR>

9、高度灰色播放器代码:

<P align=center><EMBED id=M.E style="BORDER-RIGHT: #ced8ef 5px solid; BORDER-TOP: #ced8ef 5px solid; FILTER: wave(strength=0,freq=1,lightstrength=65,phase=60,add=0) alpha(opacity=80 Style=1 FinishOpacity=80) gray progid:DXImageTransform.Microsoft.glow(color=#000000 Direction=120 strength=4 PixelRadius=0 MakeShadow=0); BORDER-LEFT: #ced8ef 5px solid; WIDTH: 300px; BORDER-BOTTOM: #ced8ef 5px solid; HEIGHT: 115px" src=歌曲地址 type=audio/x-ms-wma showstatusbar="10" loop="50" SHOWDISPLAY="1" volume="0"></P><BR><BR>

10、高度下面有歌词的播放器代码如下:

<P align=center>
<TABLE style="BORDER-RIGHT: white 6px inset; BORDER-TOP: white 6px inset; BORDER-LEFT: white 6px inset; BORDER-BOTTOM: white 6px inset" cellSpacing=0 cellPadding=0 width=300 bgColor=#00000 border=0>
<TBODY>
<TR>
<TD><EMBED style="LEFT: 130px; WIDTH: 300px; TOP: 154px; HEIGHT: 143px" pluginspage=歌曲地址 width=300 height=143 type=application/x-mplayer2 FileName="http://www.pangselove.com/asx2/member-shagal-gayo1-asxlIllIl.asx" SHOWSTATUSBAR="1" SHOWDISPLAY="1" AUTOSTART="1" PlayCount="0"></EMBED> </TD></TR>
<TR>
<TD HIGHT="25">
<MARQUEE scrollAmount=1><FONT face=宋体 color=#90a4f7 size=2>此处写入歌词</FONT></MARQUEE></TD></TR></TBODY></TABLE></P><BR><BR>

11、高度有图案播放器代码:

<TABLE style="FILTER: alpha(opacity=100 Style=0 FinishOpacity=100)" borderColor=#000000 height=249 cellSpacing=0 cellPadding=0 width=314 align=center background=http://blog.chosun.com/web_file/blog/167/9167/1/from-00-11-07.gif border=0>
<TBODY>
<TR>
<TD width=314 height=180 cellpadding="0" cellspacing="0"></TD></TR>
<TR>
<TD align=left>
<P align=center><EMBED style="FILTER: alpha(opacity=100 Style=3 FinishOpacity=0)black(); style: " src=歌曲地址 width=310 height=28 type=video/x-ms-asf loop="1" autostart="1" volume="0"></EMBED></P></TD></TR></TBODY></TABLE><BR><BR><BR>

12、外有边框播放器代码:

<TABLE cellSpacing=4 borderColorDark=#000000 cellPadding=0 width=534 borderColorLight=#006400 background=http://221.209.122.130/jblt/UploadFile/2005-3/200533018250626.jpg border=1>
<TBODY>
<TR>
<TD width="100%">
<CENTER><EMBED style="FILTER: xray()" src=歌曲地址 width=530 height=24 type=audio/mpeg Kern - The Winding Path 32-01.wma loop="1" autostart="true" volume="0" ShowStatusBar="1" louie.mp3 Louie.mp3 Amo.WMA Ti Che Dirti Pausini--Volevo></EMBED></CENTER></TD></TR></TBODY></TABLE><BR><BR><BR>

13、银色WMA格式播放器代码:

<EMBED style="FILTER: gray()" src=歌曲地址 width=200 height=45 type=audio/x-ms-wma autostart="1" loop="1" volume="0" showstatusbar="1"></EMBED><BR><BR>

14、漂亮播放器代码:

<DIV align=center>
<TABLE style="BORDER-COLLAPSE: collapse" height=20 cellSpacing=0 cellPadding=0 width=400 background=http://www.w555.com/pc/img/gif/bar/6/0.gif border=1>
<TBODY>
<TR>
<TD>
<TABLE style="FILTER: Chroma(Color=’#000000’)" height=20 cellSpacing=0 cellPadding=0 width=400 border=0>
<TBODY>
<TR>
<TD><BR>
<P align=center><EMBED src=歌曲地址 width=300 height=20 type=audio/x-pn-realaudio-plugin console="Clip1" controls="IMAGEWINDOW,ControlPanel,StatusBar" autostart="1"></EMBED> </P></TD></TR></TBODY></TABLE></TD></TR></TBODY></TABLE></DIV><BR><BR><BR>

15、可下载+右边外框MV播放器代码:

<DIV align=center>
<TABLE borderColor=#ccffff height=20 cellSpacing=0 cellPadding=0 width=456 align=center background=http://www.w555.com/pc/img/gif/bar/6/0.gif border=1>
<TBODY>
<TR>
<TD>
<TABLE style="FILTER: Chroma(Color=’#000000’)" cellSpacing=0 cellPadding=0 width="100%" border=0>
<TBODY>
<TR>
<TD width=406 height=20>
<P align=center><EMBED src=歌曲地址 width=406 type=audio/mpeg heiht="30"> </P></TD>
<TD width=50 height=20>
<P align=center><A href="歌曲地址" target=_blank><FONT color=#EE11C2><B>下载</B></FONT></A></P></TD></TR></TBODY></TABLE></TD></TR></TBODY></TABLE></DIV>

16、图案外框MV播放器代码:

<TABLE height=100 cellSpacing=30 cellPadding=0 width=420 align=center background=http://www.w555.com/pc/img/gif/start3/1/5.gif border=0>
<TBODY>
<TR>
<TD style="FILTER: Chroma(Color=’#000000’)">
<P align=center><EMBED src=歌曲地址 width=400 type=audio/mpeg heiht="30"></P></TD></TR></TBODY></TABLE><BR><BR><BR>

17、兰色双外框播放器代码:

<TABLE borderColor=#dee4fe cellSpacing=3 cellPadding=0 background=http://www.yhbbs.com/UploadFile/2004-12/2004123023101352.gif border=2><TBODY><TR><TD><TABLE align=center border=0><TBODY><TR><TD style="FILTER: alpha(opacity=60,style=3)"><P align=center><EMBED style="FILTER: Gray" src=歌曲地址 width=300 height=45 type=audio/mpeg volume="0" autostart="true" loop="1"></P></TD></TR></TBODY></TABLE></TD></TR></TBODY></TABLE></FONT><BR>

18、粉红色齿轮外边框播放器代码:

<TABLE style="BORDER-RIGHT: green 3px dotted; BORDER-TOP: green 3px dotted; BORDER-LEFT: green 3px dotted; BORDER-BOTTOM: green 3px dotted" cellSpacing=0 cellPadding=0 bgColor=white background=http://life.huash.com/img/2002-12/30/1228lyhx9.jpg>
<TBODY>
<TR>
<TD>
<TABLE style="BORDER-RIGHT: #ff69b4 3px dashed; BORDER-TOP: #ff69b4 3px dashed; BORDER-LEFT: #ff69b4 3px dashed; BORDER-BOTTOM: #ff69b4 3px dashed" cellSpacing=0 cellPadding=0 bgColor=white>
<TBODY>
<TR>
<TD>
<TABLE style="BORDER-RIGHT: #ff69b4 3px dotted; BORDER-TOP: #ff69b4 3px dotted; BORDER-LEFT: #ff69b4 3px dotted; BORDER-BOTTOM: #ff69b4 3px dotted" cellSpacing=2 cellPadding=0 bgColor=white>
<TBODY>
<TR>
<TD>
<TABLE borderColor=#ff69b4 align=center bgColor=#ffccf5 border=2>
<TBODY>
<TR>
<TD style="FILTER: alpha(opacity=100,style=3)">
<P align=center><EMBED src=歌曲地址 width=300 height=45 type=audio/mpeg volume="0" autostart="true" loop="1"></P></TD></TR></TBODY></TABLE></TD></TR></TBODY></TABLE></TD></TR></TBODY></TABLE></TD></TR></TBODY></TABLE></FONT><BR>

19、会移动的立体播放器代码:

<MARQUEE style="LEFT: 230px; POSITION: absolute; TOP: 100px" scrollAmount=1 scrollDelay=100 direction=up behavior=alternate width=300 height=400>
<MARQUEE scrollAmount=1 scrollDelay=100 behavior=alternate>
<TABLE style="FILTER: progid:DXImageTransform.Microsoft.Shadow(color:#7ec0ee ,direction:145,strength:20)" cellSpacing=0 cellPadding=0 border=1>
<TBODY>
<TR>
<TD><EMBED style="FILTER: gray()" src=歌曲地址 width=200 height=20 type=audio/mpeg showstatusbar="1" volume="0" loop="1" autostart="1"></TD></TR></TBODY></TABLE></MARQUEE></MARQUEE><BR>

20、土青色齿轮外边的播放器代码:

<TABLE style="BORDER-RIGHT: #808000 4px dotted; BORDER-TOP: #808000 4px dotted; BORDER-LEFT: #808000 4px dotted; BORDER-BOTTOM: #808000 4px dotted" cellSpacing=0 cellPadding=0 align=center bgColor=#808000>
<TBODY>
<TR>
<TD>
<TABLE borderColor=#808000 align=center bgColor=#808000 border=2>
<TBODY>
<TR>
<TD style="FILTER: alpha(opacity=100,style=3)">
<P align=center><EMBED src=歌曲地址 width=300 height=40 type=audio/mpeg volume="0" autostart="true" loop="1"></P></TD></TR></TBODY></TABLE></TD></TR></TBODY></TABLE><BR><BR>

21、直立的播放器代码:

<DIV align=left><FONT style="MARGIN-TOP: 20px; FONT-SIZE: 11pt; WRITING-MODE: tb-rl" face=楷体_GB2312 color=red><EMBED style="FILTER: invert(); WIDTH: 231px; HEIGHT: 220px" src=歌曲地址 type=audio/mpeg volume="0" loop="true" autostart="TURE" ShowStatusBar="1"></FONT></DIV>

22、会冒烟的(FLASH)播放器代码:

<EMBED style="LEFT: 150px; WIDTH: 400px; POSITION: absolute; TOP: 300px; HEIGHT: 300px" align=right src=http://www.tt96866.com/bbs/UploadFile/2006-4/20064614105787126.swf width=400 height=300 type=application/octet-stream ;; quality="high" wmode="transparent"><BR>
<OBJECT id=player style="FILTER: invert Alpha(opacity=75)" height=45 width=400 classid=clsid:6bf52a52-394a-11d3-b153-00c04f79faa6><PARAM NAME="URL" VALUE="歌曲地址"><PARAM NAME="rate" VALUE="1"><PARAM NAME="balance" VALUE="0"><PARAM NAME="currentPosition" VALUE="152.4226249"><PARAM NAME="defaultFrame" VALUE=""><PARAM NAME="playCount" VALUE="1"><PARAM NAME="autoStart" VALUE="-1"><PARAM NAME="currentMarker" VALUE="0"><PARAM NAME="invokeURLs" VALUE="-1"><PARAM NAME="baseURL" VALUE=""><PARAM NAME="volume" VALUE="98"><PARAM NAME="mute" VALUE="0"><PARAM NAME="uiMode" VALUE="full"><PARAM NAME="stretchToFit" VALUE="0"><PARAM NAME="windowlessVideo" VALUE="0"><PARAM NAME="enabled" VALUE="-1"><PARAM NAME="enableContextMenu" VALUE="-1"><PARAM NAME="fullScreen" VALUE="0"><PARAM NAME="SAMIStyle" VALUE=""><PARAM NAME="SAMILang" VALUE=""><PARAM NAME="SAMIFilename" VALUE=""><PARAM NAME="captioningID" VALUE=""><PARAM NAME="enableErrorDialogs" VALUE="0"><PARAM NAME="_cx" VALUE="10583"><PARAM NAME="_cy" VALUE="1191"></OBJECT><BR><BR><BR><BR><BR><BR><BR>

23、一只蝴蝶的播放器代码:

<TABLE style="FILTER: alpha(opacity=100 Style=2 FinishOpacity=3)" borderColor=#000000 height=84 cellSpacing=0 cellPadding=0 width=110 align=center background=http://7wind.net/wysc/qita/image/211.gif border=0>
<TBODY>
<TR>
<TD>

<P align=center><EMBED style="FILTER: alpha(opacity=100 Style=3 FinishOpacity=0)black(); style: " src=歌曲地址 width=60 height=20 type=video/x-ms-asf volume="0" autostart="true" loop="true"></EMBED></P></TD></TR></TBODY></TABLE><BR><BR>

24、一只会移动的蝴蝶播放器代码:

<MARQUEE scrollAmount=1 scrollDelay=100 behavior=alternate>
<TABLE style="FILTER: alpha(opacity=100 Style=2 FinishOpacity=3)" borderColor=#000000 height=84 cellSpacing=0 cellPadding=0 width=110 align=center background=http://7wind.net/wysc/qita/image/211.gif border=0>
<TBODY>
<TR>
<TD>
<P align=center><EMBED style="FILTER: alpha(opacity=100 Style=3 FinishOpacity=0)black(); style: " src=歌曲地址 width=50 height=20 type=video/x-ms-asf loop="true" autostart="true" volume="0"></EMBED></P></TD></TR></TBODY></TABLE></MARQUEE><BR>

 

★ 更多博客装扮技巧:

    http://blog.163.com/gsd_432427/blog/static/22911412006101804018521/

    http://healthy503.blog.163.com/blog/static/16888492008428328438/







 

  评论这张
 
阅读(544)| 评论(13)

历史上的今天

评论

<#--最新日志,群博日志--> <#--推荐日志--> <#--引用记录--> <#--博主推荐--> <#--随机阅读--> <#--首页推荐--> <#--历史上的今天--> <#--被推荐日志--> <#--上一篇,下一篇--> <#-- 热度 --> <#-- 网易新闻广告 --> <#--右边模块结构--> <#--评论模块结构--> <#--引用模块结构--> <#--博主发起的投票-->
 
 
 
 
 
 
 
 
 
 
 
 
 
 

页脚

网易公司版权所有 ©1997-2018