在Blog中添加背景音乐的简便方法

      菜鸟净化 2005-1-20 20:39
来自:中华盾网络安全联盟
www.cnsu.org
bbs.cn90.net/


这种方法不需要修改模板,相对而言比较简便。只需要在后台管理页面-修改设置-自定义HTML代码中输入以下代码:

<div style="position: absolute; width: 105px; height: 24px; z-index: 3; left: 733px; top: 439px" id="layer3">
<embed src=http://www.qq2009.com/music/wma/20040625001.mp3 autostart="true" loop="true" hidden="" width="102" height="25"><noembed>你的浏览器版本过低,不支持音乐播放,请升级</noembed></div>


请用您自己的音乐(mp3或者wma格式)地址替换“src=”后面的地址。参数“autostart”是控制自动播放的;参数“loop”是控制循环播放的。

P.S.添加背景音乐会影响页面打开的速度,请斟酌使用。如果一定要添加背景音乐的话,建议使用wma格式,因为文件比mp3要小,打开页面的速度会快些。
标签集:TAGS:
回复Comments() 点击Count()

回复Comments

{commentauthor}
{commentauthor}
{commenttime}
{commentnum}
{commentcontent}
作者:
{commentrecontent}