笔记代码_随笔集

笔记代码

2022-04-25 17:09:36  浏览:953  作者:保利尼奥
## 高亮<script type="text/javascript"> $(".nav li a").each(function() { $this = $(this); if ($this...
  ## 高亮
<script type="text/javascript">
        $(".nav li a").each(function() {
        $this = $(this);
        if ($this[0].href == String(window.location)) {
        $this.parent().addClass("active");
            }
        });
</script>
  
### 返回上一级
<a href="javascript:history.go(-1);">返回上级</a>


评论区

共 0 条评论
  • 这篇文章还没有收到评论,赶紧来抢沙发吧~

【随机内容】

返回顶部