The easiest way to make a Web page carousel is to hope that Moe can use

Source: Internet
Author: User
<body onload= "Imgmove ()" ><div id= "Div1" ></div></body><script type= "Text/javascript" >var arr=new Array (); arr[0]= " Download Image/18370029_980x1200_0.jpg "; arr[1]=" Download image/63d0f703918fa0ec7e56fedf2c9759ee3c6ddb4b.jpg "arr[2]=" Download image/ 9a504fc2d56285352b9a48ca9aef76c6a6ef63e7.jpg "; arr[3]=" Download picture/a0a3k908338577213596.jpg "; var i=0;//the function functions of the carousel movement Imgmove () {var Imgs=document.getelementbyid ("Picture"), Imgs.src=arr[i];i++;if (i==4) {i=0;} SetTimeout ("Imgmove ()", 2000);} </script>

  

The easiest way to make a Web page carousel is to hope that Moe can use

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.