a label did not jump once again points to jump

  <script type="text/javascript">
    $(document).ready(function(){
      $("#cat_nav a").click(function(){  //id为cat_nav下的a
        if(this.className == 'nav_current'){
          return true;
        }else{
          return false;
        }
      });
    });
  </script>

Please see the effect   http://www.nongcun5.cn/news/   to see  the effect after the revised website also revised

Published 96 original articles · won praise 18 · views 50000 +

Guess you like

Origin blog.csdn.net/weixin_42694072/article/details/90378604