jQuery Div 旋转?
是否可以旋转 div(静态)?我在 Google 上搜索并找到“jqueryrotate”,但这在 IE 8 和 IE 7 中不起作用。
有人知道解决方案吗?
Is it possible to rotate a div (static)? I have search on Google and found "jqueryrotate" but this will not working in IE 8 and IE 7.
Does somebody know a solution?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
您可以安全地对所有符合标准的浏览器使用 css3 旋转,并使用 IE 过滤器。
一个方便的网站可以帮助您解决此问题:css3please
You can safely use css3 rotates for all standard-conform browsers and use filters for IE.
a handy website to help you with this: css3please
在 jqueryrotate.js 文件中替换:
第 ~132 行
this._img.parentNode.removeChild(this._img);
//替换这个...jQuery(this._img).parent().find(this._img).remove();
// 与此In you jqueryrotate.js file replace this:
line ~132
this._img.parentNode.removeChild(this._img);
//replace this...jQuery(this._img).parent().find(this._img).remove();
// with this