js实例教程-jquery定时滑出可最小化的底部提示层特效代码

发布时间:2018-12-07 发布网站:脚本宝典
脚本宝典收集整理的这篇文章主要介绍了js实例教程-jquery定时滑出可最小化的底部提示层特效代码脚本宝典觉得挺不错的,现在分享给大家,也给大家做个参考。
小宝典致力于为广大程序猿(媛)提供高品质的代码服务,请大家多多光顾小站,小宝典在此谢过。

htML代码:

. 代码如下:


<!DOCTYPE html PubLIC "-//W3C//DTD XHTML 1.0 TransITional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html XMlns="https://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="https://www.jb51.net/phtml/jqtexiao/index/style.css" rel="stylesheet" type="text/css">
<script type="text/javascript" src="https://www.jb51.net/pmedia/jquery/jquery-1.10.2.min.js"></script>
</head>

&nbsp;

<body>
<p 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="https://www.jb51.net" target="_blank" style="color:#000">脚本之家</a>(<a href="https://www.jb51.net" style="color:#000" target="_blank">https://www.jb51.net</a>)<br />
<br />
</span>

当打开页面或者刷新页面后等待两秒钟,会在底部滑出可最小化的提示层。
</p>
<p style="background-color:red; width:100%;height:150px;">欢迎。</p>
<p style="height:830px;"></p>
<p style="background-color:Fuchsia; width:100%;height:150px;">jb51</p>
<p style="height:500px;"></p>

<p class="bottom_box-keleyi-com">
<p class="bottom">
<p>感谢您访问脚本之家网站!<a href="https://www.jb51.net" target="_blank">https://www.jb51.net</a>,<br/>专门分享实用、常用的技文章代码资源的网站</p>
<p class="ask"><a href="https://www.jb51.net/">首页</a>
<a href="https://www.jb51.net/ablut/">关于</a>
<a href="https://www.jb51.net/a/bjac/kjsrt3b0.htm">@L_406_1@ AJAX</a>
<a href="https://www.jb51.net/a/bjac/182di68b.htm">导航样式</a>
<a href="https://www.jb51.net/a/bjac/mt97p5y9.htm">侧边导航</a>
<a href="https://www.jb51.net/dev/3068696139522ae4.htm">树形菜单</a>
<a href="https://www.jb51.net/game/1/">捕鱼</a>
<a href="https://www.jb51.net/game/3/">打地鼠</a>
<a href="https://www.jb51.net/game/4/">美女拼图</a>
<a href="https://www.jb51.net/phtml/silverlight/">猜数字</a>
</p>
</p>
<p class="close"></p>
</p>
<img class="mini" src=https://www.2cto.COM/uploaDFile/2018/0329/20180329092915419.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>


html源代码:

. 代码如下:


<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="https://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="https://www.jb51.net/phtml/jqtexiao/index/style.css" rel="stylesheet" type="text/css">
<script type="text/javascript" src="https://www.jb51.net/pmedia/jquery/jquery-1.10.2.min.js"></script>
</head>

 

<body>
<p 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="https://www.jb51.net" target="_blank" style="color:#000">脚本之家</a>(<a href="https://www.jb51.net" style="color:#000" target="_blank">https://www.jb51.net</a>)<br />
<br />
</span>

当打开页面或者刷新页面后等待两秒钟,会在底部滑出可最小化的提示层。
</p>
<p style="background-color:Red; width:100%;height:150px;">欢迎。</p>
<p style="height:830px;"></p>
<p style="background-color:Fuchsia; width:100%;height:150px;">jb51</p>
<p style="height:500px;"></p>

<p class="bottom_box-keleyi-com">
<p class="bottom">
<p>感谢您访问脚本之家网站!<a href="https://www.jb51.net" target="_blank">https://www.jb51.net</a>,<br/>专门分享实用、常用的技术文章代码资源的网站</p>
<p class="ask"><a href="https://www.jb51.net/">首页</a>
<a href="https://www.jb51.net/ablut/">关于</a>
<a href="https://www.jb51.net/a/bjac/kjsrt3b0.htm">jQuery AJAX</a>
<a href="https://www.jb51.net/a/bjac/182di68b.htm">导航样式</a>
<a href="https://www.jb51.net/a/bjac/mt97p5y9.htm">侧边导航</a>
<a href="https://www.jb51.net/dev/3068696139522ae4.htm">树形菜单</a>
<a href="https://www.jb51.net/game/1/">捕鱼</a>
<a href="https://www.jb51.net/game/3/">打地鼠</a>
<a href="https://www.jb51.net/game/4/">美女拼图</a>
<a href="https://www.jb51.net/phtml/silverlight/">猜数字</a>
</p>
</p>
<p class="close"></p>
</p>
<img class="mini" src=https://www.2cto.com/uploadfile/2018/0329/20180329092915419.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>


觉得可用,就经常来吧!Javascript技巧 脚本宝典 欢迎评论哦! js技巧,巧夺天工,精雕玉琢。小宝典献丑了!

脚本宝典总结

以上是脚本宝典为你收集整理的js实例教程-jquery定时滑出可最小化的底部提示层特效代码全部内容,希望文章能够帮你解决js实例教程-jquery定时滑出可最小化的底部提示层特效代码所遇到的问题。

如果觉得脚本宝典网站内容还不错,欢迎将脚本宝典推荐好友。

本图文内容来源于网友网络收集整理提供,作为学习参考使用,版权属于原作者。
如您有任何意见或建议可联系处理。小编QQ:384754419,请注明来意。