<!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" >
<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