Posted : 十二 - 30 - 2009 @ : 7:59 上午 | Filled under: Zencart建站
找到 includes/templates/(your template)/sideboxes/tpl_news_scroll_box.php (PS:若该目录下没有该文件)则在includes/templates/template_default/sideboxes/tpl_news_scroll_box.php)
搜索
while (!$news_box_query->EOF) {
并在其上三行左右($content =”;的下面)添加一句
$content .= ‘<marquee direction= “up” width=150 scrolldelay=0 scrollamount=5 behavior=sroll onmouseover=”this.stop();” onmouseout=”this.start()”>’;
然后再其下十行左右找到
$content .= ‘<hr>’;
将其替换为:
$content .= ‘</marquee><hr>’;



No Responses to “ZenCart-News模块滚动设置”