html5表白网页怎么弄上音乐

html-css069

html5表白网页怎么弄上音乐,第1张

html5有支持音乐和视频的标签啊!<audio>标签标识了声音内容,比如说音乐或是任何的其他音频流。controls(控制) autoplay(自动播放) loop(循环),具体你可以看

http://bbs.zzfriend.com/forum.php?mod=viewthread&tid=1905

together.setFullYear(2015, 1, 2)

together.setHours(20)

在index里面修改 上面那两行就可以了;用DW打开,在73、74行;

js表白

...........................

<script>

$(function(){

$.fn.snow({

minSize: 5, //雪花的最小尺寸

maxSize: 50,//雪花的最大尺寸

newOn: 150 //雪花出现的频率 这个数值越小雪花越多

})

})

</script>

<script type="text/javascript">

var offsetX = $("#loveHeart").width() / 2

var offsetY = $("#loveHeart").height() / 2 - 55

var together = new Date()

together.setFullYear(2010, 06, -32)

together.setHours(00)

together.setMinutes(0)

together.setSeconds(0)

together.setMilliseconds(0)

if (!document.createElement('canvas').getContext) {

var msg = document.createElement("div")

msg.id = "errorMsg"

msg.innerHTML = "Your browser doesn't support HTML5!<br/>Recommend use Chrome 14+/IE 9+/Firefox 7+/Safari 4+"

document.body.appendChild(msg)

$("#code").css("display", "none")

$("#copyright").css("position", "absolute")

$("#copyright").css("bottom", "10px")

document.execCommand("stop")

} else {

setTimeout(function () {

startHeartAnimation()

}, 5000)

timeElapse(together)

setInterval(function () {

timeElapse(together)

}, 500)

adjustCodePosition()

$("#code").typewriter()

}

</script>