(1)跑马灯来回滑动:
<marquee behavior="alternate" direction="right">设定活动字幕的背景颜色</marquee>
(2)通过js方法调用去触发使其左右滑动一次:
注意:<span style="position:relative" id="shuye">输液台1:xx</span>
$("#shuye").animate({ left: "80%" }, 1200);
$("#shuye").animate({ left: "0%" }, 1200);