After help from tfluehr in irc, more info found here:

http://prototype.lighthouseapp.com/projects/8886-prototype/tickets/460-dynamic-loading-of-prototype-does-not-work

On Nov 21, 11:36 am, jrochkind <[EMAIL PROTECTED]> wrote:
> So I really want to load Prototype dynamically, that is, from a js
> file.
>
> This is because I am providing a sort of javascript-widget type thing,
> that users can include on their page to have some 'embedded'
> functionality. Kind of like YouTube does, or whatever. They put a
> <script> tag on their page, and it calls my script--and my script
> calls prototype, because my special embed widget stuff wants to use
> prototype. (My script actually does check to see if Prototype is
> loaded first, before loading it).
>
> This actually worked fine in Prototype 1.3, that my code used to use.
> I dynamically added a <script> tag to the page to include Prototype,
> all was just great.
>
> But now I'm upgrading my app to use Prototype 1.6, and I'm afraid it
> doesn't work anymore. It causes Firefox to complain with some really
> weird errors about XML.  In the irc channel, tfluehr suggested this
> might be related to Prototype 1.6's use of document.write, among other
> things.
>
> But it's really annnoying to me. I can't think of any other way to
> conveniently provide the function I'm trying to provide, without being
> able to dynamically load Prototype.
>
> Has anyone figured out a way to make this work in 1.6?  Thanks for any
> advice.
>
> Jonathan
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Prototype & script.aculo.us" group.
To post to this group, send email to prototype-scriptaculous@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/prototype-scriptaculous?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to