Question:
I need some JavaScript help!!?
sneak_chamber
2007-11-07 08:41:16 UTC
I have a MONSTOROUS amount of JavaScript referenced at the top of my webpage, basically I am using PROTOTYPE.JS, JQUERY.JS, SCRIPTACULOUS.JS AND there associated JS files...

Is there ANY way I can condense these JS files into something more compact??
Five answers:
Daniel R
2007-11-08 03:41:52 UTC
You shouldn't really need all those libraries. Much of what they do will be duplicated, especially between Prototype and JQuery. I'd recommend getting rid of JQuery and using the functionality in Prototype.



In addition, you should make sure you're using the "minimised" version of each script, which are smaller than the full debug versions. Scriptaculous allows you to only load the scripts you actually need - use
Loading...