javaScript图片列表间隔向上滚动特效
本例没有使用Jquery
XML/HTML Code
- <div id="scrolling">
- <div id="scrollnews">
- <div id="scrollnews_con" style="position: absolute; top: -22px; left: 0px;">
- <ul>
- <li><a href="/m1_product_case_10.html" target="_blank"><img src="images/internetke_1337330405.jpg" class="main_img3"></a></li>
- <li><a href="/m2_web_itm_22.html" target="_blank"><img src="images/internetke_1337421408.jpg" class="main_img3"></a></li>
- <li><a href="/m2_web_itm_21.html" target="_blank"><img src="images/internetke_1337434440.jpg" class="main_img3"></a></li>
- </ul>
- <ul>
- <li><a href="/m2_animo_itm_24.html" target="_blank"><img src="images/intsml1337216824.jpg" class="main_img3"></a></li>
- <li><a href="/m2_animo_itm_40.html" target="_blank"><img src="images/internetke_1337330405.jpg" class="main_img3"></a></li>
- <li><a href="/m2_web_itm_23.html" target="_blank"><img src="images/internetke_1337435644.jpg" class="main_img3"></a></li>
- </ul>
- </div>
- <div id="scrollnews_copymsgid" style="height: 240px; position: absolute; top: 218px; left: 0px;">
- <ul>
- <li><a href="/m1_product_case_10.html" target="_blank"><img src="images/internetke_1337330405.jpg" class="main_img3"></a></li>
- <li><a href="/m2_web_itm_22.html" target="_blank"><img src="images/internetke_1337421408.jpg" class="main_img3"></a></li>
- <li><a href="/m2_web_itm_21.html" target="_blank"><img src="images/internetke_1337434440.jpg" class="main_img3"></a></li>
- </ul>
- <ul>
- <li><a href="/m2_animo_itm_24.html" target="_blank"><img src="images/intsml1337216824.jpg" class="main_img3"></a></li>
- <li><a href="/m2_animo_itm_40.html" target="_blank"><img src="images/internetke_1337330405.jpg" class="main_img3"></a></li>
- <li><a href="/m2_web_itm_23.html" target="_blank"><img src="images/internetke_1337435644.jpg" class="main_img3"></a></li>
- </ul>
- </div></div>
- </div>
- <div id="scrolling_1">
- <div id="scrollnews_1">
- <div id="scrollnews_con_1" style="position: absolute; top: 0px; left: 0px;">
- <ul>
- <li><a href="/m2_web_itm_22.html" target="_blank"><img src="images/intsml1337216824.jpg" class="main_img3"></a></li>
- <li><a href="/m2_animo_itm_24.html" target="_blank"><img src="images/internetke_1337330405.jpg" class="main_img3"></a></li>
- <li><a href="/m2_web_itm_23.html" target="_blank"><img src="images/internetke_1337435644.jpg" class="main_img3"></a></li>
- </ul>
- <ul>
- <li><a href="/m2_web_itm_23.html" target="_blank"><img src="images/internetke_1337330405.jpg" class="main_img3"></a></li>
- <li><a href="/m2_web_itm_22.html" target="_blank"><img src="images/internetke_1337421408.jpg" class="main_img3"></a></li>
- <li><a href="/m1_product_case_10.html" target="_blank"><img src="images/internetke_1337434440.jpg" class="main_img3"></a></li>
- </ul>
- </div>
- <div id="scrollnews_1_copymsgid" style="height: 240px; position: absolute; top: 240px; left: 0px;">
- <ul>
- <li><a href="/m2_web_itm_22.html" target="_blank"><img src="images/intsml1337216824.jpg" class="main_img3"></a></li>
- <li><a href="/m2_animo_itm_24.html" target="_blank"><img src="images/internetke_1337330405.jpg" class="main_img3"></a></li>
- <li><a href="/m2_web_itm_23.html" target="_blank"><img src="images/internetke_1337435644.jpg" class="main_img3"></a></li>
- </ul>
- <ul>
- <li><a href="/m2_web_itm_23.html" target="_blank"><img src="images/internetke_1337330405.jpg" class="main_img3"></a></li>
- <li><a href="/m2_web_itm_22.html" target="_blank"><img src="images/internetke_1337421408.jpg" class="main_img3"></a></li>
- <li><a href="/m1_product_case_10.html" target="_blank"><img src="images/internetke_1337434440.jpg" class="main_img3"></a></li>
- </ul>
- </div></div>
原文地址:http://www.freejs.net/article_jquerytupiantexiao_691.html