I'm experiencing the same problem another ticket describes (#700962: Modal Frame API with Automodal does not seem to work on IE), but I'm NOT using Automodal, I'm just using Modal Frame API, and its examples aren't working in IE 6.

I'm using standard version of jQuery that ships with Drupal (and thus using jQuery UI 1.6 for the jQuery_ui module, though I tried other combinations of jquery_update and newer versions of jquery_ui which also didn't work). Works fine in Firefox 3.6, but modal links open as normal links in IE 6. The initial "loading" modal frame appears, but within a couple of seconds the link opens in a new page.

I get the following JS error: "Object doesn't support this property or method", with line numbers that don't make much sense given the files at hand (line 606, char 7). I tried the examples that come with Modal Frame API, as well as the Block links for the Modal Frame Contrib module.

The solution to the above-mentioned ticket was: for some of the JavaScript arrays, there were trailing commas for final elements in an array (which are fine in PHP, but not in JS for Internet Explorer), which, once removed, solved the problem. I don't see this situation in the current code.

Any/all help greatly appreciated!

Comments

markus_petrux’s picture

Status: Active » Postponed (maintainer needs more info)

Works for me. I'm guessing the problem is related to versions of jQuery and jQuery UI. Try with jQuery 1.3.x and jQuery UI 1.7.x

semperos’s picture

Just tried jQuery 1.3.x (via jquery_update.module 6.x-2.x-dev) and jQuery UI 1.7.x (jquery_ui.module with jquery-ui-1.7 downloaded from link in jquery_ui's README file).

Works in Firefox and IE>=7, not in IE 6.

I have Drupal 6.16 running locally on XAMPP version 1.7.3, tried on Windows XP and Windows 7, same results.

I really want to use this module :) but have specific audience limitations in terms of browser support. If you have any ideas about what I might be missing, I'd greatly appreciate it.

Dublin Drupaller’s picture

Status: Postponed (maintainer needs more info) » Active

I notice there's a few issue threads on this topic...such as this one (which suggests removing a trailing comma in the automodal.js file) so apologies in advance.

I'm using jQuery 1.3.x and jQuery UI 1.7.x and the modal frame examples work fine in firefox/chrome but not in IE8.

has anyone found a work around here?

Dublin Drupaller’s picture

Title: IE 6 - Modal links open in new page, not as modal frame/overlay » Modal links open in new page, not as modal frame/overlay when using IE

Not sure if this is of use or not, but, I ran the IE debugger (I'm using IE 8 jquery 1.3 and jqueryui 1.7) and this is what it returned when trying to launch a modal frame window:

Error message: Object doesn't support this property or method

the IE debugger also pointed at this code in the parent.js file.

$window.bind(self.eventHandlerName('scroll'), function() {
        window.scrollTo(xPos, yPos);
        // Default browser action cannot be prevented here.
      });

anyone familiar enough with jquery to suggest a workaround?

dub

Dublin Drupaller’s picture

Status: Active » Closed (duplicate)

oops. Just discovered a fix for my previous post here: http://drupal.org/node/673710

the fix posted on that other thread solved the problem for me.

Marking this as a duplicate.