Hey Jake, Google's jsapi loader isn't known to make IE freak out. As you can imagine, Google has tested it on IE and quite a few sites and gadgets use it successfully on IE.
If I had a site or gadget where it appeared that jsapi was causing problems in IE, I would strongly suspect that the actual cause was something else I was doing wrong somewhere in my code which I probably ought to fix. This would be much more likely than a bug in jsapi - which is probably better tested than my code. :-) OTOH, there's nothing wrong with using the direct ajax.googleapis.com script tags as you're doing now. So if that fixed it, maybe good enough. Perhaps the problem was in the way you were using the jsapi loader. One other thing I noticed while reading the code is the way you're loading several jQuery plugins in the Babynews.loadPlugins() function which is called at onload time. Maybe you're getting lucky and these particular plugins work OK that way, but it isn't how jQuery plugins expect to be loaded. They are normally loaded directly from <script> tags. I would fix this - simply move the content of the loadPlugins() function to the top of gadget.js (and then of course remove the now-empty function and the call to it). Even if it's not causing any problem now, you could avoid some head-scratching when you later add some other plugin that doesn't work when loaded in this unconventional way. -Mike On Fri, May 7, 2010 at 10:53 PM, JakeP <[email protected]> wrote: > > Thanks for the help too Rob. > > > I did know that I was loading jQuery twice. I just forgot to remove > one of them in my "trial and error" debugging. > > I found out that the culprit was the JSAPI code from google. Somehow > it was making IE freak out. Not sure how I can add it back in a safe > way. I tried using a key too - no change. > > Thanks for the viglink tip. > > -jake > > -- > You received this message because you are subscribed to the Google Groups > "iGoogle Developer Forum" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]<google-gadgets-api%[email protected]> > . > For more options, visit this group at > http://groups.google.com/group/Google-Gadgets-API?hl=en. > > -- You received this message because you are subscribed to the Google Groups "iGoogle Developer Forum" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/Google-Gadgets-API?hl=en.
