jquery Picture scrolling horizontally (drag)

Source: Internet
Author: User

<!doctype HTML PUBLIC "-//W3C//DTD XHTML 1.0 transitional//en" "http://www.w3.org/tr/xhtml1/dtd/ Xhtml1-transitional.dtd ">
<meta http-equiv= "Content-type" content= "text/html; charset=gb2312 "/>
<title>jquery Picture scrolling horizontally (drag) </title>
<link href= "CSS tutorial/163css.css" type= "Text/css" rel= "stylesheet" >
<body>
<script type= "text/web Effects" src= "Js/163css.js" ></script>
<div id= "Idcontainer" class= "container" >
<div id= "idcontent" class= "Content" >
<table cellpadding= "0" cellspacing= "0" >
&LT;TR align= "center" >
<td><div><a href= "hihilinxuan/log/634195637644598882.html" ></a>1. Tencent Women's Beauty </div></td>
<td><div><a href= "hihilinxuan/log/634198169567772500.html" ></a>2. Tencent "World Expo Treasure" </div></td>
<td><div><a href= "hihilinxuan/log/634176761535371250.html" > </a>3. Jing Dong Products Show </div></td>
<td><div><a href= "hihilinxuan/log/634177396830602491.html" > </a>4. Taobao Mall Products </div></td>
<td><div><a href= "hihilinxuan/log/634176761967715000.html" > </a>5. ebay Slide Products </div></td>
<td><div><a href= "hihilinxuan/log/634177399939528638.html" > </a>6. Thunder Home Animation </div></td>
</tr>
</table>
</div>
<div class= "Slider_left" id= "Idsliderleft" ></div>
<div class= "Slider" id= "Idslider" >
<div class= "Bar" id= "Idbar" >
<div class= "Bar_left" ></div>
<div class= "Bar_right" ></div>
</div>
</div>
<div class= "Slider_right" id= "Idsliderright" ></div>
</div>
<script>
var SLD = new Slider ("Idslider", "Idbar", {
MaxValue: $ ("Idcontent"). ScrollWidth-$ ("idcontent"). ClientWidth,
Onmin:function () {$ ("Idsliderleft"). Style.backgroundposition = "bottom Left";},
Onmax:function () {$ ("idsliderright"). style.backgroundposition = "bottom Right";},
Onmid:function () {$ ("Idsliderleft"). Style.backgroundposition = "top Left"; $ ("Idsliderright"). Style.backgroundposition = "top Right"; },
Onmove:function () {$ ("idcontent"). ScrollLeft = This.getvalue ();}
});

Sld.setpercent (. 5);
Sld.ease = true;

$ ("Idsliderleft"). Onmouseo Tutorial ver = function () {Sld.run (false);}
$ ("Idsliderleft"). onmouseout = function () {sld.stop ();}

$ ("Idsliderright"). onmouseover = function () {Sld.run (true);}
$ ("Idsliderright"). onmouseout = function () {sld.stop ();}
</script>

</body>

SOURCE download
Http://down.111cn.net/down/code/js/jiaodiantu/2010/1019/21292.html

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.