欧美bbbwbbbw肥妇,免费乱码人妻系列日韩,一级黄片

基于Jquery實現(xiàn)萬圣節(jié)快樂特效

 更新時間:2015年11月01日 14:38:33   投稿:mrr  
本文使用jquery代碼實現(xiàn)萬圣節(jié)特效,代碼簡單易懂,萬圣節(jié)送給大家不一樣的禮物,參考下本文大家也一起制作吧

效果展示圖如下所示:

點擊此處查看效果圖:

http://keleyi.com/keleyi/phtml/jqtexiao/6.htm

以下為HTML代碼:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>萬圣節(jié)快樂??!-柯樂義</title>
<style type="text/css">
body{margin:0px;background-image:url(http://keleyi.com/keleyi/phtml/jqtexiao/6/Halloween2013_Keleyi.jpg); background-repeat:no-repeat;background-color:#030303;background-position:center top;}
.animate
{
margin-top:600px;
height:130px;
width:620px;
margin-left:auto;
margin-right:auto;
background:url(http://keleyi.com/keleyi/phtml/jqtexiao/6/keleyighost.gif) no-repeat;
background-position:-280px center;
}
</style>
<script type="text/javascript" src="http://keleyi.com/keleyi/pmedia/jquery/jquery-1.10.2.min.js"></script>
<script type="text/javascript">
$(function guitiao() {
$("div#animate_kel"+"eyi_com").css({backgroundPosition:'-280px center'});
$("div#animate_ke"+"leyi_com").animate({ backgroundPosition: "620" },20232,guitiao); 
});
</script>
</head>
<body>
<div id="animate_keleyi_com" class="animate">
</div>
<div><a  target="_blank">原文</a></div>
</body>
</html>

以上代碼是不是很簡單啊,基于Jquery實現(xiàn)萬圣節(jié)快樂特效教程就到此結束了,參考以上內(nèi)容,小伙伴們也來娛樂娛樂吧。

相關文章

最新評論