开发者

IE7.js vs Whatever:hover.htc vs Son of suckerfish.js?

If I'm already using Dean Edwards's IE7.js for IE6 then do i need to use Whatever:Hover htc and javascript(which we use only for IE6 hover) for 开发者_StackOverflow社区Son of Suckerfish menu


Well according to the feature list, IE7.js adds support for the :hover pseudo-selector for all elements in IE6. This means that Whatever:Hover htc is not needed since it provides the same type of functionality.

As far is whether you'll need too keep the Suckerfish JavaScript for your CSS menus or not, I don't know. However, since all of the features needed for CSS menus to work are included with IE7.js, I don't think it would be necessary.

Your best option would be to remove those 2 scripts from your site and see what happens.

There are so many edge cases that eventually these scripts designed to pick up the slack for IE6 will miss some small area that was somehow missed. You'll need to do good QA no matter what option you go with. If you use just IE7.js, at least it will be easy to narrow down bugs to 1 JavaScript file, rather than 2-3.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜