天堂教学贴 未经同意请勿转走
朋友们在做图时,时常要用到音乐来配图,这时就需要好看的播放器来渲染整个帖子的气氛,今天我们天堂技术区向朋友们介绍几种装饰方法:
具体思路:
1. 插入第一层(外层)表格,宽度400,高度23,单元格衬距,单元格间距设为0,用亮丽、动感的图片做表格背景。 2. 插入第二层(内层)表格,宽度100%,单元格衬距,单元格间距设为0. 3. 把论坛帖音乐的播放器的宽度设为400,高度设为23,使播放时成为黑色的一条 ,把播放器代码插入第二层(内层)表格; 4. 用CSS滤镜语法"filter:Chroma(Color = color)" 使黑色透明,方法:将 filter:Chroma(Color="#000000") 插到第二层(内层)表格代码的 STYLE= 之后。完成。 根据自己喜好替换背景即可。
|
代码如下:
<p align=left> <TABLE id=table1; borderColor=#9900ff height=23 cellSpacing=0 cellPadding=0 width=400 background=http://bbs.guqu.net/UploadFile/2004-12/200412311623838.gif border=1 collapse;> <TBODY> <TR> <TD> <TABLE id=table2 style="FILTER: Chroma(Color=#000000)" height=23 cellSpacing=0 cellPadding=0 width=400 border=0> <TBODY> <TR> <TD> <p align=center><FONT size=1>[*MP=400,23]http://www.3ge3.com/m/man/za/6.wma[/MP]</FONT></P></TD></TR></TBODY></TABLE></TD></TR></TBODY></TABLE></p>
<P align=center> <TABLE borderColor=#bc8f8f cellSpacing=1 width=315 border=1> <TBODY> <TR> <TD><EMBED style="FILTER: invert(); WIDTH: 315px; HEIGHT: 28px" src=http://www.ewen.cc/wma/n00000056/n0000005616.wma type=audio/mpeg autostart="-1"></EMBED></TD></TR></TBODY></TABLE>
播放器加厚度:
[*MP=400,65]" target=_blank>http://www.guqu.net.mp3[*/MP] |
<TABLE height=65 cellSpacing=0 cellPadding=0 width=400 align=center background=http://bbs.guqu.net/UploadFile/2005-4/200543022114760716.gif border=8> <TBODY> <TR> <TD style="FILTER: Chroma(Color='#000000')"> <p align=center> [*MP=480,65,true]http://www.guqu.net.mp3[/MP]</P> </TD></TR></TBODY></TABLE>
注:为了不让音乐冲突,故意打了*,使用格式是,要去掉!
不能循环的播放格式:
|
<TABLE height=24 cellSpacing=0 cellPadding=0 width=400 background=http://bbs.guqu.net/UploadFile/2005-1/200513019181840.gif border=1> <TBODY> <TR> <TD> <TABLE style="FILTER: Chroma(Color='#000000')" height=24 cellSpacing=0 cellPadding=0 width=400 border=0> <TBODY> <TR> <TD> <p align=center>[*MP=480,24,true]http://www.guqu.net.mp3[/MP] </P></TD></TR></TBODY></TABLE></TD></TR></TBODY></TABLE>
[*MP=400,24]http://www.guqu.net.mp3[/MP] |
<TABLE height=60 cellSpacing=0 cellPadding=0 width=400 align=center background=http://bbs.guqu.net/UploadFile/2005-4/20054122234778967.gif border=1> <TBODY> <TR> <TD style="FILTER: Chroma(Color='#000000')"> <p align=center>[*MP=400,24,true]http://www.guqu.net.mp3[/MP]</P></TD></TR></TBODY></TABLE>
有下载字样:
|
[*MP=380,24,true]http://www.guqu.net.mp3[/MP] |
<TABLE height=85 cellSpacing=0 cellPadding=0 width=400 align=center background=http://c05.caishow.com/mmsimg/comm/7210/53185.gif border=0> <TBODY> <TR> <TD> <P align=center>[*MP=380,24,true]http://www.guqu.net.mp3[/MP]</P></TD></TR></TBODY></TABLE>
<TABLE borderColor=#4F3256 align=center background=http://www.dabaoku.com/sucai/shejilei/bj/pic/0197.jpg border=1> <TBODY> <TR> <TD style="FILTER: alpha(opacity=50,style=3)"> <p align=center><EMBED src=http://cherry.jazzsky.com/LIU/all_about_you.wma width=300 height=45 type=audio/mpeg loop="-1" autostart="false" volume="0"></P></TD></TR></TBODY></TABLE>
方法极为简单,首先将播放器置于一个单独的表格里,并加上表格的透明特效,播放器上的花纹就是表格的底图。
平时使用的时候主要调换的内容:
1、底图 也可以不要底图,播放器会溶入帖子下面一层表格的颜色或背景图片中
2、并调节透明特效的值
3、表格边线的颜色与粗细,当然border也可以等于0
|
显然可以改为一层:
|
<TABLE style="BORDER-RIGHT: #ff69b4 3px dotted; BORDER-TOP: #ff69b4 3px dotted; BORDER-LEFT: #ff69b4 3px dotted; BORDER-BOTTOM: #ff69b4 3px dotted" cellSpacing=0 cellPadding=0 align=center 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=http://cherry.jazzsky.com/LIU/all_about_you.wma width=300 height=45 type=audio/mpeg volume="0" autostart="false" loop="-1"></P></TD></TR></TBODY></TABLE></TD></TR></TBODY></TABLE>
|
<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> <TR> <TD style="FILTER: alpha(opacity=100,style=3)"> <p align=center><EMBED src=http://cherry.jazzsky.com/LIU/all_about_you.wma width=300 height=45 type=audio/mpeg volume="0" autostart="false" loop="-1"></P></TD></TR></TBODY></TABLE></TD></TR></TBODY></TABLE>
真是长了见识啊!
谢谢尘管大哥!一定在图中多用!:)
代码:
<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><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=http://www.taoqinet.com/taoqi/music/darkduck/13.mp3 width=310 height=28 type=video/x-ms-asf loop="-1" autostart="0" volume="0"></P></TD></TR></TABLE>
为黑色播放器加一个边缘,代码:
<TABLE style="BORDER-RIGHT: #000000 3px dashed; BORDER-TOP: #000000 3px dashed; BORDER-LEFT: #000000 3px dashed; BORDER-BOTTOM: #000000 3px dashed" cellSpacing=0 cellPadding=0 bgColor=#00000> <TBODY> <TR> <TD> <TABLE borderColor=#000000 align=center border=1> <TBODY> <TR> <TD>
<P align=center>
<EMBED style="FILTER: Xray" src=http://cherry.jazzsky.com/LIU/all_about_you.wma width=300 height=45 type=audio/mpeg volume="0" autostart="false" loop="-1">
</P>
</TD></TR></TBODY></TABLE></TD></TR></TBODY></TABLE>
|
代码:
<CENTER> <TABLE borderColor=#000000 height=249 cellSpacing=0 cellPadding=0 width=324 align=center background=http://bjimg.focus.cn/upload/photos/180/f15OaoaF.gif border=0> <TBODY> <TR> <TD width=324 height=202 cellSpacing="0" cellPadding="0"></TD></TR> <TR> <TD align=middle> <P align=center><EMBED src=http://www.bloomingvales.com/music/perfectworld.wma width=300 height=24 type=audio/mpeg showstatusbar="1" volume="0" loop="-1" < P></P></TD></TR></TBODY></TABLE></CENTER>
☆西湖☆ |
代码:
<TABLE class=time id=table6> <TBODY> <TR> <TD style="FILTER: revealTrans progid:DXImageTransform.Microsoft.gradient(gradientType=0,startColorstr=BLUE, endColorstr=#000000); BACKGROUND-COLOR: #000000"><EMBED id=myPlayer style="BORDER-RIGHT: #ced8ef 1px solid; BORDER-TOP: #ced8ef 1px solid; FILTER: wave(strength=0,freq=0,lightstrength=25,phase=10,add=0) alpha(opacity=28 Style=1 FinishOpacity=40) gray progid:DXImageTransform.Microsoft.glow(color=#0000cd Direction=2 strength=14 PixelRadius=0 MakeShadow=5); BORDER-LEFT: #ced8ef 1px solid; BORDER-BOTTOM: #ced8ef 1px solid; HEIGHT: 25px" src=http://bbs.koook.com/files/daladala.wma width=600 height=35 type=audio/x-ms-wma SHOWDISPLAY="0" loop="50" showstatusbar="0" EnableContextMenu="0" volume="0"></TD></TR></TBODY></TABLE><BR>
代码:
<TABLE style="BORDER-RIGHT: white 3px inset; BORDER-TOP: white 3px inset; BORDER-LEFT: white 3px inset; BORDER-BOTTOM: white 3px inset" cellSpacing=0 cellPadding=0 width=300 background=http://www.mypcera.com/photo/65/culture/art/music/17.gif border=10> <TBODY> <TR> <TD> <P><EMBED style="FILTER: invert alpha(opacity=50) WIDTH: 295px; HEIGHT: 38px" src=http://s2.7t7t.com/pycs/D/2003825/12911/437542.Wma type=video/x-ms-asf volume="0" loop="1" autostart="true"></P></TD></TR></TBODY></TABLE><BR>
欢迎光临 西湖天堂 (http://xh1688.com/bbs/) | Powered by Discuz! 7.0.0 |