标签 内容 内容长度 优化建议
网页标题(Title) 浙江警察学院官网 8 个字符 标题字符数量在合理范围
网页关键词(KeyWords) 关键字,获取失败 0 个字符 关键字数在合理范围
内容描述(Description) 内容描述,获取失败 0 个字符 描述内容长度在合理范围
页面 http://www.zjjcxy.cn/ 检测结果
检测时间 2024-12-24 01:38:25
服务器IP 124.160.116.201
返回状态码 200
网页返回HEAD信息 HTTP/1.1 200
Date: Mon, 23 Dec 2024 17:36:37 GMT
Content-Type: text/html;charset=UTF-8
Transfer-Encoding: chunked
Set-Cookie: JSESSIONID=E5A1262E396B029F6AF1846D3B78A8FB; Path=/; HttpOnly
Content-Language: zh-CN
X-Frame-Options: SAMEORIGIN
name: piaohailin
Content-Encoding: gzip

网页代码查看
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>浙江警察学院官网</title>
    <link rel="stylesheet" href="/r/cms/www/default/jcxyV2/css/header.css?2"></link>
    <link rel="stylesheet" href="/r/cms/www/default/jcxyV2/css/main.css"></link>
    <link rel="stylesheet" href="/r/cms/www/default/jcxyV2/css/footer.css?333"></link>
    <style>
      #imgDiv {
        z-index: 9999;
        }
    </style>
    <script type="text/javascript" src="/r/cms/www/default/jcxyV2/js/jquery-1.8.3.min.js"></script>
    <script type="text/javascript" src="/r/cms/www/default/jcxyV2/js/jquery.easing.min.js"></script>
    <script>
        /**
         * Author         : CheneyLiu
         * Date           : date
         * isAuto:        true, 自动播放
         * transTime:     3000, 自动播放间隔
         * animateSpeed:  1000,  动画速度
         * sliderMode:    'slide', 类型//'slide | fade',
         * pointerControl: true, 指示器开关
         * pointerEvent:  'click', 指示器类型//'hover' | 'click',
         * arrowControl:  true, 左右控制
         */
        ;(function($) {
        $.fn.Slider = function(options) {
          "use strict";
        
          var settings = $.extend({
            isAuto: true,
            transTime: 4000,
            animateSpeed: 1000,  
            sliderMode: 'fade', //'slide | fade',
            pointerControl: true,
            pointerEvent: 'click',//'hover' | 'click',
            arrowControl: false,
          }, options);
          var interval;
          var isAnimating     = false;
          var $slider         = $(this);
          var $sliderWrap     = $slider.find('.slider-inner');
          var sliderCount     = $sliderWrap.find('> .item').length;
          var sliderWidth     = $slider.width();
          var currentIndex    = 0;
        
          var sliderFun = {
            controlInit: function() {
              // pointerControl
              if (settings.pointerControl) {
                
                var html = '';
                html += '<ol class="slider-pointer">';
                for (var i = 0; i < sliderCount; i++) {
                  if (i == 0) {
                    html += '<li class="active"></li>'
                  }else{
                    html += '<li></li>'
                  }
                }
                html += '</ol>'
                $slider.append(html);
                  // 指示器居中
                var $pointer = $slider.find('.slider-pointer');
                $pointer.css({
                  left: '50%',
                  marginLeft: - $pointer.width()/2
                });
              }
              // pointerControl
              if (settings.arrowControl) {
                var html = "";
                html += '<span class="slider-control prev">&lt;</span>';
                html += '<span class="slider-control next">&gt;</span>'
                $slider.append(html);
              }
              $slider.on('click', '.slider-control.prev', function(event) {
                sliderFun.toggleSlide('prev');
              });
              $slider.on('click', '.slider-control.next', function(event) {
                sliderFun.toggleSlide('next');
              });
            },
            // slider
            sliderInit: function() {
              sliderFun.controlInit();
              // 模式选择
              if (settings.sliderMode == 'slide') {
                // slide 模式
                $sliderWrap.width(sliderWidth * sliderCount);
                $sliderWrap.children().width(sliderWidth);
              }else{
                // mode 模式
                $sliderWrap.children().css({
                  'position': 'absolute',
                  'left': 0,
                  'top': 0
                });
                $sliderWrap.children().first().siblings().hide();
              }
              // 控制事件
              if (settings.pointerEvent == 'hover') {
                $slider.find('.slider-pointer > li').mouseenter(function(event) {
                  sliderFun.sliderPlay($(this).index());
                });
              }else{
                $slider.find('.slider-pointer > li').click(function(event) {
                  if (currentIndex != $(this).index()) {
                        sliderFun.sliderPlay($(this).index())
                    }
                });
              }
              // 自动播放
              sliderFun.autoPlay();
            },
            // slidePlay
            sliderPlay: function(index) {
              sliderFun.stop();
              isAnimating = true;
              $sliderWrap.children().first().stop(true, true);
              $sliderWrap.children().stop(true, true);
              $slider.find('.slider-pointer').children()
                .eq(index).addClass('active')
                .siblings().removeClass('active');
              if (settings.sliderMode == "slide") {
                // slide
                if (index > currentIndex) {
                  $sliderWrap.animate({
                left: '-=' + Math.abs(index - currentIndex) * sliderWidth + 'px'
            }, settings.animateSpeed, function() {
                sliderFun.stop();
                isAnimating = false;
                sliderFun.autoPlay()
            });
                } else if (index < currentIndex) {
                  $sliderWrap.animate({
                    left: '+=' + Math.abs(index - currentIndex) * sliderWidth + 'px'
                  }, settings.animateSpeed, function() {
                    isAnimating = false;
                    sliderFun.autoPlay();
                  });
                } else {
                  return;
                }
              }else{
                // fade
                if ($sliderWrap.children(':visible').index() == index) return;
                $sliderWrap.children().fadeOut(settings.animateSpeed)
                  .eq(index).fadeIn(settings.animateSpeed, function() {
                    isAnimating = false;
                    sliderFun.autoPlay();
                  });
              }
              currentIndex = index;
            },
            // toggleSlide
            toggleSlide: function(arrow) {
              if (isAnimating) {
                return;
              }
              var index;
              if (arrow == 'prev') {
                index = (currentIndex == 0) ? sliderCount - 1 : currentIndex - 1;
                sliderFun.sliderPlay(index);
              }else if(arrow =='next'){
                index = (currentIndex == sliderCount - 1) ? 0 : currentIndex + 1;
                sliderFun.sliderPlay(index);
              }
            },
            // autoPlay
            autoPlay: function() {
              if (settings.isAuto) {
                interval = setInterval(function () {
                  var index = currentIndex;
                  (currentIndex == sliderCount - 1) ? index = 0: index = currentIndex + 1;
                  sliderFun.sliderPlay(index);
                }, settings.transTime);
              }else{
                return;
              }
            },
            //stop
            stop: function() {
              clearInterval(interval);
            },
          };
          sliderFun.sliderInit();
        }
        })(jQuery);
        jQuery(document).ready(function($) {
          $('#slider').Slider();
        });


        function listcontent_nav_menu(e,calssName){
          $(e).siblings().removeClass('action');
          $(e).addClass('action');
          $('.listcontent_right_box').hide()
          $('.listcontent_right_box.'+calssName).show()
        }
        </script>
</head>
<body>
    <!-- 头部 -->
<!-- 处理首页标题选中 -->


<script>
var _hmt = _hmt || [];
(function() {
  var hm = document.createElement("script");
  hm.src = "https://hm.baidu.com/hm.js?5d1ca3dc9f1851ff944b1a88e5653243";
  var s = document.getElementsByTagName("script")[0]; 
  s.parentNode.insertBefore(hm, s);
})();
</script>
<div class="header">
    <div class="public-content">
        <div class="header_left pull_left">
            <div class="header_left_horn"></div>
            <div class="header_left_box">
                <div class="header_left_logo">
                    <img src="/r/cms/www/default/jcxyV2/images/logo.png" alt="">
                </div>
            </div>
        </div>
        <div class="header_right pull_right clerfloat">
            <div class="header_right_top_box clerfloat">
                <ul class="header_right_top clerfloat">
                    <li>
                        <a href="">快速通道</a>
                        <div class="header_right_top_item_nav clerfloat">
                            <ul class="header_right_top_item_nav_box clerfloat">
                                <li><a href="https://www.zjjcxy.cn/zsxxw/" target="_blank">招生信息网</a></li>
                                <li><a href="https://tousu.www.gov.cn/dc/index.htm" target="_blank">互联网+督查</a></li>
                                <li><a href="https://www.zjjcxy.cn/ltxgzw" target="_blank">离退休工作网</a></li>
                                <li><a href="https://www.zjjcxy.cn/jxjy" target="_blank">研究生工作部</a></li>
                               <li><a href="https://www.zjjcxy.cn/jixujiaoyu/" target="_blank">继续教育</a></li>
                            </ul>
                        </div>
                    </li>
                    <li><a href="https://mail.zjjcxy.cn/" target="_blank">邮件系统</a></li>
                    <li><a href="https://webvpn.zjjcxy.cn/" target="_blank">图书馆</a></li>
                    <li><a href="https://0vpn.zjjcxy.cn/portal/#!/login" target="_blank">数字校园</a></li>

                    <!-- <li><a href=""><img class="search_icon" src="/r/cms/www/default/jcxyV2/images/search.png" alt=""></a></li> -->
                </ul>
            </div>
            <ul class="header_right_bottom clerfloat">

                <li class="nav_active clerfloat"><a href="/">网站首页</a></li>

                <li>
                    <a href="https://www.zjjcxy.cn/zhu/xyjj.html" >学院概况</a>
                    <div class="header_right_bottom_item_nav clerfloat">
                        <ul class="header_right_bottom_item_nav_box clerfloat">
                            <li><a href="/zhu/xyjj.html" >学院简介</a></li>
                            <li><a href="/zhu/xyfg/index.html" >校园风光</a></li>
                            <li><a href="/zhu/xrld/index.html" >现任领导</a></li>
                            <li><a href="/zhu/jgsz/index.html" >机构设置</a></li>
                        </ul>
                    </div>
                </li>
                <li>
                    <a href="/zhu/news/index.html" >新闻资讯</a>
                    <div class="header_right_bottom_item_nav clerfloat">
                        <ul class="header_right_bottom_item_nav_box clerfloat">
                            <li><a href="/zhu/jyyw/index.html" >浙警要闻</a></li>
                            <li><a href="/zhu/tzgg/index.html" >公示公告</a></li>
                        </ul>
                    </div>
                </li>
                <li>
                    <a href="/zhu/kyfw/index.html" >科研服务</a>
                    <div class="header_right_bottom_item_nav clerfloat">
                        <ul class="header_right_bottom_item_nav_box clerfloat">
                            <li><a href="/zhu/kydt/index.html" >科研动态</a></li>
                            <li><a href="http://www.zjjcxy.cn/xbxk/default.html"  target="_blank" >公安学刊</a></li>
                        </ul>
                    </div>
                </li>
                <li>
                    <a href="/zhu/xywh/index.html" >校园文化</a>
                    <div class="header_right_bottom_item_nav clerfloat">
                        <ul class="header_right_bottom_item_nav_box clerfloat">
                            <li><a href="/zhu/whhd/index.html" >文化活动</a></li>
                            <li><a href="/zhu/zjjcxyb/index.html" >浙江警察学院报</a></li>
                            <li><a href="/zhu/xczc/index.html" >媒体浙警</a></li>
                        </ul>
                    </div>
                </li>
                <li>
                    <a href="https://www.zjjcxy.cn/zhu/jsfc/index.html" >人才培养</a>
                    <div class="header_right_bottom_item_nav clerfloat">
                        <ul class="header_right_bottom_item_nav_box clerfloat">
                            <li><a href="https://www.zjjcxy.cn/zhu/jsfc/index.html" >教师队伍</a></li>
                            <li><a href="/zhu/zyjs/index.html" >专业建设</a></li>
                            <li><a href="/zhu/sjjx/index.html" >实践教学</a></li>
                        </ul>
                    </div>
                </li>
                <li>
                    <a href="http://www.zjjcxy.cn/zhu/hzjl/index.html"  target="_blank" >合作交流</a>
                </li>
                <li>
                    <a href="http://www.zjjcxy.cn/zsxxw/"  target="_blank" >招生就业</a>
                    <div class="header_right_bottom_item_nav clerfloat">
                        <ul class="header_right_bottom_item_nav_box clerfloat">
                            <li><a href="http://www.zjjcxy.cn/zsxxw"  target="_blank" >招生工作</a></li>
                            <li><a href="/zhu/jygz/index.html" >就业工作</a></li>
                        </ul>
                    </div>
                </li>
                <li>
                    <a href="/zhu/xxgk/index.html" >信息公开</a>
                    <div class="header_right_bottom_item_nav clerfloat">
                        <ul class="header_right_bottom_item_nav_box clerfloat">
                            <li><a href="/zhu/xxzc/index.html" >学校章程</a></li>
                            <li><a href="/zhu/xwgk/index.html" >校务公开</a></li>
                            <li><a href="/zhu/sfgk/index.html" >收费公开</a></li>
                            <li><a href="/zhu/kyjfgk/index.html" >科研经费公开</a></li>
                        </ul>
                    </div>
                </li>
            </ul>
        </div>
    </div>
</div>
<!-- 头部 -->    <!-- 头部 -->
    <!-- 首页内容 -->
    <div class="main">
        <div class="slider" id="slider">
            <div class="slider-inner">
              <div class="item">
                <img class="img" style="background-image: url('/r/cms/www/default/jcxyV2/images/swipe_4.png');">
              </div>
              <div class="item">
                <img class="img" style="background-image: url('/r/cms/www/default/jcxyV2/images/swipe_2.png');">
              </div>
              <div class="item">
                <img class="img" style="background-image: url('/r/cms/www/default/jcxyV2/images/swipe_3.png');">
              </div>
              <div class="item">
                <img class="img" style="background-image: url('/r/cms/www/default/jcxyV2/images/swipe_1_1.png');">
              </div>
              <div class="item">
                <img class="img" style="background-image: url('/r/cms/www/default/jcxyV2/images/swipe_5.png');">
              </div>
            </div>
          </div>
        <div class="listcontent">
            <div class="public-content clerfloat">
                <!-- 首页内容-导航菜单 -->
                <ul class="listcontent_nav_menu">
                    <li class="action" onClick="listcontent_nav_menu(this,'zjyw')">
                            <img src="/r/cms/www/default/jcxyV2/images/main_nav.png" alt="">
                            <p>浙警要闻</p>
                    </li>
                    <li onClick="listcontent_nav_menu(this,'mtzj')">
                            <img src="/r/cms/www/default/jcxyV2/images/main_nav.png" alt="">
                            <p>媒体浙警</p>
                    </li>
                    <li onClick="window.open('https://www.zjjcxy.cn/html/pjdt/','_blank')">
                            <img src="/r/cms/www/default/jcxyV2/images/main_nav.png" alt="">
                            <p>审核评估</p>
                    </li>
                </ul>
                <!-- 首页内容-导航菜单 -->
                <!-- 首页内容-右侧内容 -->
                <div class="listcontent_right">
                    <!-- 浙警要闻 -->
                    <div class="listcontent_right_box zjyw">
                       <!-- 首页内容-右侧内容-公共样式头部 -->
                        <div class="listcontent_right_box_top clerfloat">
                            <span class="listcontent_right_box_top_title pull_left">浙警要闻</span>
                            <span class="listcontent_right_box_top_more pull_right"><a href="/zhu/jyyw/index.html">了解更多+</a></span>
                        </div>
                        <!-- 首页内容-右侧内容-公共样式头部 -->
                        <!-- 首页内容-右侧内容-浙警要闻内容 -->
                        <div class="zjyw_main clerfloat">
                            <div class="zjyw_lfet pull_left">
                                <div class="zjyw_lfet_img_box">
                                    <img src="/u/cms/Intranet/202412/17093858kj1t.jpg-1000x1000.jpg" alt="">
                                    <div class="zjyw_lfet_img_box_date">
                                        <h1>14</h1>
                                        <p>2024/12</p>
                                    </div>
                                </div>
                                <div class="zjyw_lfet_text">
                                  <a href="/zhu/jyyw/242511.html" target="_blank">学校举办首期“边疆卫士进校园”——优秀校友事迹报告会</a>
                            </div>
                            </div>
                            <div class="zjyw_right pull_right">
                                <ul class="listcontent_right_box_bottom_list">
                                    <li>
                                        <a href="/zhu/jyyw/242509.html" target="_blank">学校获批浙江省哲学社会科学试点实验室</a>
                                        <span class="pull_right">2024-12-18</span>
                                    </li>
                                    <li>
                                        <a href="/zhu/jyyw/242510.html" target="_blank">学校举行“平安浙江”论坛暨浙江省法学会新时代“枫桥经验”研究会2024年学术年会</a>
                                        <span class="pull_right">2024-12-17</span>
                                    </li>
                                    <li>
                                        <a href="/zhu/jyyw/242511.html" target="_blank">学校举办首期“边疆卫士进校园”——优秀校友事迹报告会</a>
                                        <span class="pull_right">2024-12-14</span>
                                    </li>
                                    <li>
                                        <a href="/zhu/jyyw/242512.html" target="_blank">中国人民公安大学一行来校考察交流</a>
                                        <span class="pull_right">2024-12-14</span>
                                    </li>
                                    <li>
                                        <a href="/zhu/jyyw/242513.html" target="_blank">金诚率团赴西班牙巴塞罗那进行学术交流</a>
                                        <span class="pull_right">2024-12-13</span>
                                    </li>
                                    <li>
                                        <a href="/zhu/jyyw/242514.html" target="_blank">我校学生在2024“外研社·国才杯”“理解当代中国”全国大学生外语能力大赛国赛中获佳绩</a>
                                        <span class="pull_right">2024-12-13</span>
                                    </li>
                                    <li>
                                        <a href="/zhu/jyyw/242515.html" target="_blank">山东警察学院一行来校考察交流</a>
                                        <span class="pull_right">2024-12-12</span>
                                    </li>
                                    <li>
                                        <a href="/zhu/jyyw/242273.html" target="_blank">蒋建森赴广东警官学院考察交流</a>
                                        <span class="pull_right">2024-12-10</span>
                                    </li>
                                </ul>

                            </div>
                        </div>
                        <!-- 首页内容-右侧内容-浙警要闻内容 -->
                    </div>
                    <!-- 浙警要闻 -->
                    <!-- 媒体浙警 -->
                    <div class="listcontent_right_box mtzj">
                        <!-- 首页内容-右侧内容-公共样式头部 -->
                        <div class="listcontent_right_box_top clerfloat">
                            <span class="listcontent_right_box_top_title pull_left">媒体浙警</span>
                            <span class="listcontent_right_box_top_more pull_right"><a href="/zhu/xczc/index.html">了解更多+</a></span>
                        </div>
                        <!-- 首页内容-右侧内容-公共样式头部 -->
                        <!-- 首页内容-右侧内容-媒体浙警内容 -->
                        <ul class="listcontent_right_box_bottom_list">
                            <li>
                                <a href="/zhu/xczc/241083.html" target="_blank">浙江教育报报道我校基层党支部党建工作成效</a>
                                <span class="pull_right">2024-11-05</span>
                            </li>
                            <li>
                                <a href="/zhu/xczc/241082.html" target="_blank">浙江日报报道我校举办纪念活动缅怀革命先烈</a>
                                <span class="pull_right">2024-11-05</span>
                            </li>
                            <li>
                                <a href="/zhu/xczc/241078.html" target="_blank">人民公安报报道我校探索大思政育人格局“英模带教”引领奋进路</a>
                                <span class="pull_right">2024-11-05</span>
                            </li>
                            <li>
                                <a href="/zhu/xczc/241076.html" target="_blank">浙江法治报报道我校2024级新生开学典礼暨入校宣誓仪式</a>
                                <span class="pull_right">2024-11-05</span>
                            </li>
                            <li>
                                <a href="/zhu/xczc/241075.html" target="_blank">平安时报报道我校举办“以公安高等教育高质量发展奋力推进公安工作现代化”学术研讨会</a>
                                <span class="pull_right">2024-11-05</span>
                            </li>
                            <li>
                                <a href="/zhu/xczc/241074.html" target="_blank">共产党员杂志报道我校教师盛大力:警界防暴英雄,杏坛育人先锋</a>
                                <span class="pull_right">2024-11-05</span>
                            </li>
                            <li>
                                <a href="/zhu/xczc/240207.html" target="_blank">浙江警察学院:“英模带教”引领奋进路</a>
                                <span class="pull_right">2024-10-12</span>
                            </li>
                            <li>
                                <a href="/zhu/xczc/240205.html" target="_blank">第11个烈士纪念日!今天,他们不约而同地想起了父亲</a>
                                <span class="pull_right">2024-10-12</span>
                            </li>
                           
                        </ul>
                        <!-- 首页内容-右侧内容-媒体浙警内容 -->
                    </div>
                    <!-- 媒体浙警 -->
                    <!-- 专题聚焦 -->
                    <div class="listcontent_right_box ztjj">
                        <!-- 首页内容-右侧内容-公共样式头部 -->
                        <div class="listcontent_right_box_top clerfloat">
                            <span class="listcontent_right_box_top_title pull_left">专题聚焦</span>
                        </div>
                        <!-- 首页内容-右侧内容-公共样式头部 -->
                        <!-- 首页内容-右侧内容-媒体浙警内容 -->
                         <ul class="ztjj_main clerfloat">
                            <li><a href="https://www.xuexi.cn/" target="_blank"><img src="/r/cms/www/default/jcxyV2/images/zt_1.png" alt=""></a></li>
                            <li><a href="https://www.12371.cn/" target="_blank"><img src="/r/cms/www/default/jcxyV2/images/zt_2.png" alt=""></a></li>
                            <li><a href="https://www.zjjcxy.cn/zhu/pjdt/index.html" target="_blank"><img src="/r/cms/www/default/jcxyV2/images/zt_3.png" alt=""></a></li>
                         </ul>
                        <!-- 首页内容-右侧内容-媒体浙警内容 -->
                    </div>
                    <!-- 专题聚焦 -->
                </div>
                <!-- 首页内容-右侧内容 -->
            </div>
        </div>
    </div>
    <!-- 首页内容 -->
   
 <!-- 底部 -->
 <div class="footer">
    <div class="public-content clerfloat">
        <div class="footer_left pull_left clerfloat">
            <div class="footer_left_img pull_left">
                <img src="/r/cms/www/default/jcxyV2/images/foot-img01.png" alt="">
            </div>
            <div class="footer_left_text pull_right">
                <p>浙江·杭州市滨江区滨文路 555 号 邮编:310053</p>
                <p>浙江警察学院 Zhejiang Police College</p>
                <p>版权所有 浙江警察学院实验中心 浙ICP 备 09015638号  国际联网备案号33010802003887</p>
            </div>
        </div>
        <div class="footer_right pull_right">
            <div class="footer_right_item">
                <img src="/r/cms/www/default/jcxyV2/images/foot-img02.png" alt="">
                <p>警院公众号</p>
            </div>
            <div  class="footer_right_item">
                <img src="/r/cms/www/default/jcxyV2/images/foot-img04.png" alt="" style="width:auto">
                <p>校友档案借阅</p>
            </div>
<script type="text/javascript" src="/r/cms/www/default/jcxyV2/js/jquery-1.8.3.min.js"></script>
<script src="/r/cms/front.js" type="text/javascript"></script>

<script src="/r/cms/www/default/js/common.js" type="text/javascript"></script>
<script type="text/javascript">

</script>
           
        </div>
    </div>
</div>
<!-- 底部 -->      <div id="imgDiv" style="position:absolute;left:50px;top:60px; display:none">
        <div id="a" style="width:20px;height:20px;position:absolute;left:280px;background:salmon;text-align: center;">×</div>
        
        <div style="width:180px;height:72px;">
            <a href="https://www.zjjcxy.cn/html/pjdt/" target="_blank" ><img title="招生报名" alt="招生报名" width="300" height="200" src="//www.zjjcxy.cn/r/cms/www/default/images/shpg.png" /></a>
        </div>
    </div>
</body>
<script>
    	$(function() {
    $obj = $("#imgDiv")
	$obj1 = $("#imgDiv1")
    var $display = $obj.css('display');
   if($display !== 'none'){
     var time = window.setInterval("move()", delay);
	// var time1 = window.setInterval("move1()", delay);
    $obj.mouseover(function() {
        clearInterval(time)
    });
    $obj.mouseout(function() {
        time = window.setInterval("move()", delay)
    });
	// $obj1.mouseover(function() {
    //     clearInterval(time1)
    // });
	// $obj1.mouseout(function() {
    //     time1 = window.setInterval("move1()", delay1)
    // });
   }
  
});
var xin = true, yin = true;
var step = 1;
var delay = 10;
var $obj;
function move() {
    var left = $obj.offset().left;
    var top = $obj.offset().top;
    var L = T = 0; //左边界和顶部边界
    var R = $(window).width() - $obj.width(); // 右边界
    var B = $(window).height() - $obj.height(); //下边界
    if (left < L) {
        xin = true; // 水平向右移动
    }
    if (left > R) {
        xin = false;
    }
    if (top < T) {
        yin = true;
    }
    if (top > B) {
        yin = false;
    }
    left = left + step * (xin == true ? 1 : -1);
    top = top + step * (yin == true ? 1 : -1);
    // 给div 元素重新定位
    $obj.offset({
        top: top,
        left: left
    })
}

$(function() {
    $("#a").click(function() {
        var b = $("#a").parent();
        $(b).remove();
    })
	$("#b").click(function() {
        var b = $("#b").parent();
        $(b).remove();
    })
})
</script>
</html>

网页分析工具

为您提供网页信息检测查询,可以快速检测网页的META标签,分析标题、关键词、描述等是否符合搜索引擎收录规范 。

您的足迹: