The author has 3 posts.
Font size: Small - 100% (Default)  Content converter: No conversion
 
Clicks Replies
690 2
使用jquery ui autocomplete组件库后,https模式下IE6报安全警告的解决办法
巨大八爪鱼
武林盟主 二十一级
Reply
Floor 1 Posted at: 3/29/25 16:10

在任意位置添加下列CSS样式:

<style>
.ui-menu .ui-menu-item {
 list-style-image: none !important;
}
.ui-progressbar-overlay {
 background: none !important;
}
</style>

添加后,安全警告就没有了。

巨大八爪鱼
武林盟主 二十一级
Reply
Floor 2 Posted at: 3/29/25 17:00
.ui-state-focus默认有个margin: -1px;的样式,可以用margin: 0px !important;语句覆盖掉。
巨大八爪鱼
武林盟主 二十一级
Reply
Floor 3 Posted at: 3/29/25 19:20
检查了下,用的jquery ui版本是2015年2月份的v1.11.3,这个版本已经放弃了对ie6的支持,最低支持的是ie7。所以才需要这个修改。
Reply the post
Content:
User: You are currently anonymous.
Captcha:
Unclear? Try another one.
(Shortcut key: Ctrl+Enter)
Post Information
Clicks: 690 Replies: 2
Author: 巨大八爪鱼
Last reply: 巨大八爪鱼
Last reply time: 3/29/25 19:20
Announcements