双击自动滚屏  
插入背景音乐和各种代码

发表日期:2010年4月22日  本页面已被访问 2065 次

 

(一)   不显示播放器的,可作背景音乐

<EMBED SRC="http://www.zgjrjw.com/xhq.mp3" HIDDEN="TRUE" AUTOSTART="TRUE" LOOP="TRUE">

 

(二)  显示播放器的,可放在版块里。

<P>
<TABLE style="WIDTH: 150px; HEIGHT: 220px" height=220 cellSpacing=1 cellPadding=0 width=150 align=center border=0>
<TBODY>
<TR>
<TD>
<TABLE height=216 cellSpacing=0 cellPadding=0 width=150 align=center border=0>
<TBODY>
<TR>
<TD><STRONG><IMG id=box style="FILTER: progid:DXImageTransform.Microsoft.Strips(motion=leftup); WIDTH: 150px; HEIGHT: 216px" height=216 src="http://xs.2000y.net/177434/uploadpic/2009040510035291606.jpg" width=174>
<SCRIPT language=JavaScript>
<!--
if (document.all){pics=new Array("http://xs.2000y.net/177434/uploadpic/2009040510072440960.jpg",
"http://xs.2000y.net/177434/uploadpic/2009040510092146629.jpg",
"http://xs.2000y.net/177434/uploadpic/2009040510110169240.jpg",
"http://xs.2000y.net/177434/uploadpic/2009040510142880228.jpg",
"http://xs.2000y.net/177434/uploadpic/2009040511005755231.jpg",
"http://xs.2000y.net/177434/uploadpic/2009040510165252268.jpg",
"http://xs.2000y.net/177434/uploadpic/2009040510182751576.jpg",
"http://www.mypcera.com/star/my/215.jpg",
"http://xs.2000y.net/177434/uploadpic/2009040511071416787.jpg",
"http://xs.2000y.net/177434/uploadpic/2009040510384779499.jpg",
"http://xs.2000y.net/177434/uploadpic/2009040510574178511.jpg")
//Transition speed. 4000 = 4 seconds etc.
delay=4000;
//Nothing needs altering paste here.
l=new Array()
for (i=0; i < pics.length;i++){l[i]=new Image()
l[i].src=pics[i]}
n="progid:DXImageTransform.Microsoft.";
f=new Array()
f[0]="Wheel(spokes=4)";
f[1]="Blinds(Bands=10,direction=up)";
f[2]="Stretch(stretchstyle=PUSH)";
f[3]="Stretch(stretchstyle=SPIN)";
f[4]="RadialWipe(wipestyle=RADIAL)";
f[5]="RadialWipe(wipestyle=WEDGE)";
f[6]="Checkerboard(Direction=right,SquaresX=8,SquaresY=8)";
f[7]="Fade(Overlap=1.00)";
f[8]="GradientWipe(GradientSize=0.25,wipestyle=0,motion=forward)";
f[9]="Iris(irisstyle=CIRCLE,motion=out)";
f[10]="Iris(irisstyle=STAR,motion=out)";
f[11]="Barn( motion=out,orientation=vertical)";
f[12]="Barn( motion=in,orientation=vertical)";
f[13]="Strips(motion=leftup)";
f[14]="Slide(slidestyle=HIDE,Bands=1)";
f[15]="Slide(slidestyle=PUSH,Bands=1)";
f[16]="Slide(slidestyle=SWAP,Bands=1)";
f[17]="RandomDissolve(duration=1)";
imgstep=0;
function ani(){rnd=f[Math.floor(Math.random()*f.length)]
box.style.filter=n+rnd;
box.filters[0].apply();
box.src=l[imgstep].src;
box.filters[0].play();
imgstep++;
if (imgstep >= l.length) imgstep=0;
setTimeout("ani()",delay);}
window.onload=new Function("setTimeout(ani(),delay)")}
//--></SCRIPT>
 </STRONG>
<CENTER><EMBED id=MediaPlayer709 style="WIDTH: 150px; HEIGHT: 46px" src=http://www.zgjrjw.com/xhq.mp3 width=150 height=46 type=audio/x-ms-wma autostart="false" loop="false"></CENTER></TD></TR></TBODY></TABLE></TD></TR></TBODY></TABLE></P>


 

1、下面是贴“wam”格式的语法,自动播放,自动循环语法命令。(两种)

(一)

<P align=center>
<TABLE style="TABLE-LAYOUT: fixed" cellSpacing=0 cellPadding=0 width="100%" align=center border=0>
<TBODY>
<TR>
<TD style="WORD-WRAP: break-word"><BR>
<P align=center><EMBED src=音乐歌曲地址 hidden=true type=audio/mpeg AUTOSTART="TRUE" LOOP="TRUE"></P></TD></TR></TBODY></TABLE></P>
<P></P></DIV></TD></TR></TBODY></TABLE></CENTER>

(二)

<P align=center>
<TABLE style="TABLE-LAYOUT: fixed" cellSpacing=0 cellPadding=0 width="100%" align=center border=0>
<TBODY>
<TR>
<TD style="WORD-WRAP: break-word"><BR>
<P align=center><EMBED src=音乐、歌曲地址 hidden=true type=audio/mpeg AUTOSTART="TRUE" LOOP="TRUE"></P></TD></TR></TBODY></TABLE></P>
<P></P></DIV></TD></TR></TBODY></TABLE></CENTER>

2、下面是贴“wam”格式的语法,手动播放,不自动循环语法命令。


<P align=center><EMBED id=MediaPlayer805 src=音乐、歌曲地址 width=270 height=40 type=audio/x-ms-wma loop="false" autostart="false"></P>

3、下面是贴“wam”格式的语法,自动播放,不自动循环语法命令。

<P align=center><EMBED id=MediaPlayer39 src=音乐、歌曲地址 width=270 height=40 type=audio/x-ms-wma loop="false" autostart="true"></P>

4、下面是贴“wam”格式的语法,手动播放,自动循环语法命令。

<P align=center><EMBED id=MediaPlayer805 src=音乐、歌曲地址 width=270 height=40 type=audio/x-ms-wma loop="true" controls="ControlPanel,StatusBar" autostart="false"></P>

 2、下面是贴“mp3”格式的语法,自动播放,不循环语法命令。宽=(100----600),高=(30----40),可以根据自己的爱好修改,但是超过我提出的范围就不太好看了!

<embed src=type=音乐、歌曲地址 audio/x-pn-realaudio-plugin controls=controlpanel,statusbar autostart=true width=270 height=40>

 3、下面是贴“mp3”格式的语法,自动播放,自动循环语法命令。

<DIV align=center><embed src=音乐、歌曲地址 type=audio/x-pn-realaudio-plugin controls=controlpanel,statusbar autostart=true loop=true width=270 height=40>

  4、下面是贴“mp3”格式的语法,手动播放,不循环语法命令

<embed src=音乐、歌曲地址 type=audio/x-pn-realaudio-plugin controls=controlpanel,statusbarautostart=false width=270 height=40>

<embed src=音乐、歌曲地址 type=audio/x-pn-realaudio-plugin controls=controlpanel,statusbar autostart=true loop=true width=270 height=40>

 5、面是贴“mp3”格式的语法,手动播放,自动循环语法命令。

<embed src=音乐、歌曲地址 type=audio/x-pn-realaudio-plugin controls=controlpanel,statusbar autostart=true loop=true width=270 height=40>

6、面是贴“mp3”格式的语法,隐藏播放器,(就象我的帖:《关于如何贴图》的背景音乐一样)自动播放,自动循环。不会显示播放器

<embed src=音乐、歌曲地址 type=audio/x-pn-realaudio-plugin controls=controlpanel,statusbar autostart=true loop=true hidden=true width=400 height=40>

7、要是需要居中,就在语法命令前面加“<center>”(</center>注意使用居中结束)即可:

如:<center><embed src=http://file.flash8.net/swf/file12003up/waitbeau20033165456.swf  width=500 height=400></center>


背景框
http://cardimg.163.com/cards/diycard/front/fg_01.swf
http://cardimg.163.com/cards/diycard/front/fg_02.swf
http://cardimg.163.com/cards/diycard/front/fg_03.swf
http://cardimg.163.com/cards/diycard/front/fg_04.swf
http://cardimg.163.com/cards/diycard/front/fg_05.swf
http://cardimg.163.com/cards/diycard/front/fg_06.swf
http://cardimg.163.com/cards/diycard/front/fg_07.swf
http://cardimg.163.com/cards/diycard/front/fg_08.swf
http://cardimg.163.com/cards/diycard/front/fg_09.swf
http://cardimg.163.com/cards/diycard/front/fg_10.swf
http://cardimg.163.com/cards/diycard/front/fg_11.swf
http://cardimg.163.com/cards/diycard/front/fg_12.swf
http://cardimg.163.com/cards/diycard/front/fg_13.swf
http://cardimg.163.com/cards/diycard/front/fg_14.swf
http://cardimg.163.com/cards/diycard/front/fg_15.swf
http://cardimg.163.com/cards/diycard/front/fg_16.swf
http://cardimg.163.com/cards/diycard/front/fg_17.swf
http://cardimg.163.com/cards/diycard/front/fg_18.swf

注意:下面的地址稍有不同了

http://cardimg.163.com/cards/diycard/front/front_19.swf
http://cardimg.163.com/cards/diycard/front/front_20.swf
http://cardimg.163.com/cards/diycard/front/front_21.swf
http://cardimg.163.com/cards/diycard/front/front_22.swf
……
……
……
http://cardimg.163.com/cards/diycard/front/front_276.swf
一直到276

(一).图片加MP3代码:

<IMG height=宽度大小 loop=infinite dynsrc=mp3地址 src="图片地址" width=长度大小 border=0>

(二).如何让你的FLASH作品打开更快
*可用代码如下

<P align=center><EMBED align=center src=此处插入动画地址 width=设置动画宽度 height=设置动画高度 type=application/octet-stream wmode="transparent" quality="high" ></P>

**下面的代码大家可选择性的使用:

代码1:此例动画背景为透明背景

<P align=center><EMBED align=center src=此处插入动画地址 width=设置动画宽度 height=设置动画高度 type=application/octet-stream wmode="transparent" quality="high" ></P>

代码2:此例动画背景为不透明背景

<P align=center><EMBED align=center src=此处插入动画地址 width=设置动画宽度 height=设置动画高度 type=application/octet-stream quality="high" ></P>

代码3:此例动画为全屏定位展示(此代码必须插入在<TD>的后面

<EMBED style="Z-INDEX: 3; LEFT: 100px; WIDTH: 设置动画宽度px; POSITION: absolute; TOP: 200px; HEIGHT: 设置动画高度px" align=
center src=此处插入动画地址 width=设置动画宽度 height=设置动画高度 type=application/x-shockwave-
flash wmode="transparent" menu="false" quality="high" tybe="application/x-shockwave-flash"></EMBED>

注明: 

wmode="transparent"  为背景透明

quality="high"       为高品质展示

LEFT: 100px;         为调整动画横向距离

TOP: 200px;          为调整动画纵向距离


 

(三).插入代码
1、帖子里插入Flash代码:

  <embed src="Flash地址" width=500 height=340></embed>

  其中“Flash地址”必须以“http://”开头和“.swf”结尾,width是指播放画面宽度,height指高度。如果需要居中,在上面代码前面加入<P align=center>。

  2、插入mp3代码:

(可以连续播放的,高宽也可设零)

 <P align=center><EMBED src=http://bbs.hnu.cn/music/hu.mp3 width=300 height=50 type=audio/mpeg loop="true" autostart="true"></EMBED></P>



  <EMBED src="mp3地址" width=310 height=35 type=audio/x-pn-realaudio-plugin controls="ControlPanel,StatusBar" autostart="true" loop="true">

  支持rm或mid格式(随机播放): 

  <EMBED src="rm mp3 mid地址" width=150 height=25 type=audio/x-pn-realaudio-plugin controls="ControlPanel" autostart="true">

  非自动播放:

  <EMBED src="rm mp3地址" width=248 height=66 type=audio/x-pn-realaudio-plugin border="0">

  隐藏mp3播放器: 

   <embed width="0" height="0" src="MP3地址" type="application/x-shockwave-flash"></embed>

  
3、视频常用播放器[MTV]

  
<embed src="视频地址" type="audio/x-pn-realaudio-plugin" console="Clip1" controls="ControlPanel,StatusBar" height="330" width="450" autostart="true">

  
4、插入背景音乐的代码:

  <bgsound src="mp3 mid地址" loop="-1">

  音乐地址一般都以mid或者mp3的形式结尾 后面的数字是播放次数。”-1”是循环播放。

  5、放透明flash的代码:

  <embed style="; LEFT: 50px; TOP: -80px;" src=flash地址 width=700 height=780 wmode="transparent">

简易型:
<EMBED src=http://www.*.com/mediadate/lxlhbcn.asf style="HEIGHT: 45px; WIDTH: 190px" type=audio/mpeg AUTOSTART="1" loop="0">
</EMBED>

标签型:
<embed width=240 height=140 transparentatstart=true animationatstart=false autostart=true autosize=false volume=100 displaysize=0 showdisplay=true showstatusbar=true showcontrols=true showaudiocontrols=true showtracker=true showpositioncontrols=true balance=true src="
http://www.*.com/mediadate/lxlhbcn.asf">
</embed>

立体图片转动

代码;<P><EMBED pluginspage=http://www.macromedia.com/go/getflashplayer src=http://www.qq7b.com/qq/5.5.swf?p1=http://img.blog.163.com/photo/lI1irAAyEG4kwnRv7E14Iw==/5706623677832082261.jpg&amp;p2=http://img.blog.163.com/photo/KNwTCJviJZ1bFvM8lxaW4g==/5706623677832082258.jpg&amp;p3=http://img.blog.163.com/photo/fZF3ZyAWMktHHVSYFCXzWA==/5706623677832082246.jpg&amp;p4=http://img.blog.163.com/photo/lPUJi1zUQZsDqoieKmJ0vg==/5104830177624801344.jpg&amp;p5=http://img.blog.163.com/photo/mEt5QtT8QzepU-g_oHyeGQ==/1138847755771946173.jpg&amp;p6=http://img.blog.163.com/photo/v6naFOaQvozrN2lk2sGCfA==/1138847755771946157.jpg&amp; width=610 height=238 type=application/x-shockwave-flash type?100%? autostart="0" quality="high" wmode="transparent" allowNetworking="internal" allowScriptAccess="never"></P>
<P>&nbsp;</P>

宽-610  高-238

 

一、在任意图片上写字的代码:

1、首先将要在上面写文章的图片上传,得到URL地址,然后将得到的URL地址带入到以下代码中

<TABLE width=650 cellSpacing=1 cellPadding=1 bgColor=#005F01 border=1>
<TBODY>
<TR>
<TD background=
http://photo9.hexun.com/p/2007/1209/153304/b_76540180D12913B0847223D5DF97003C.jpg >

蓝色:为图片地址  粉色:为图片宽度 绿色:为框的颜色代码(不需要框,将1改为0)

2、将鼠标放在图片上按“回车键”任意选择长度,直接复制图片在底图上。

3、再设定文本框在图片里,设定文本框宽度,在文本框里直接书写文章。

二、在任意照片上写字的代码:

1、首先将要在上面写文章的图片上传,得到URL地址,然后将得到的URL地址带入到以下代码中

<TABLE width=500 cellSpacing=1  cellPadding=1 height=375 border=1>
<TBODY>
<TR>
<TD background=
http://photo9.hexun.com/p/2007/1209/153529/b_DB0B8BC6E9E36490D5FBAC033E2B733A.jpg >

蓝色:为图片地址  粉色:为图片宽度 绿色:为图片的高度(不需要框,将1改为0)

2、再设定文本框在图片里,设定文本框宽度,在文本框里直接书写文章。

3、文本框里的1一定要改成0。

 

三、在照片上全屏移动文字的代码:

<TABLE borderColor=#cd5c5c height=600 width=650 align=center border=3>
    <TBODY>
        <TR>
            <TD background=
http://img.blog.163.com/photo/K2VFn9P0ZNV9zE2btUFOwg==/4585508845593911207.jpg>
            <MARQUEE scrollAmount=3 direction=down behavior=alternate height=400>
            <MARQUEE scrollAmount=3 behavior=alternate width=500>
            <P align=center><FONT color=red size=6><B>
图片上的文字</B></FONT></P>
            </MARQUEE></MARQUEE></TD>
        </TR>
    </TBODY>
</TABLE>

单击文字,调整文字飘动范围!

width为浮动文字框架的宽度;
height为浮动文字框架的高度;
color=red表示文字颜色为红色(请在网上查询颜色代码再修改。

 

四.在照片上由下往上移动文字的代码:

<TABLE height=500 width=650  background=http://img.blog.163.com/photo/qapvhPzRe_3qleHtYO1RfQ==/477663035478206746.jpg border=0>

<TBODY>

<TR>

<TD align=middle>

<MARQUEE scrollAmount=2 direction=up height=200>

<CENTER><FONT style="FONT-SIZE: 32pt" face=华文新魏 color=red><B>加入文字

</B> </FONT></CENTER></MARQUEE></TD></TR></TOBDY></TBODY></TABLE>

<CENTER></CENTER>

 

蓝色:为照片地址;红色:照片高度;粉色:照片宽度;绿色:加入文字。

 

五.在照片旁边写文字的代码:

 

图片靠左边的代码,这样文字就可以写在图片的右边了!

<P><IMG  src="图片连接地址" height=100 width=100 align=left>文章内容<BR> <BR > clear=left></P>

代码说明:

height=100 width=100是图片的高和宽实际上不用调整数值,单击图片就可以拉动图片修改大小!

align=left 文字在右边图在左边        修改成align=right文字在左边图在右边

 

六.在照片上由下往上移动文字走走停停的代码:

 

<DIV align=center>

<FIELDSET style="WIDTH: 336px; HEIGHT: 302px">
<DIV align=center>
<MARQUEE style="WIDTH: 280px; HEIGHT: 240px" scrollAmount=1 direction=up behavior=alternate width=210 height=240>
<EMBED style="FILTER: invert(); WIDTH: 70px; HEIGHT: 25px" src= http://www.fuhuang.com.cn/admin/uploadphotos/2005469448706.mp3 type=audio/mpeg volume="0" loop="true" autostart="teue " ShowStatusBar="1">
<MARQUEE style="WIDTH: 288px; HEIGHT: 154px" scrollAmount=1 direction=up width=288 height=154><FONT style="FONT-SIZE: 13pt; FILTER: Alpha(opacity=100,style=2)" face=
华文行楷 color=#abc111><FONT size=4>图片上的文字

</FONT></FONT></MARQUEE></MARQUEE></DIV>
</FIELDSET></DIV>

 

七.给日志加彩色边框代码

★彩色边框代码★

<div STYLE="border-style:solid;border-width:5pt; border-color:red">日志文字</div>

它会在你的文字外围生成一个红色边框,效果如框内显示。

border-style则控制边框的效果

border-width控制边框的粗细,

border-color调整边框的颜色,

这里你仍然可以使用如#xxxxxx的颜色数值,而当使用“solid”则为单一颜色的线形简单边框。

<DIV style="BORDER-RIGHT: #ff4500 4px solid; BORDER-TOP: #ff4500 4px solid; BORDER-LEFT: #ff4500 4px solid; BORDER-BOTTOM: #ff4500 4px solid; BACKGROUND-COLOR: #ffdead">实线</DIV>

 

★双线框代码★

<div STYLE="border-style:Double;border-width:8pt; border-color: #8B008B"> <div style="width:100%;height:100%;background-color:#E6E6FA;">文字</div></div>

效果如框内,是带背景色(熏衣草色)的简单双线框。

<div STYLE="border-style:Double;border-width:6pt; border-color: #ff4500"> <div style="width:100%;height:100%;background-color:#ffdab9;">文字</div></div>

显示的效果是背景色为桃色的简单双线框。效果如框内所示,边框的颜色是橙红色#ff4500,框内背景色为桃色#ffdab9。

<div STYLE="border-style:Double;border-width:6pt; border-color: #ff4500"> <div style="width:100%;height:100%;background-color:#FFdead;">文字</div></div>

显示的效果是背景色为NAVAJO白的简单双线框。效果如框内所示,边框的颜色是橙红色#ff4500,框内背景色为桃色#ffdead。

<div STYLE="border-style:Double;border-width:6pt; border-color: #ff4500"> <div style="width:100%;height:100%;background-color:#FFFFE0;">文字</div></div>

背景颜色为淡黄色#FFFFE0,效果如框内所示。

<div STYLE="border-style:Double;border-width:6pt; border-color: #f08080"> <div style="width:100%;height:100%;background-color:#FFdead;">文字</div></div>

这种双线框的效果有若隐若现的感觉,框的颜色是淡珊瑚色#f08080,框内背景的颜色是NAVAJO白#FFdead。效果如框内所示。

<div STYLE="border-style:Double;border-width:6pt; border-color: #f08080"> <div style="width:100%;height:100%;background-color:#FFFFE0;">文字</div></div>

这种双线框的效果有若隐若现的感觉,框的颜色是淡珊瑚色#f08080,框内背景的颜色是淡黄色#FFFFE0。效果如框内所示。

八、播放MP3和wma格式的代码

(可以连续播放的,高宽也可设零)

 <P align=center><EMBED src=http://bbs.hnu.cn/music/hu.mp3 width=300 height=50 type=audio/mpeg loop="true" autostart="true"></EMBED></P>

 

 

http://s175.photobucket.com/albums/w155/toyaa88/looshoptime1.swf 

 



  双击自动滚屏  
  相关评论:    

发表人:天上 星
发表人邮件:999发表时间:2008-1-22 19:09:00
欣萍世界,我爱你。
发表人:天上星
发表人邮件:999999999发表时间:2007-8-13 12:08:00
谢谢用心的欣萍,带给我们美的享受。

  发表评论:    

用 户 名:
电子邮件:
评论内容:
(最多评论字数:150)

欣萍世界 | 设为首页 | 加入收藏 | 联系我们 | 进入管理 |

联系人:欣萍