在这里贴出主要代码,可在我的资源中下载

<!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" />
<head>
    <title></title>
    <style type="text/css">
        body, input, textarea, select, small, a { font-family: Arial, "宋体"; font-size: 12px; }     
        /*职位列表样式*/
        .jobList { border: 1px solid #8A9FA4; position: absolute; width: 200px; left: 100px; top: 60px; z-index: 100; background-color: White; }
        .jobList > div { padding: 2px; }
        
        .jobList .title { display: inline-block; width: 120px; text-align: right; font-weight: bold; margin-right: 20px; }
        .jobList .items { display: inline-block; padding: 2px; width: 555px; }
        .jobList .items label { background: url(http://images.cnitblog.com/blog/294743/201306/17235544-3da2f08fa48147c9a8fa4a25e98a4632.gif) no-repeat 5px 5px; width: 155px; display: inline-block; padding: 4px 1px 4px 22px; margin: 2px; cursor: pointer; }
        .jobList .items label.cls { background: #ffffff url(http://images.cnitblog.com/blog/294743/201306/18090058-4de319626b6f46adbb3871292dca97b6.gif) no-repeat 4px 4px; border: 1px solid #C7C7C7; padding: 3px 0 3px 21px; }
        
        .alt { background-color: #EFF6FF; }
        
        .jobList .toolBar { display: block; position: absolute; background-color: White; border: 1px solid #8A9FA4; border-bottom: none; height: 25px; top: -30px; left: -1px; padding: 4px 10px 0 4px; }
        .jobList .toolBar h2 { display: inline-block; font-size: 12px; margin: 0; padding: 2px 50px 2px 10px; }
        .jobList .toolBar .bts { display: inline-block; }
        .jobList .toolBar .bts a { display: inline-block; border-radius: 2px; text-decoration: none; color: #1b6f8b; background-color: #cfe2f4; border: 1px solid #98bed8; padding: 2px 6px; }
        
        
        .jobItem { background-color: White; width: 360px; border: 1px solid #C7C7C7; padding: 5px; position: absolute; z-index: 200; display: none; }
        .jobItem label { display: inline-block; width: 170px; color: #3059A8; }
        .jobItem label input { vertical-align: -2px; }
        .btBlock { border-top: 1px solid #C7C7C7; margin-top: 10px; padding: 5px 0; }
        
        .jobItem .bgLine { background: #C7C7C7; height: 1px; position: absolute; width: 194px; }
        
        .button { display: inline-block; border-radius: 2px; text-decoration: none; color: #1b6f8b; background-color: #cfe2f4; border: 1px solid #98bed8; padding: 2px 10px; }
    </style>
    <script id="jquery_183" type="text/javascript" class="library" src="jquery-1.7.1.js"></script>
</head>
<body>
    
    <div id="jobList" class="jobList">
       
       
            
            <div class="items">
                <label>
                <span class="croSwitch">
                        <i class="horizontal"></i>
                        <i class="vertical"></i>
                    </span>点击弹出框
                   </label></div>
  
    </div>
    
    <div id="jobItem0" class="jobItem">
        <div class="bgLine">
        </div>
        <label>
        弹出框内容
         </label>
        <div class="btBlock">
            <label>
                <input type="checkbox"><span>全选</span></label>
            <a href="#" class="ok button">确认</a> <a href="#" class="cancel button">取消</a>
        </div>
    </div>
 
    <script type="text/javascript">
        $(document).ready(function () {
            var timer = null;

var jobItem0 = $('#jobItem0');

//点击关闭
            $('#btCls').click(function () {
                jobList.hide();
            });

jobItem0.mouseenter(function () {
                if (timer) clearTimeout(timer);

});

//点击展开三级菜单
            $('#jobList').delegate(' .items label', 'click', function (e) {
                var el = $(this);
                if (el.hasClass('cls')) {
                    el.removeClass('cls');
                    clsJobList();
                } else {
                    el.addClass('cls');
                    var bgLine = jobItem0.find('.bgLine');

//获取作为客户端判断点
                    var x = e.clientX;
                    var y = e.clientY;
                    var offset = el.offset();
                    var height = parseInt(el.outerHeight());
                    var width = parseInt(el.outerWidth());

jobItem0.css('border', '1px solid #C7C7C7');

jobItem0.show();

//向上
                    if (y > 300 && false) {
                        jobItem0.css({
                            'top': (offset.top - height - 1) + 'px',
                            'border-bottom': 'none'
                        });
                        bgLine.css('bottom', '1px');
                    } else {
                        jobItem0.css({
                            'top': (offset.top + height - 1) + 'px',
                            'border-top': 'none'
                        });
                        bgLine.css('top', '-1px');
                    }

//向左
                    if (x > 500) {
                        jobItem0.css({
                            'left': (offset.left - width - 16) + 'px'
                        });
                        bgLine.css('right', '177px');
                    } else {
                        jobItem0.css({
                            'left': offset.left + 'px'
                        });
                        bgLine.css('right', '0');
                    }
                    var s = '';

el.unbind('mouseout').mouseout(function () {
                        if (timer) clearTimeout(timer);
                        timer = setTimeout(clsJobList, 100)

});
                    jobItem0.mouseleave(clsJobList);
                }

function clsJobList() {
                    el.removeClass('cls');
                    jobItem0.hide();
                    el.unbind('mouseout');
                }

});

});
    </script>
</body>
</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>
    <title></title>
    <style type="text/css">
        body, input, textarea, select, small, a { font-family: Arial, "宋体"; font-size: 12px; }
        /*下拉文本样式*/
        .dropText { display: inline-block; border: 1px solid #B6B6B6; border-right: none; border-radius: 5px 0 0 5px; cursor: pointer; margin-right: 20px; }
        .dropText input { border: none; border-radius: 5px 0 0 5px; cursor: pointer; padding-left: 5px; }
        .dropText span { display: inline-block; margin-right: -10px; width: 20px; border: 1px solid #B6B6B6; border-radius: 0 5px 5px 0; margin: -1px -20px -1px 0; text-align: center; padding: 4px 0 4px 8px; }
        .dropText i { display: inline-block; border: 6px solid black; border-color: black transparent transparent; border-bottom: none; vertical-align: 2px; }
        
        /*职位列表样式*/
        .jobList { border: 1px solid #8A9FA4; position: absolute; width: 710px; left: 100px; top: 60px; display: none; z-index: 100; background-color: White; }
        .jobList > div { padding: 2px; }
        
        .jobList .title { display: inline-block; width: 120px; text-align: right; font-weight: bold; margin-right: 20px; }
        .jobList .items { display: inline-block; padding: 2px; width: 555px; }
        .jobList .items label { background: url(http://images.cnitblog.com/blog/294743/201306/17235544-3da2f08fa48147c9a8fa4a25e98a4632.gif) no-repeat 5px 5px; width: 155px; display: inline-block; padding: 4px 1px 4px 22px; margin: 2px; cursor: pointer; }
        .jobList .items label.cls { background: #ffffff url(http://images.cnitblog.com/blog/294743/201306/18090058-4de319626b6f46adbb3871292dca97b6.gif) no-repeat 4px 4px; border: 1px solid #C7C7C7; padding: 3px 0 3px 21px; }
        
        .alt { background-color: #EFF6FF; }
        
        .jobList .toolBar { display: block; position: absolute; background-color: White; border: 1px solid #8A9FA4; border-bottom: none; height: 25px; top: -30px; left: -1px; padding: 4px 10px 0 4px; }
        .jobList .toolBar h2 { display: inline-block; font-size: 12px; margin: 0; padding: 2px 50px 2px 10px; }
        .jobList .toolBar .bts { display: inline-block; }
        .jobList .toolBar .bts a { display: inline-block; border-radius: 2px; text-decoration: none; color: #1b6f8b; background-color: #cfe2f4; border: 1px solid #98bed8; padding: 2px 6px; }
        
        
        .jobItem { background-color: White; width: 360px; border: 1px solid #C7C7C7; padding: 5px; position: absolute; z-index: 200; display: none; }
        .jobItem label { display: inline-block; width: 170px; color: #3059A8; }
        .jobItem label input { vertical-align: -2px; }
        .btBlock { border-top: 1px solid #C7C7C7; margin-top: 10px; padding: 5px 0; }
        
        .jobItem .bgLine { background: #C7C7C7; height: 1px; position: absolute; width: 194px; }
        
        .button { display: inline-block; border-radius: 2px; text-decoration: none; color: #1b6f8b; background-color: #cfe2f4; border: 1px solid #98bed8; padding: 2px 10px; }
    </style>
    <script id="jquery_183" type="text/javascript" class="library" src="jquery-1.7.1.js"></script>
</head>
<body>
    <div style="margin: 100px auto; padding-left: 100px;">
        <div class="dropText" id="dropText">
            <input type="text" placeholder="请选择职位" /><span><i></i> </span>
        </div>
    </div>
    <div id="jobList" class="jobList">
        <div class="toolBar">
            <h2>
                请选择职位</h2>
            <div class="bts">
                <a href="#" id="btUnLess">不限</a> <a href="#" id="btCls">关闭</a></div>
        </div>
        <div class="item_0 ">
            <span class="title">销售|客服|采购 </span>
            <div class="items">
                <label>销售业务</label>
                
                <label>
                        销售管理</label><label>
                            销售支持/商务</label><label>
                                客户服务/售前/售后/技术支持</label><label>
                                
                                <span class="croSwitch"><i class="horizontal"></i><i
                                    class="vertical"></i></span> 采购/贸易</label></div>
        </div>
        <div class="item_1  alt ">
            <span class="title">财会|金融 </span>
            <div class="items">
                <label>
                    财务/审计/税务</label><label>
                        银行</label><label>
                            金融/证券/期货/投资</label><label>
                                保险</label></div>
        </div>
        <div class="item_2 ">
            <span class="title">汽车|工程机械 </span>
            <div class="items">
                <label>
                    汽车/摩托车制造</label><label>
                        汽车销售与服务</label><label>
                            工程机械</label></div>
        </div>
        <div class="item_3  alt ">
            <span class="title">消费品|生产|物流 </span>
            <div class="items">
                <label>
                    生产/加工/制造</label><label>
                        交通运输服务</label><label>
                            服装/纺织/食品饮料/皮革</label><label><span class="croSwitch"><i class="horizontal"></i><i
                                class="vertical"></i></span> 物流/仓储</label><label><span class="croSwitch"><i class="horizontal"></i><i
                                    class="vertical"></i></span> 技工</label><label><span class="croSwitch"><i class="horizontal"></i><i
                                        class="vertical"></i></span> 质量管理/安全防护</label></div>
        </div>
        <div class="item_4 ">
            <span class="title">市场|媒介|设计 </span>
            <div class="items">
                <label>
                    市场/营销</label><label>
                        公关/媒介</label><label>
                            美术/设计/创意</label><label>
                                广告/会展</label><label>
                                    传媒/影视/报刊/出版/印刷</label></div>
        </div>
        <div class="item_5  alt ">
            <span class="title">医药|化工|能源|环保 </span>
            <div class="items">
                <label>
                    生物/制药/医疗器械</label><label>
                        化工</label><label>
                            环境科学/环保</label><label>
                                能源/矿产/地质勘查</label></div>
        </div>
        <div class="item_6 ">
            <span class="title">管理|人力资源|行政 </span>
            <div class="items">
                <label>
                    高级管理</label><label>
                        人力资源</label><label>
                            行政/后勤/文秘</label></div>
        </div>
        <div class="item_7  alt ">
            <span class="title">咨询|法律|教育|翻译 </span>
            <div class="items">
                <label>
                    咨询/顾问</label><label>
                        教育/培训</label><label>
                            律师/法务/合规</label><label>
                                翻译(口译与笔译)</label></div>
        </div>
        <div class="item_8 ">
            <span class="title">服务业 </span>
            <div class="items">
                <label>
                    零售/百货/连锁/超市</label><label>
                        酒店/餐饮/旅游/娱乐</label><label>
                            保健/美容/美发/健身</label><label>
                                医院/医疗/护理</label><label>
                                    保安/家政/普通劳动力</label></div>
        </div>
        <div class="item_9  alt ">
            <span class="title">机关单位|学生|其他 </span>
            <div class="items">
                <label>
                    公务员/事业单位/科研机构</label><label><span class="croSwitch"><i class="horizontal"></i><i
                        class="vertical"></i></span> 农/林/牧/渔业</label><label><span class="croSwitch"><i class="horizontal"></i><i
                            class="vertical"></i></span> 毕业生/实习生/培训生</label><label><span class="croSwitch"><i
                                class="horizontal"></i><i class="vertical"></i></span> 兼职/临时</label><label><span
                                    class="croSwitch"><i class="horizontal"></i><i class="vertical"></i></span> 其他</label></div>
        </div>
    </div>
    <div id="jobItem0" class="jobItem">
        <div class="bgLine">
        </div>
        <label>
            <input type="checkbox" name="chItem_0"><span>销售代表</span></label><label><input type="checkbox"
                name="chItem_0"><span>客户代表</span></label><label><input type="checkbox" name="chItem_0"><span>电话销售</span></label><label><input
                    type="checkbox" name="chItem_0"><span>销售工程师</span></label><label><input type="checkbox"
                        name="chItem_0"><span>渠道/分销专员</span></label><label><input type="checkbox" name="chItem_0"><span>医药销售代表</span></label><label><input
                            type="checkbox" name="chItem_0"><span>经销商</span></label><label><input type="checkbox"
                                name="chItem_0"><span>网站推广</span></label><label><input type="checkbox" name="chItem_0"><span>团购业务员</span></label><label><input
                                    type="checkbox" name="chItem_0"><span>其他</span></label>
        <div class="btBlock">
            <label>
                <input type="checkbox"><span>全选</span></label>
            <a href="#" class="ok button">确认</a> <a href="#" class="cancel button">取消</a>
        </div>
    </div>
 
    <script type="text/javascript">
        $(document).ready(function () {
            var timer = null;
            var dropText = $('#dropText');
            var jobList = $('#jobList');
            var jobItem0 = $('#jobItem0');
            dropText.click(function () {
                var el = $(this);
                var offset = el.offset();
                jobList.css({ 'top': (offset.top + 25) + 'px', 'left': (offset.left) + 'px' });
                jobList.show();
            });

//点击关闭
            $('#btCls').click(function () {
                jobList.hide();
            });

jobItem0.mouseenter(function () {
                if (timer) clearTimeout(timer);

});

//点击展开三级菜单
            $('#jobList').delegate(' .items label', 'click', function (e) {
                var el = $(this);
                if (el.hasClass('cls')) {
                    el.removeClass('cls');
                    clsJobList();
                } else {
                    el.addClass('cls');
                    var bgLine = jobItem0.find('.bgLine');

//获取作为客户端判断点
                    var x = e.clientX;
                    var y = e.clientY;
                    var offset = el.offset();
                    var height = parseInt(el.outerHeight());
                    var width = parseInt(el.outerWidth());

jobItem0.css('border', '1px solid #C7C7C7');

jobItem0.show();

//向上
                    if (y > 300 && false) {
                        jobItem0.css({
                            'top': (offset.top - height - 1) + 'px',
                            'border-bottom': 'none'
                        });
                        bgLine.css('bottom', '1px');
                    } else {
                        jobItem0.css({
                            'top': (offset.top + height - 1) + 'px',
                            'border-top': 'none'
                        });
                        bgLine.css('top', '-1px');
                    }

//向左
                    if (x > 500) {
                        jobItem0.css({
                            'left': (offset.left - width - 16) + 'px'
                        });
                        bgLine.css('right', '177px');
                    } else {
                        jobItem0.css({
                            'left': offset.left + 'px'
                        });
                        bgLine.css('right', '0');
                    }
                    var s = '';

el.unbind('mouseout').mouseout(function () {
                        if (timer) clearTimeout(timer);
                        timer = setTimeout(clsJobList, 100)

});
                    jobItem0.mouseleave(clsJobList);
                }

function clsJobList() {
                    el.removeClass('cls');
                    jobItem0.hide();
                    el.unbind('mouseout');
                }

});

});
    </script>
</body>
</html>

类似智联招聘选择职位的弹出框效果,可做选择城市等信息相关推荐

  1. python 爬虫学习:抓取智联招聘网站职位信息(二)

    在第一篇文章(python 爬虫学习:抓取智联招聘网站职位信息(一))中,我们介绍了爬取智联招聘网站上基于岗位关键字,及地区进行搜索的岗位信息,并对爬取到的岗位工资数据进行统计并生成直方图展示:同时进 ...

  2. android 蒙版图片带拖动_Android实现蒙版弹出框效果

    本文实例为大家分享了android蒙版弹出框效果的具体代码,供大家参考,具体内容如下 自定义 package cn.lxsdb.yyd.app.dialog; import cn.lxsdb.yyd. ...

  3. Linux程序实现弹框,jQuery实现弹出框 效果绝对美观

    使用到JQeury写的几个比较好的Popup DialogBox,觉得不错.和大家分享下.使用它们结合.net可以实现很好的效果. 1.jqpopup: 是个可以拖拽,缩放并可以在它上面显示html页 ...

  4. Python用Selenium和Chromedriver爬取智联招聘的职位

    步骤: 1.在智联招聘网站选择好职位关键词和作用地址. 2.运行代码. 其中注意点 1.用driver爬取首页时,会弹出如下图窗口.此时可以在代码中设置睡眠2秒,自己手动取消窗口. 2.在这一次爬取中 ...

  5. 智联招聘 爬虫职位信息的爬取

    1.电脑系统:ubuntu 18.04.5 LTS :开发工具:pycharm;编译环境:anaconda3,python_vesion:Python 3.8;第三方库文件:Scrapy,seleni ...

  6. python 爬虫学习:抓取智联招聘网站职位信息(一)

    近期智联招聘的网站风格变化较快,这对于想爬取数据的人来说有些难受.因此,在前人基础上,我整理了针对智联招聘网站的最新结构进行数据抓取的代码,目前支持抓取职位搜索列表页面的列表项,并将职位列表以exlc ...

  7. 给大家整理了一篇Python+selenium爬取智联招聘的职位信息

    整个爬虫是基于selenium和Python来运行的,运行需要的包 1 mysql,matplotlib,selenium 需要安装selenium火狐浏览器驱动,百度的搜寻. 整个爬虫是模块化组织的 ...

  8. 招聘网python职位_Python+selenium爬取智联招聘的职位信息

    整个爬虫是基于selenium和Python来运行的,运行需要的包 1 mysql,matplotlib,selenium 需要安装selenium火狐浏览器驱动,百度的搜寻. 整个爬虫是模块化组织的 ...

  9. 类似微信5.x朋友圈的弹出框评论功能

    实现对一个主题评论并显示评论列表,首先想到的是需要使用ListView控件, 下面是layout下的xml布局文件: <?xml version="1.0" encoding ...

最新文章

  1. 计算机视觉还能撑多久?
  2. 三阶魔方自动还原 vc实现
  3. 使用VC++ 显示一首诗歌
  4. 浅析IBM i上C/C++应用程序编译调试方法
  5. R语言中的特殊值 NA NULL NaN Inf
  6. Linux 线程与互斥锁的使用
  7. 普通高中生水平就能干好的编程到底是不是高科技?
  8. 陈松松:如何锁定细分领域,视频营销才更容易持续做下去
  9. 2-修改软件源让pip下载更快
  10. 软件测试之逻辑覆盖测试理论总结(白话文)
  11. sop4封装尺寸图_「光电封装」 有源光器件的结构和封装
  12. 试用期java_Java试用资源
  13. 第九章-安装RPM包或源码包
  14. 计算机在线给手机杀毒,手机在线杀毒,教您手机怎么杀毒
  15. 教你制作高逼格的技术分享Keynote(PPT)
  16. mac python 连接oracle数据库(mac cx_Oracle.DatabaseError: DPI-1047: )
  17. 通过电脑重置解决小米笔记本巨卡无比的问题
  18. MacOS git配置本地ssh
  19. tensorflow学习 矩阵乘法和元素乘法
  20. SQL中将年月日, DATE_FORMAT()格式转换指定格式

热门文章

  1. 白洁血战Node并发编程 - 预览
  2. 2018还单身的男生要小心了……
  3. C语言程序设计(本) 阶段作业,武汉理工大学继续教育《C语言程序设计(本)》在线作业答案...
  4. 计算机病毒常见病状,有哪些常见的计算机病毒症状
  5. Vue element-loading设置加载状态位置
  6. java文件下载之 videoVIP
  7. 【C#基础】初识编程语言C#
  8. i5 12400核显性能 i5 12400核显相当于什么显卡
  9. 【C】python安装xlrd和xlwt库
  10. Dubbo面试题及答案(2022最新版)