我正在使用Jquery Rotate来旋转图像周围的图像,并且它工作得很好但是在IE7和IE8中它被推高了约200像素并且在图像周围有黑色笔划/边框.
我正在使用jQueryRotate3.js,它有效,但位置关闭,不确定黑色边框来自哪里?
JS:
var start = 0;
// Sets the Value of the City for now
var angle = 1 + Math.floor(Math.random() * 180);
$("img.pointer").rotate({
angle: start,
animateTo: angle,
easing: $.easing.easeInOutSine
})
Run Code Online (Sandbox Code Playgroud)
HTML:
<div class="city-details">
<div class="details">
<img class="pointer" src="http://demo.omnigon.com/christian_bovine/shamelesscity/images/pointer.png" alt="" />
</div>
</div>?
Run Code Online (Sandbox Code Playgroud)
你可以在这里看到代码:http://jsfiddle.net/xtian/6gcS8/1/
我真的想在IE7和IE8中使用它.