Re: [Proto-Scripty] Conflict when Prototype is included twice

2010-07-08 Thread Walter Lee Davis
Well, can you test for the existence of Prototype.Version (look in scriptaculous.js for the exact syntax) and then error out or skip loading? Walter On Jul 8, 2010, at 5:02 PM, JoJo wrote: PROBLEM In IE7, many of Prototype's functions stop working when Prototype.js is included twice. What

[Proto-Scripty] Conflict when Prototype is included twice

2010-07-08 Thread JoJo
PROBLEM In IE7, many of Prototype's functions stop working when Prototype.js is included twice. What is the best practice for shielding against multiple loads of Prototype? BACKGROUND I'm creating a widget script people can embed on their websites. My script uses Prototype. There's a possibility