思想碎片
Would you like to react to this message? Create an account in a few clicks or log in to continue.

引用 做帖常用代码

向下

引用 做帖常用代码   Empty 引用 做帖常用代码

帖子  Admin 周日 一月 08, 2012 7:33 pm

引用 做帖常用代码

2010-10-10 07:40:37| 分类: 博客代码 |字号 订阅
本文引用自平安如意《做帖常用代码》


引用

平安如意 的 做帖常用代码


做帖常用代码

【帖子全屏显示】:

[Copy to clipboard] [ - ]
CODE:
<TABLE style="LEFT: -220px; WIDTH: 960px; POSITION: relative; TOP: 10px" cellSpacing=0 cellPadding=0 width="100%"><TR><TD width="100%"><DIV align=center>帖子主体</div></td></tr></table><br><br><br><br><br><br><br><br><br><br><br><br>

LEFT: -220px 距左端距离(可按需要自己调整)
TOP: 10px 距左端距离(可按需要自己调整)
注意最下面一定要多加些换行代码:
否则帖子发出来
将看不到“编辑”按钮了

【播放器】:

[Copy to clipboard] [ - ]
CODE:
<EMBED height=24 src=音乐链接 type=audio/mpeg width=200 AUTOSTART="TRUE" LOOP="TRUE"></EMBED>

AUTOSTART="1" 1自动不放 0手动
LOOP="1" 1循环播放 0不循环

另一种:

[Copy to clipboard] [ - ]
CODE:
<embed style="border: 1px solid silver" src="链接" width="250" height="50" type="audio/x-mplayer2" console="video" showstatusbar="1" EnableContextMenu="0" volume="0" autostart="1" loop="-1">

播放器宽、高自己设定


【图片边缘模糊】:

[Copy to clipboard] [ - ]
CODE:
<IMG src="图片连接" style="FILTER: Alpha(opacity=模糊宽度,style=3)" width=图片宽 height=图片高 ALGIN="MIDDLE">

“模糊宽度”比图片宽度窄才会有效果

【播放器边缘模糊】:

[Copy to clipboard] [ - ]
CODE:
<EMBED style="FILTER: Alpha(opacity=180,style=2)" src=音乐链接 width=120 height=30 type=audio/x-ms-wma autostart="1" loop="1">

效果自己调整opacity的值

【任意位置显示透明flash】:

[Copy to clipboard] [ - ]
CODE:
<EMBED style="LEFT: 292px; WIDTH: 900px; POSITION: absolute; TOP: 220px; HEIGHT: 1600px" align=right src=http://imgfree.21cn.com/free/flash/59.swf width=490 height=510 type=application/octet-stream wmode="transparent" quality="high" ;;></EMBED>

LEFT: 距屏幕左边位置(象素值)px
TOP: 距屏幕顶端位置(象素值)px
WIDTH:宽
HEIGHT: 高
【鼠标特效】



[Copy to clipboard] [ - ]
CODE:
<BODY style="cursor:url(http://xy.ningxianews.cn/huaseshubiaozhizhen/b_1.ani)"></BODY>

可在下面选择样式:


http://xy.ningxianews.cn/huaseshubiaozhizhen/


【相架】

 

 


[Copy to clipboard] [ - ]
CODE:
<table border="0" cellspacing="0" cellpadding="0" style="border:1px #5F94C9 dashed"> <tr> <td width="5" height="5" style="border-top:2px solid red;border-left:2px solid red;font-size:2pt"></td><td height="5" width="63"></td> <td width="5" height="5" style="border-top:2px solid red;border-right:2px solid red;font-size:2pt"></td></tr><tr><td width="5"></td><td bgcolor="#ffffff" valign="top" style="border:2px red solid" class="s12" width="63"><img src="http://www.hebeimusic.com/attachments/month_0507/345_6dk5Y0Hh1zHK.jpg" width="188" height="232"></td> <td width="5"></td> </tr> <tr> <td width="5" height="5" style="border-bottom:2px solid red;border-left:2px solid red;font-size:2pt"> </td> <td height="5" width="63"></td> <td width="5" height="5" style="border-bottom:2px solid red;border-right:2px solid red;font-size:2pt"></td></tr></table>

【给图片加虚线筐】





[Copy to clipboard] [ - ]
CODE:
<table border="0" cellspacing="0" cellpadding="0" style="border:3px #5F94C9 dashed"> <tr> <td><img src="http://www.hebeimusic.com/attachments/month_0507/345_6dk5Y0Hh1zHK.jpg" width="188" height="232"></td> </tr> </table>

【给图片加虚线筐1.dotted:点虚线。】



[Copy to clipboard] [ - ]
CODE:
<img src="http://www.hebeimusic.com/attachments/month_0507/345_6dk5Y0Hh1zHK.jpg" width="188" height="232" style="border:6px #5F94C9 dashed">

【给图片加虚线筐2.double:双线。】



【给图片加虚线筐2.solid:实线。】



【给图片加虚线筐3. ridge:3D 脊状。】



【给图片加虚线筐4.dotted:点虚线。。】



【相架互相套 】




[Copy to clipboard] [ - ]
CODE:
<table border="0" cellspacing="0" cellpadding="0" style="border:8px #5F94C9 dashed"><tr><td><img src="http://www.hebeimusic.com/attachments/month_0507/345_6dk5Y0Hh1zHK.jpg" width="188" height="232" style="border:9px #5F94C9 solid"></td></tr></table>




[Copy to clipboard] [ - ]
CODE:
<table border="0" cellspacing="0" cellpadding="0" style="border:8px #5F94C9 dotted"><tr><td><img src="http://www.hebeimusic.com/attachments/month_0507/345_6dk5Y0Hh1zHK.jpg" width="188" height="232" style="border:9px #5F94C9 solid"></td></tr></table>

【字体的变换】

平安如意欢迎你...

平安如意欢迎你...


[Copy to clipboard] [ - ]
CODE:
<CENTER><MARQUEE scrollAmount=2 direction=down height=60><CENTER><FONT face=华文彩云 color=#d0e1b8 size=8><B>平安如意欢迎你...</FONT></CENTER></B></MARQUEE></CENTER><br><CENTER><MARQUEE scrollAmount=2 direction=up height=60><CENTER><FONT face=华文彩云 color=#d0e1b8 size=8><B>平安如意欢迎你...</FONT></CENTER></B></MARQUEE></CENTER>

【添加多个透明FLASH语法】





[Copy to clipboard] [ - ]
CODE:
<P align=center><TABLE border=0><TBODY><TR><TD style="FILTER: Alpha(opacity=100,style=2)" width=255 background=http://www.vicn.net/UploadFile/2004-7/20047301729519.gif height=300><P><B><EMBED align=right src=http://mouse520.51.net/flash/36.swf width=255 height=300 type=application/octet-stream wmode="transparent" quality="high"><EMBED pluginspage=http://www.macromedia.com/go/getflashplayer align=right src=http://bg.e-yu.cn/fh/3/31.swf width=255 height=300 type=application/x-shockwave-flash quality="high" wmode="transparent"><EMBED align=right src=http://wanruo.jahee.com/jpsc/flash/19.swf width=255 height=300 type=application/octet-stream quality="high" wmode="transparent"></EMBED></B></P></TD></TR></TOBDY></TBODY></TABLE></P>

分割线

最基本的:



[Copy to clipboard] [ - ]
CODE:
<hr width=300 size=1 color=#00ffff align=center noshade>

其中 width 规定线条的长度,还可以是百分比;color 是颜色,size 当然就是厚度了。
align 规定线条位置,left、right、center。
noshade 是否有立体效果。

--------------------------------------------------------------------------------

两头渐变透明:



[Copy to clipboard] [ - ]
CODE:
<hr width=80% size=3 color=#00ffff style="FILTER: alpha(opacity=100,finishopacity=0,style=3)">

--------------------------------------------------------------------------------

右边渐变透明:



[Copy to clipboard] [ - ]
CODE:
<hr width=80% size=3 color=#00ffff style="FILTER: alpha(opacity=100,finishopacity=0,style=1)">

--------------------------------------------------------------------------------

画虚线:



[Copy to clipboard] [ - ]
CODE:
<hr width=80% size=1 color=#00ffff style="border:1 dashed #00ffff">

--------------------------------------------------------------------------------


画双线:



[Copy to clipboard] [ - ]
CODE:
<hr width=80% size=3 color=#00ffff style="border:3 double green">

--------------------------------------------------------------------------------
立体效果:

XImageTransform.Microsoft.Shadow(color:#f6ae56,direction:145,strength:15)">

[Copy to clipboard] [ - ]
CODE:
<hr width=80% size=3 color=#00ffff style="filter:progid:DXImageTransform.Microsoft.Shadow(color:#f6ae56,direction:145,strength:15)">

--------------------------------------------------------------------------------
钢针效果(^_^):

XImageTransform.Microsoft.Glow(color=#00ffff,strength=10)">

[Copy to clipboard] [ - ]
CODE:
<hr width=80% size=3 color=#00ffff style="filter:progid:DXImageTransform.Microsoft.Glow(color=#00ffff,strength=10)">

--------------------------------------------------------------------------------
纺棰形:



[Copy to clipboard] [ - ]
CODE:
<hr width=80% size=30 color=#00ffff style="filter:alpha(opacity=100,finishopacity=0,style=2)">

[ Last edited by xrz on 2005-7-12 at 17:40 ]

播放器代码

======================================
代码(用时去掉*)
=======================================
第一种:


样式:








代码:


<embed src=音乐播放连接地址 width=200 height=50 type=audio/mpeg loop="true" autostart="true">


==============================
第二种:


样式:






代码:

<DIV><EMBED style="FILTER: xray()" src=音乐播放连接地址 width=180 height=50 type=audio/mpeg autostart="true" loop="true"></DIV>

================================================
第三种:





代码:

<DIV align=left><EMBED style="FILTER: invert(); WIDTH: 200px; HEIGHT: 40px" src=音乐播放连接地址 type=audio/mpeg loop="true"></DIV>

===================================================
第四种:



样式:







代码:<EMBED style="FILTER: Alpha(opacity=50,style=2)" src=音乐播放连接地址 width=50 height=40 type=audio/mpeg mime-types="mime.types" Initfn="load-types" volume="100" autostart="TRUE" loop="true" controls="ControlPanel" >


========================================================
第五种:


样式:










DXImageTransform.Microsoft.Blur(PixelRadius=0 MakeShadow=false); BORDER-LEFT: #cccccc 3px solid; BORDER-BOTTOM: #cccccc 0px solid" src=音乐链接区 width=200 height=24 type=application/x-mplayer2 loop="-1" autostart="1" volume="0" allowNetworking="internal" allowScriptAccess="never"<


=



代码:


<TABLE style="FILTER: alpha(opacity=100 Style=0 FinishOpacity=100)" borderColor=#000000 height=200 cellSpacing=0 cellPadding=0 width=330 align=left background=http://img719.photo.163.com/103718005/104695765/2414714707.gif border=0>
<TBODY>
<TR>
<TD width=200 height=200 cellSpacing="0" cellPadding="0"></TD></TR>
<TR>
<TD align=cente>
<P align=center><EMBED style="BORDER-RIGHT: #cccccc 0px solid; BORDER-TOP: #cccccc 0px solid; FILTER: alpha(opacity=40 Style=1 FinishOpacity=40) gray progid:<br>
DXImageTransform.Microsoft.Blur(PixelRadius=0 MakeShadow=false); BORDER-LEFT: #cccccc 3px solid; BORDER-BOTTOM: #cccccc 0px solid" src=音乐播放连接地址 width=200 height=24 type=application/x-mplayer2 volume="0" autostart="1" loop="-1"></P></FONT></TD></TR></TBODY></TABLE>


========================================================
第六种:


样式:















代码


<TABLE style="FILTER: alpha(opacity=100 Style=0 FinishOpacity=100)" borderColor=#000000 height=200 cellSpacing=0 cellPadding=0 width=200 align=center background=http://img719.photo.163.com/103718005/104695765/2414723798.gif border=0>
<TBODY>
<TR>
<TD width=314 height=180 cellspacing="0" cellpadding="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" ></P></TD></TR></TBODY></TABLE>


========================================================
第七种:


样式:




代码 (用时去掉*)


<*EMBED style="FILTER: Gray" src=音乐网址 width=300 height=45 type=audio/mpeg loop="-1" autostart="true" volume="0">

=================================================
第八种:


样式:




代码


<*EMBED style="FILTER: xray()" src=http://media.cool8.tv/nfsroot/podcast/2006/20061008/11602842336960t5setyoxm.mp3 width=300 height=50 type=audio/mpeg loop="-1" autostart="true" volume="0" ShowStatusBar="1">

=======================================================
第九种:


样式:颜色可根据需要改变





代码 (用时去掉*)


<*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 borderColor=#ff69b4 align=center bgColor=#ffccf5 border=2><*TBODY><*TD style="FILTER: alpha(opacity=100,style=3)"><*P align=center><*EMBED src=音乐网址 width=300 height=45 type=audio/mpeg loop="-1" autostart="true" volume="0"><*/P><*/TD><*/TR><*/TBODY><*/TABLE><*/TD><*/TR><*/TBODY><*/TABle>

==================================================================
第十种:


样式:





代码(用时去掉*)


<*embed src="http://www.odeo.com/flash/audio_player_tiny_black.swf" quality="high" width="145" height="25" align="middle" allowscrīptAccess="always" wmode="transparent" type="application/x-shockwave-flash" flashvars="audio_id=1767118&audio_duration=233.976&valid_sample_rate=false&external_url=http://www.m8yy.com/uploadfile/showsing/20070303/20070303181238_1664.mp3?ps=m8yymedia" pluginspage="http://www.macromedia.com/go/getflashplayer" /><*/embed>

===================================================
第十一种:


样式:




代码(用时去掉*)


<*embed src="http://www.odeo.com/flash/audio_player_midsize_black.swf" quality="high" width="150" height="60" align="middle" allowscrīptAccess="always" wmode="transparent" type="application/x-shockwave-flash" flashvars="audio_id=1767118&audio_duration=233.976&valid_sample_rate=false&external_url=http://www.m8yy.com/uploadfile/showsing/20070303/20070303181238_1664.mp3?ps=m8yymedia" pluginspage="http://www.macromedia.com/go/getflashplayer" /><*/embed>

=======================================================
提示:


播放器宽度width=200 高度height=50 根据需要设置, 宽度和高度设为0播放器为隐藏状态.
autostart="true"中true或1表示自动播放,false或0表示手动播放
loop="true" 中的true或1表示重复播放,false或0表示只播放一次
支持的音乐格式: wma mp3 rm ra ram asf mid.

Admin
Admin

帖子数 : 147
注册日期 : 12-01-05

http://sxsp.999luntan.com

返回页首 向下

返回页首


 
您在这个论坛的权限:
不能在这个论坛回复主题