前台要引用 <!--AutoScripts S-->PageShift2<!--AutoScripts E--> <!--AutoCSS S-->2013UI/PageShift<!--AutoCSS E--> 內文架構要有 <div id="PageShift2" class="page-index"></div> <script> $('#PageShift2').PageShift2({ PageIndex: 1, PageMAX: 10, TriggerEvent: ChangePage }); function ChangePage(PageIndex) { console.log(PageIndex); } </script>