博客园  :: 首页  :: 新随笔  :: 联系 :: 订阅 订阅  :: 管理

标准的Flash插入代码

Posted on 2008-06-15 15:08  珊瑚海  阅读(1772)  评论(0编辑  收藏  举报
标准的Flash插入代码
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>代码测试</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="Author" content="PengRong" />
</head>
<body>
<object type="application/x-shockwave-flash" data="http://adimg.163.com//homepage/eachnet/eachnet070117_110260.swf" width="150" height="400">
<param name="movie" value="http://adimg.163.com//homepage/eachnet/eachnet070117_110260.swf" />
<a href="http://adimg.163.com//homepage/eachnet/eachnet070117_110260.swf"><img src="style/img/001.jpg" alt="Flash动画" /></a>
</object>
</body>
</html>

不会遮住层的Flash
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>代码测试</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="Author" content="PengRong" />
<style type="text/css">
#pr {position:absolute;left:10px;top:50px;background:#eee;border:solid 1px #fff;}
</style>
</head>
<body>

透明的Flash
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>代码测试</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="Author" content="PengRong" />
<style type="text/css">
#bg { width:200px; height:500px; background:#900; }
#pr { position:absolute; left:10px; top:10px; }
</style>
</head>
<body>
<div id="bg"></div>
<div id="pr">
<object type="application/x-shockwave-flash" data="http://images.163.com/icast/lining/44098/1.swf" width="500" height="400">
<param name="movie" value="http://images.163.com/icast/lining/44098/1.swf" />
<param name="wmode" value="transparent">
<a href="http://images.163.com/icast/lining/44098/1.swf"><img src="style/img/001.jpg" alt="Flash动画" /></a>
</object>
</div>
</body>
</html>


<div id="pr">不会遮住层的Flash</div>
<object type="application/x-shockwave-flash" data="http://adimg.163.com//homepage/eachnet/eachnet070117_110260.swf" width="150" height="400">
<param name="movie" value="http://adimg.163.com//homepage/eachnet/eachnet070117_110260.swf" />
<param name="wmode" value="opaque" />
<embed wmode="opaque"></embed>
<a href="http://adimg.163.com//homepage/eachnet/eachnet070117_110260.swf"><img src="style/img/001.jpg" alt="Flash动画" /></a>
</object>
</body>
</html>