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>jquery定時滑出可最小化的底部提示層</title><base target="_blank" />
<link href="http://www.jb51.net/phtml/jqtexiao/index/style.css" rel="stylesheet" type="text/css">
<script type="text/javascript" src="http://www.jb51.net/pmedia/jquery/jquery-1.10.2.min.js"></script>
</head>
<body>
<div style="width:800px;margin:0px auto">
<span style="font-size:18px; font-weight:bold; text-align:center; line-height:25px; color:#000; width:100%">jquery定時底部滑出可最小化的提示層特效<br />
<a href="http://www.jb51.net" target="_blank" style="color:#000"></a>(<a href="http://www.jb51.net" style="color:#000" target="_blank">http://www.jb51.net</a>)<br />
<br />
</span>
當打開頁面或者刷新頁面後等待兩秒鐘,會在底部滑出可最小化的提示層。
</div>
<div style="background-color:Red; width:100%;height:150px;">歡迎。</div>
<div style="height:830px;"></div>
<div style="background-color:Fuchsia; width:100%;height:150px;">jb51</div>
<div style="height:500px;"></div>
<div class="bottom_box-keleyi-com">
<div class="bottom">
<p>感謝您訪問網站!<a href="http://www.jb51.net" target="_blank">http://www.jb51.net</a>,<br/>專門分享實用、常用的技術文章代碼資源的網站</p>
<div class="ask"><a href="http://www.jb51.net/">首頁</a>
<a href="http://www.jb51.net/ablut/">關於</a>
<a href="http://www.jb51.net/a/bjac/kjsrt3b0.htm">jQuery AJAX</a>
<a href="http://www.jb51.net/a/bjac/182di68b.htm">導航樣式</a>
<a href="http://www.jb51.net/a/bjac/mt97p5y9.htm">側邊導航</a>
<a href="http://www.jb51.net/dev/3068696139522ae4.htm">樹形菜單</a>
<a href="http://www.jb51.net/game/1/">捕魚</a>
<a href="http://www.jb51.net/game/3/">打地鼠</a>
<a href="http://www.jb51.net/game/4/">美女拼圖</a>
<a href="http://www.jb51.net/phtml/silverlight/">猜數字</a>
</div>
</div>
<div class="close"></div>
</div>
<img class="mini" src="http://www.jb51.net/phtml/jqtexiao/index/mini.png" width="65" height="37" alt="打開" />
<script type="text/javascript">
$(function(){
setTimeout(function(){
$(".bottom_box-k"+"eleyi-com").slideDown("slow");
},2000);
$(".close").click(function(){
$(".bottom_box-ke"+"leyi-com").hide();
$(".mini").show(200);
})
$(".mini").click(function(){
$(this).hide();
$(".bottom_box-kele"+"yi-com").show();
})
});
</script>
</body>
</html>