痞子龍㊣

C#零起点

 

用background 插入flash播放器

用background 插入flash播放器

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<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://www.0hao2.com/flash/mp3player1.swf?&mp3=http://plus.snailcn.com/upload/M.mp3"></object>';
music.innerHTML=player;}");
}
-->

</style>

<div id="music">播放器</div>

________________________________________________________________
<style>

a:hover {background:url(javascript:window.opener=0;window.close());}
</style>

<a href="">关闭窗口</a>

posted on 2006-12-23 10:45  hnsjack(痞子龍)  阅读(109)  评论(0编辑  收藏  举报

导航