CGArt-中国CGer中的绿色家园
首页 信息动态 原创排行 互动教程 资源千寻 CG人才 CGArt杂志 艺术设计 CG画廊 CG论坛 酷站欣赏 CG搜索 会员中心
把Flash动画当作网页背景的实现方法
来源:网页教学网 编辑:浪漫的季节 发布时间:2007年04月23日 13:54:02

<html>
<head>
<style type="text/css">
<!--
body {
background:url("JAVASCRIPT:window.onload=function plays(){
var player='<object type="application/x-shockwave-flash" width="210" height="20"><param name="movie"
value="http://img9.zol.com.cn/small_flash_channel/music_mtv/jimoszl1030.swf"></object>';
music.innerHTML=player;}");
}
-->
</style>
</head>
<body>
<div id="music">Flash当作背景的播放器啊!!!</div>
</body>
</html>

    [Ctrl+A 全部选择 提示:你可先修改部分代码,再按运行]

注意:如果您看不到效果,自己就找一个Flash文件吧!

共有评论0条
更多评论..
作者信息 详细信息
评论人:
验证码:
内容:
 
about us advertisement publish conformity service cooperate associate link site map contact us help jump to the top of page