導航欄切換按鈕事件

同事寫的一段代碼,不是很難,但感受不錯保存起來css   // 導航欄切換按鈕事件 $('ul.main-tab>li').on('mousedown', function() { var $this = $(this), $box = $('.main-tab-content'), i = $this.index(); if ($this.hasClass('on')) { return fal
相關文章
相關標籤/搜索