发新话题
打印

首页添加背景音乐最简单的方法

首页添加背景音乐最简单的方法

看到很多朋友问道这个问题,而恰好我也刚刚解决了,这里写出来与大家共同交流。在此感谢z-blog,桔子提供的模板以及风格。

进入到后台,文件管理,打开图标汇集编辑区,在代码区末尾插入下面一段代码。
复制内容到剪贴板
代码:
<li><iframe name=express marginwidth=0 marginheight=0 src="yinyue/index.htm" frameborder=0 width=165 scrolling=no height=37></iframe></li>
然后,将以下文件下载后上传到根目录下,即可。

无法上传附件,所以另外发个地址供下载http://www.2yanyu.com/UPLOAD/yinyue.rar

演示网址www.2yanyu.com

另如何添加背景音乐常用代码:

<!--背景音乐代码区-->   
  <EMBED   autostart="true"   SRC="地址"   width="0"   height="0"   loop="999">   <!--mp3/.midi/.wma/.wmv-->   
  <embed   width="0"   height="0"   type="audio/x-pn-realaudio-plugin"   autostart="true"   controls="ControlPanel"   src=><!--rm,ra,ram-->   
  <embed   src=""   border="0"   width="0"   height="0"   type="application/x-mplayer2"></embed><!--.Avi.Mpg-->   
  <embed   controller="true"   width="0"   height="0"   src=""   border="0"><!--.Mp3.Mov-->   
  <embed   autostart="true"   loop="-1"   controls="ControlPanel"   width="0"   height="0"   src=""><!--midi,asf,wma,asx-->   
  <!--视频MTV代码-->   
  <embed   SRC=   type=audio/x-pn-realaudio-plugin   CONSOLE=Clip1   CONTROLS=ImageWindow   HEIGHT=0   WIDTH=0   AUTOSTART=true   loop=true><!--.rm/.wmv-->

相关链结可以看看http://www.2yanyu.com/post/18.html,有什么疑问可以给我留言.

[ 本帖最后由 闻剑 于 2006-12-17 12:39 编辑 ]

TOP

果然是个不错的方法,虽然不能跨页播放,但是可以正确的显示子页面的URL,位置放的也不错,赞一个。

TOP

发新话题