公告滚动效果
修改方法:查找 /template/wind/index.htm
<ul>
<!--
EOT;
foreach($notice_A as $value){print <<<EOT
-->
<li><a href=\"$value\">$value</a> <span class=\"f9 gray\">$value</span></li>
<!--
EOT;
}print <<<EOT
-->
</ul>
修改为:
<marquee direction=\"left\" scrolldelay=\"1\" scrollamount=\"2\" onmouseout=\"if(document.all!=null){this.start()}\" onmouseover=\"if(document.all!=null){this.stop()}\"><ul>
<!--
EOT;
foreach($notice_A as $value){print <<<EOT
-->
<li><img src=\"$imgpath/gao.gif\" /><a href=\"$value\">$value</a> <span class=\"f9 gray\">$value</span></li>
<!--
EOT;
}print <<<EOT
-->
</ul></marquee>
将图片改名为 gao.gif 放在images文件夹下(图片高度最好不要超过15PX)
页:
[1]