注册 登录
编程论坛 JavaScript论坛

JSP网页中制作自动滚动图片

老大爱吃鸡 发布于 2013-04-30 10:28, 1369 次点击
<div id="scroll_container">
                        <ul id="c3_ul">  
                           
                              
                              <li class="c3_li"><a href="http://store. src="http://fs. width='990px' height='479px'/></a></li>
                                                      
                           
                              
                              <li class="c3_li"><a href="http://store. src="http://fs. width='990px' height='479px'/></a></li>
                                                      
                           
                              
                               <li class="c3_li"><a href="http://oppofind5.act. onClick="javascript:_gaq.push(['_trackPageview','/home/qq-find5']);"><img src="http://fs. width='990px' height='479px'/></a></li>                                                     
                                                      
                           
                              
                              <li class="c3_li"><a href="http://www. src="http://fs. width='990px' height='479px'/></a></li>
                                                      
                                       
                                <li class="c3_li"><a href="http://store. src="http://fs. width='990px' height='479px' /></a></li>
                          </ul>
                    </div>
不会滚动,是怎么回事
2 回复
#2
youtagengjin2013-04-30 16:47
没有设置滚动这个属性 ,滚动用marquee这个属性,完整代码:<marquee><div id="scroll_container">
                        <ul id="c3_ul">  
                           
                              
                              <li class="c3_li"><a href="http://store. src="http://fs. width='990px' height='479px'/></a></li>
                                                      
                           
                              
                              <li class="c3_li"><a href="http://store. src="http://fs. width='990px' height='479px'/></a></li>
                                                      
                           
                              
                               <li class="c3_li"><a href="http://oppofind5.act. onClick="javascript:_gaq.push(['_trackPageview','/home/qq-find5']);"><img src="http://fs. width='990px' height='479px'/></a></li>                                                     
                                                      
                           
                              
                              <li class="c3_li"><a href="http://www. src="http://fs. width='990px' height='479px'/></a></li>
                                                      
                                       
                                <li class="c3_li"><a href="http://store. src="http://fs. width='990px' height='479px' /></a></li>
                          </ul>
                    </div>
</marquee>
#3
费尔巴哈2013-05-05 10:19
对啊,我也认为滚动这个属性没有
1