<script type="text/javascript">
function media_player(url){
embed = '<object type="application/x-shockwave-flash" data="http://flash-mp3-player.net/medias/player_mp3_maxi.swf" width="200" height="20">'+
' <param name="movie" value="http://flash-mp3-player.net/medias/player_mp3_maxi.swf" />'+
' <param name="FlashVars" value="mp3='+url+'&showstop=1&showvolume=1&autoplay=1&slidercolor2=CECDCC&sliderovercolor=CECDCC&buttonovercolor=CECDCC&loadingcolor=CECDCC" />'+
'</object>';
jQuery('#media-popup .content').html(embed);
jQuery('#media-popup').fadeIn();
}
</script>
我如何添加一個關閉按鈕?我怎樣才能在這個彈出添加關閉按鈕,
這裏是代碼:http://pastebin.com/F1aJC8c2 – user1777097
$( 「#媒體彈出」)淡出()。 OR $(「#media-popup」)。hide(); – ShibinRagh