Closed (fixed)
Project:
Nice Menus
Version:
6.x-2.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
12 Jun 2008 at 16:23 UTC
Updated:
31 Jul 2008 at 04:46 UTC
Jump to comment: Most recent file
Comments
Comment #1
PawelPohl commentedI just ran into this problem. Seems kinda serious, actually crashes IE7 on my machine. Can be solved by changing this line in nice_menus.module
into
IE7 seems to be handling the pure-CSS version correctly, at least on my site.
Comment #2
add1sun commentedI know *how* to remove the JS, but the CSS-only does *not* work correctly in IE7, hence this issue. Please read the linked issue above. CSS-only in IE7 leads to ghosting of nested children so that bug must be fixed before I can officially remove the JS support for IE7.
Comment #3
add1sun commentedThe duplicate JS issue (#235562: jQuery gets reloaded by drupal_add_js) currently is just filtering the JS for IE only using conditional compilation. Once the IE7 CSS issue (#136702: Disappearing links in IE 7.0) is resolved (and I think I have it if people can test it) then we will need to filter the JS on IE6 only. Here are two methods for doing that. I'm not a JS expert so if anyone wants to weigh in on the better method, please do:
if (!window.XMLHttpRequest)(the XMLHttpRequest was added in IE7 so IE6 doesn't have it)
if ($.browser.msie && parseInt(jQuery.browser.version) == 6)Comment #4
add1sun commentedheh, or we can combine them ;) Here is a really restrictive example:
if ( document.all && !window.opera && !window.XMLHttpRequest && $.browser.msie ) var isIE6 = true;Comment #5
add1sun commentedAttaching a patch that does this. It has to wait for the IE 7 CSS to go in first though.
Comment #6
add1sun commentedAdded to all dev versions so we can get testing.
Comment #7
Anonymous (not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.