为什么没效果
var loopPlayerInit(function(){
var $btnleft=null;
var $btnright=null;
var $btnplay=null;
var $imglist=null;
function init(){
var $btnleft=$(".btnleft");
var $btnright=$(".btnright");
var $btnplay=$(".btnplay");
var $imglist=$(".mainbox ul li");
configer();
}
function configer(){
$imglist.each(function(){
var $this=$(this);
$this.transform({rotate:"15deg"});
})
}
return init;
})();
loopPlayerInit();
为啥不旋转呢
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link href="css/lunbo.css" rel="stylesheet" />
<title></title>
</head>
<body>
<div class="mainbox">
<ul>
<li><img src="images/1.jpeg" /></li>
<li><img src="images/2.jpeg" /></li>
<li><img src="images/3.jpeg" /></li>
<li><img src="images/4.jpeg" /></li>
</ul>
<div class="btnbox">
<a class=" btnleft"><</a>
<a class="btnright">></a>
<a class="btnplay">play</a>
</div>
<h2>多图旋转轮播效果</h2>
</div>
<script src="js/jquery-1.10.2.js"></script>
<script src="js/jquery.transform.js"></script>
<script src="js/imagescroll.js"></script>
</body>
</html>