jQuery实现底部浮动窗口效果
2016-09-07 00:00
846 查看
本文实例讲述了jQuery实现底部浮动窗口效果。分享给大家供大家参考,具体如下:
运行效果如下图:
更多关于jQuery相关内容感兴趣的读者可查看本站专题:《jQuery扩展技巧总结》、《jQuery常用插件及用法总结》、《jQuery拖拽特效与技巧总结》、《jQuery表格(table)操作技巧汇总》、《jquery中Ajax用法总结》、《jQuery常见经典特效汇总》、《jQuery动画与特效用法总结》及《jquery选择器用法总结》
希望本文所述对大家jQuery程序设计有所帮助。
JQuery 实现的页面滚动时浮动窗口控件
jQuery实现页面下拉100像素出现悬浮窗口的方法
jquery div模态窗口的简单实例
jQuery实现单击弹出Div层窗口效果(可关闭可拖动)
jQuery实现的Div窗口震动效果实例
jQuery实现弹出带遮罩层的居中浮动窗口效果
<script type="text/javascript" src="jquery-1.10.1.min.js"></script> <style type="text/css"> #foot_tel { width:100%;height:43px; background:url(styles/js/swt/tel_bj_20131123.png) no-repeat center center; _top:expression(eval(document.documentElement.scrollTop+document.documentElement.clientHeight-this.offsetHeight)); z-index: 10000; position:fixed; _position:absolute; bottom:0px; left:0px;} #foot_telBox { margin:0px auto;width:1112px; z-index: 8999;height:43px; overflow:hidden;} #foot_telBox li {list-style:none;} #foot_telBox .tel_txt { border:0px; float:left; font-size:14px; line-height:22px; height:22px; color:#999999; background:none; margin:16px 10px 0 244px; width:160px;} #foot_telBox .tel_sub { border:0px; float:left; height:25px; color:#0C6796; background: url(styles/js/swt/tel_sub.png) no-repeat; width:92px;cursor:pointer;margin-top: 14px;} #qqzhenshi{float:left;margin-left: 35px;} #qqzhenshi a{display: block; width: 135px; height: 20px; margin: 15px 0px 0px 0px;} #foot_show { width:100%; height:140px; background: url(styles/js/swt/footAdd_bg.png); _top:expression(eval(document.documentElement.scrollTop+document.documentElement.clientHeight-this.offsetHeight)); z-index: 20; position:fixed; _position:absolute; bottom:-140px; left:0px;} .foot_showBox{width:1000px;height:79px;margin:10px auto 0px auto;} </style> <div id="foot_swt"> <div id="foot_tel"> <div id="foot_telBox"> <li style="float:left;"> <input type="text" onclick="openOline();" value="在线问问医生" class="tel_txt" /> <input type="button" value="" onclick="openOline();" class="tel_sub" /> </li> <li id="qqzhenshi"><a href="###" target="_blank"></a></li> <li style="width: 422px; float: right;list-style: none;"><span style="float: left; padding-top: 14px; width:360px; text-align:left"><a style="display:block" href="###" target="_blank"><img src="styles/js/swt/anniu_20130627.gif"></a></span><span style="float:right;"><a href="#" target="_self"><img src="styles/js/swt/tel_s4.gif"></a></span></li> </div> </div> <div id="foot_show"> <div class="foot_showBox"><img src="styles/js/swt/footAdd.png" alt="" border="0" usemap="#Mapfoot" /> <map name="Mapfoot" id="Mapfoot"> <area shape="rect" coords="640,10,891,288" href="###" target="_blank" /> </map> </div> </div> </div> <script type="text/javascript"> $(function(){ $('#foot_swt').mouseover(function(){ $('#foot_show').stop().animate({'bottom':'0px'},'fast'); }) $('#foot_swt').mouseout(function(){ $('#foot_show').stop().animate({'bottom':'-140px'},'fast'); }) }); function openOline(){ window.open("###", "_blank"); } </script>
运行效果如下图:
更多关于jQuery相关内容感兴趣的读者可查看本站专题:《jQuery扩展技巧总结》、《jQuery常用插件及用法总结》、《jQuery拖拽特效与技巧总结》、《jQuery表格(table)操作技巧汇总》、《jquery中Ajax用法总结》、《jQuery常见经典特效汇总》、《jQuery动画与特效用法总结》及《jquery选择器用法总结》
希望本文所述对大家jQuery程序设计有所帮助。
您可能感兴趣的文章:
jQuery之浮动窗口实现代码(两种方法)JQuery 实现的页面滚动时浮动窗口控件
jQuery实现页面下拉100像素出现悬浮窗口的方法
jquery div模态窗口的简单实例
jQuery实现单击弹出Div层窗口效果(可关闭可拖动)
jQuery实现的Div窗口震动效果实例
jQuery实现弹出带遮罩层的居中浮动窗口效果
相关文章推荐
- jQuery实现底部浮动窗口效果
- jquery和javascript两种实现浮动窗口的拖拽效果(参照网上资料以及韩顺平老师讲解)
- jQuery实现弹出带遮罩层的居中浮动窗口效果
- jQuery实现浮动层跟随页面滚动效果
- jquery实现浮动层效果
- jquery+css实现导航浮动并全宽显示效果教程
- jquery实现"跳到底部","回到顶部"效果
- jQuery实现浮动层跟随页面滚动效果
- [原创+源码]jQuery实现弹出居、右下角、左下角窗口效果(二)
- [转载] jQuery实现一个动画版返回顶部和底部的效果
- Jquery实现WIN7-AeroWindow窗口效果插件使用
- jquery实现弹出窗口效果的实例代码
- jquery实现"跳到底部","回到顶部"效果
- jQuery实现鼠标滚动条到页面底部浮动层滑动弹出信息
- JQuery实现的页面滚动时浮动窗口控件
- jQuery实现弹出居、右下角、左下角窗口效果(二)
- 使用jquery实现弹出窗口效果(居中、左下角、右下角)
- jquery实现居中、左下角、右下角窗口效果
- css+jquery实现标签浮动效果《前端随笔》
- jquery实现顶部浮动效果