Dreamweaver滚动文章列表代码
打开Dreamweaver切换到代码的状态,在需要制作滚动文章列表的地方插入下面的代码就能实现: <!--滚动文章列表代码开始--> <MARQUEE scrollAmount=1 scrollDelay=1 onmouseover=stop() onmouseout=start() direction=up height=120> <div align="center"><a href=http://www.taobao.com/go/chn/tbk_channel/onsale.php?pid=mm_12644260_0_0&eventid=101586>淘宝网特卖频道——每日低价抢购中!</a> </div> <div align="center"><a href=http://8./index.htm?cat_id=16&pid=mm_12644260_0_0>淘宝网淘吧——专业购物经验分享社区!</a> </div> <div align="center"><a href=http://www.tmall.com/go/chn/tbk_channel/tmall_new.php?pid=mm_12644260_1713446_9181805&eventid=101334>淘宝商城——正品商品购买保障!</a> </div> </MARQUEE> <!--滚动文章代码结束-->
“marquee”命令里各参数详细解释见:http://www./dreamweaver/jian110414.html 其中<div align="center">和</div>是使用文本居中才出现的,如果你不需要居中,可以把这对命令删除。
|