$(document).ready(function () { // 文字滚动 $("#marquee").marquee({yScroll: "bottom"}); $('#demo4').scrollbox({ direction: 'h', switchItems: 5, distance: 710 }); });