I have been trying to use the new scriptaculous widget in a  
TurboGears application for work, and discovered a weird problem.  In  
order for scriptaculous and mochikit to work together in all  
browsers, I discovered the following things:

   1. You must include scriptaculous before you include MochiKit.

   2. In firefox, you must include all of the additional scriptaculous
      javascript files (effects.js, etc.) explicitly.  In IE, its able
      to find these on its own, but not in firefox.

Unfortunately, this pretty much negates the usefulness of the widget  
automatically including itself into the page, as I have to be able to  
control the order of the imports, and import a bunch of additional  
files for this to actually work.

How can we make this easier?  Can this be handled intelligently by  
the widget, so I can turn the "tg.mochikit_all = True" configuration  
on, and pass the scriptaculous widget in wherever I need it, and just  
have things work.

--
Jonathan LaCour
http://cleverdevil.org


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"TurboGears" 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/turbogears
-~----------~----~----~----~------~----~------~--~---

Reply via email to