-2

I want to slide only just two images on button click like when button is clicked then assume

two images should slide at a same time

Like i have two div of images

  <div class="imageone"><img src="one.png"/></div>
  <div class="imagetwo"><img src="two.png"/></div>

they should scroll at a same time

4

1 回答 1

1
$("input[type=button]").click(function(){
 $(".imageone, .imagetwo").slideUp();
});

或者您可以使用 animate() 移动图像

于 2012-04-27T06:35:34.407 回答