html源代码:
<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.phpstudy.net\" target=\"_blank\" style=\"color:#000\">phpstudy</a>(<a href=\"http://www.phpstudy.net\" style=\"color:#000\" target=\"_blank\">http://www.phpstudy.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;\">phpstudy</div>
<div style=\"height:500px;\"></div>
<div class=\"bottom_box-keleyi-com\">
<div class=\"bottom\">
<p>感谢您访问phpstudy网站!<a href=\"http://www.phpstudy.net\" target=\"_blank\">http://www.phpstudy.net</a>,<br/>专门分享实用、常用的技术文章代码资源的网站</p>
<div class=\"ask\"><a href=\"http://www.phpstudy.net/\">首页</a>
<a href=\"http://www.phpstudy.net/ablut/\">关于</a>
<a href=\"http://www.phpstudy.net/a/bjac/kjsrt3b0.htm\">jQuery AJAX</a>
<a href=\"http://www.phpstudy.net/a/bjac/182di68b.htm\">导航样式</a>
<a href=\"http://www.phpstudy.net/a/bjac/mt97p5y9.htm\">侧边导航</a>
<a href=\"http://www.phpstudy.net/dev/3068696139522ae4.htm\">树形菜单</a>
<a href=\"http://www.phpstudy.net/game/1/\">捕鱼</a>
<a href=\"http://www.phpstudy.net/game/3/\">打地鼠</a>
<a href=\"http://www.phpstudy.net/game/4/\">美女拼图</a>
<a href=\"http://www.phpstudy.net/phtml/silverlight/\">猜数字</a>
</div>
</div>
<div class=\"close\"></div>
</div>
<img class=\"mini\" src=\"http://www.phpstudy.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>
本文地址:https://www.stayed.cn/item/13241
转载请注明出处。
本站部分内容来源于网络,如侵犯到您的权益,请 联系我