嗨,我有一些图像边缘呈锯齿状,因此它们自然是 gif、png 等并且具有透明度,但是我希望这些图像中的 2 个在 jquery 中旋转而一个不旋转,我有以下代码:
$('#slideshow ul:odd').css('background', 'url(../skin/frontend/default/getbranded/images/header/slideshowpic2.gif) no-repeat').rotate({angle:45});
$('#slideshow ul:even').css('background', 'url(../skin/frontend/default/getbranded/images/header/slideshowpic1.gif) no-repeat').rotate({angle:0});
我不知道为什么它在 jquery 中不起作用,我使用了 jqueryrotate 插件并且也在 css3 中尝试过,尽管在 css3 中它可以工作,它在图像周围有一个白色的锯齿状笔划,我该如何解决这个问题?
这些是背景图像。http://www.getbrand.co/magento/index.php/这是我使用的插件:http ://code.google.com/p/jqueryrotate/
格雷厄姆