PageSourceSearch

https://hunan.gov.cn/hnszf/xhtml/js/hdjl_common.js

js hunan.gov.cn collected 2026-10-02 02:40:02 UTC 1,086 bytes, 32 lines download raw bytes

1(function(){
2  // 导航
3  var nav = $('.nav');
4  var content = $('.tab-con .content', nav);
5  $('.position', nav).on('mouseenter', 'span', function(){
6    var _this = $(this);
7    var i = _this.index();
8    _this.addClass('active').siblings().removeClass('active');
9    content.eq(i).show().siblings().hide();
10  });
11  $('.position', nav).on('mouseleave', function(){
12    $(this).find('span').removeClass('active');
13    content.hide();
14  });
15  var winWidth = $(window).width();
16  if( winWidth <= 768){
17    $('.nav .currentPos').on('click', '.ico, span', function(){
18      $(this).parents('.position').find('.sort').css('display','flex')
19    });
20    $('.nav .currentPos i').on('click', function(){
21      $('.nav .sort,.nav .tab-con .content').hide();
22    })
23  }
24  $('.city dd a').on('mouseenter', function(){
25    var _this = $(this);
26    var i = _this.index();
27    _this.addClass('current').siblings().removeClass('current');
28    _this.parents('.city').next().find('dl').eq(i).show().siblings().hide();
29  })
30$('.city dd a').eq(0).addClass('current');
31$('.district dl').eq(0).show();
32})()

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.