Controllable picture scrolling

Source: Internet
Author: User
Tip: You can modify some of the code before running

<! DOCTYPE HTML PUBLIC "-//W3C//DTD XHTML 1.0 transitional//en" "Http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd "> <ptml xmlns=" http://www.w3.org/1999/xhtml "> <pead> <meta http-equiv=" Content-type "content=" text/html; Charset=utf-8 "/> <title> rolling show </title> <link href=" Http://www.showwho.com/images/test/hupogundong /home.css "Type=text/css rel=stylesheet> <link href=" Http://www.showwho.com/images/test/hupogundong/menu.css "Type=text/css rel=stylesheet> <script src=" Http://www.showwho.com/images/test/hupogundong/tab.js "Type=text" /javascript></script> <script src= "Http://www.showwho.com/images/test/hupogundong/dhtmllib.js" type= text/javascript></script> <script src= "Http://www.showwho.com/images/test/hupogundong/hscroller.js" type=text/javascript></script> </pead> <body> <div class=box2_1> <div class=dig> <UL> <li Class=select_btn_dig id=digtab_1> recently top video &LT;/LI&GT <li Class=unselect_btn_dig id=digtab_2> The top video </LI></UL></DIV></DIV> <div class= Box2content1 id=digtabcontent1 align=center> <div id=hitprodholder ></DIV> <div id=hitprodL>& lt;/div> <div id=hitprodr></div> <div id=htempholder></div> </DIV> <SCRIPT Langua Ge=javascript type=text/javascript> <!--move the picture area size, the parameters are x coordinates, y coordinates, width, height, border, elongate, picture segment number--> var hitprod//<!--to be moved Moving Pictures--> settimeout (function () {Hitprod = new Hscroller (0, 0, 730,, 0, 0, 1, ' Htempholder ', ' hscroll '); Hitprod.setspeed (5000); Hitprod.setpause (2000); Hitprod.setdirection ("left"); Hitprod.additem ("<div class= ' video home_videospace_c ' ><div class= ' video_widthdig ' ><span>[funny] New the winning guess </span></div><dl><dt class= ' title_center ' >[funny] cow people crooked biography ... </dt><dd > Top count: <font >1462</font></dd></dl></div><div class= ' video Home_videospace_c ' ><div class= ' video_widthdig ' ><span>[funny] The bulls are passing the jackpot guess &LT;/SPAN&GT;&LT;/DIV&GT;&LT;DL ><dt class= ' Title_center ' >[funny] cow people crooked biography ... </dt><dd > top times: <font >1462</font></dd ></dl></div><div class= ' video home_videospace_c ' ><div class= ' Video_widthdig ' ><span >[Funny] Cow people pass the jackpot guess </span></div><dl><dt class= ' title_center ' >[funny] cow people crooked biography ...</dt>< DD > Top times: <font >1462</font></dd></dl></div><div class= ' video Home_videospace_ C ' ><div class= ' video_widthdig ' ><span>[funny] cow's crooked biography of the winning Guess </span></div><dl><dt class = ' Title_center ' >[funny] cow's crooked biography ... </dt><dd > Top count: <font >1462</font></dd></dl> </div><div class= ' video home_videospace_c ' ><div class= ' video_widthdig ' ><span>[funny] New the winning guess </span></div><dl><dt class= ' title_center ' >[funny] cow people crooked biography ... </dt><dd > TopNumber: <font >1462</font></dd></dl></div> "); Runhitprod ()},1000) function Runhitprod () {var layer1, layer2, Layer3; var x, y; Layer1 = Getlayer ("Hitprodholder"); Layer2 = Getlayer ("Hitprodl"); Layer3 = Getlayer ("Hitprodr"); x = Getpageleft (layer1); y = getpagetop (layer1); if (!hitprod.created) hitprod.create (); Hitprod.hide (); Hidelayer (LAYER2); Hidelayer (LAYER3); Hitprod.moveto (x, y); Movelayerto (Layer2, x+2, y+52); Movelayerto (Layer3, x+451, y+52); Hitprod.setzindex (0); Hitprod.show (); Showlayer (LAYER2); Showlayer (LAYER3); } </SCRIPT> <script language=javascript type=text/javascript>;</script> </body> </ptml >
Tip: You can modify some of the code before running

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.