And now for the fun part - I've figured it out. Did anyone realise that you can't use TABLEs as targets for $.load, at least in IE? That was what I was trying to do - changing it to a DIV, with the table in question within that, fixed the issue...
On Apr 23, 10:08 am, MrTufty <[EMAIL PROTECTED]> wrote: > I've been doing more diagnosis... > > It seems to be just the .load() that is broken - I briefly tested it > with .get(), shifting the content loaded into the correct place with a > callback function. That worked, but the scripts I have in the file I'm > loading don't get executed, so my nice drag-and-drop system is broken > still. > > I've tried several versions of jQuery (1.1.2, 1.2, and the latest - > also tried the uncompressed versions) now to see if that makes a > difference, and I've also pulled out the interactive system from the > CakePHP framework the site is built in. Now I'm running with static > html pages, and the end result is still exactly the same. At least I > eliminated the possibility that Cake was causing the problem - it was > a long shot in any case. > > On Apr 23, 9:49 am, MrTufty <[EMAIL PROTECTED]> wrote: > > > Hi all, > > > This is a strange one and it's driving me mad. > > > I've been tasked with creating an interactive presentation for a > > website my company is developing, and I've been using jQuery > > throughout (we already use it to great effect on the rest of the > > site). We're also using the Interface plugin to give us some more nice > > animations. > > > Most of the functionality for this was fleshed out on Friday - at that > > time, it worked perfectly in IE7, but broke horribly in Firefox > > whenever you tried to drag anything. > > > Over the weekend I redeveloped it from scratch, and now it works in > > Firefox, but is broken in IE7 - except it's not when you try to drag > > something, but when I try to load the main content with: > > > $(document).ready( function() { > > > $("#from").load("step_1.html"); > > > }); > > > For some reason this doesn't work in IE7, but works in Firefox and > > Safari. In IE7, both on my work system and my home system, I get an > > unknown runtime error at line 1 and char 1. I'm guessing it's probably > > more my code that's broken than jQuery, but I can't think what I > > changed between Friday's code that worked in IE7 and today's code that > > doesn't. If it was broken in all browsers I'd be less confused... > > > Does anyone have any ideas of where I can look? > > > Here's what we have so far: > > >http://www.aesgroup.com/clients/sensient-flavors/interactive/ > > > Thanks everyone.