css

.gundong#demo {overflow: hidden;width: 90%;maxwidth: 640px;height: 29px;line-height: 29px;color: #fe8d00;font-size: 14px;margin-left: 34px;}

#up_zzjs {width: 100%;height: 29px;line-height: 29px;overflow: hidden;background: url(../img/righta.png)no-repeat 99%;background-size: 11px11px;}

HTML

 <!--滚动-->
 <div class="gundong">
        <div class="gundongtext">
            小津提示
        </div>
        <div ;
                                    if (Math.abs(parseInt(o.style.marginTop)) >= o.scrollHeight / 2) o.style.marginTop = 0;
                                } else {
                                    clearInterval(t);
                                    setTimeout(start, delay);
                                }
                            }
                            setTimeout(start, delay);
                        }
                        startmarquee(30, 20, 2000);
                    </script>
                </div>
            </div>
        </div>
  </div>

相关文章: