這邊的event.preventDefault();是要避免點擊的時候直接跳過去,因為我們是要用捲的方式捲過去。 5.最後記得加上這個. [code language=”html”] <script src ...
確定! 回上一頁