English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

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??

2007-11-07 03:41:16 · 5 answers · asked by sneak_chamber 2 in Computers & Internet Programming & Design

5 answers

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