已采納回答 / Kyle123
? if ('#' !== href) {//當href的鏈接不為#(空),就執行下面代碼 ?? ?????e.preventDefault();//取消事件的默認動作??????????????? $(document).scrollTop($(href).offset().top);????????????????if (tabId) {//當tabId有值的時候,執行下面代碼??????????????????? $('#feature-tab a[href=#' + tabId + ']').ta...
2016-06-13