gpt4 book ai didi

javascript - jQuery 插件旋转不适用于 ie8

转载 作者:行者123 更新时间:2023-11-28 11:16:54 24 4
gpt4 key购买 nike

我正在使用 jquery rotate 插件将左侧的文本旋转 #left-menu 90dg。

该插件在除 IE8 之外的所有浏览器上都能正常工作。我只是不明白为什么它不加载。

这是我用 chrome 得到的结果:

enter image description here

这就是 IE8 显示的内容: enter image description here

我用它来旋转文本:

$('#left-menu').rotate(90);

IE8 似乎没有加载插件,有什么想法吗?

jQuery rotate 最高支持 IE6。插件站点 here

最佳答案

您的答案在 jQueryRotate 的文档中。

I try rotate div element and it works everywhere but not in IE. This plugin was mainly created to rotate images (img) elements ONLY. However it uses CSS attributes in modern browsers that will also work for div elements. That's why it works in other browsers but not IE. If you really need to rotate div you can take a look at experimental version of jQueryRotate 3. You can find it download section.

关于javascript - jQuery 插件旋转不适用于 ie8,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/21716008/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com