0

この男が彼のウェブサイトで使用している効果を行う方法を学びたいと思っています。

画像を左から右に、またはその逆に移動したい。

どうすればいいですか?

http://www.adhamdannaway.com/about

4

3 に答える 3

0

100% アニメーション コード (このコードは、クラス アニメーションを持つすべての画像または div を個別にアニメーション化するために機能します)

<script language="javascript" type="text/javascript">
$(document).ready(function(){

$(".animation").mouseover(function(){
   $(this).animate({
                      height:'200px',
                      width:'200px',
                      left : '-11px'
                    })
                            });

$(".animation").mouseout(function(){
   $(this).animate({
                      height:'178px',
                      width:'178px',
                      left : '0px'
                    })
                            });

});
</script>
于 2014-02-02T13:30:19.493 に答える