After several hours of working with the Joomla Scriptdowns Plugin for Joomla 3.x I have decided that this is an AWESOME plugin once you get use to it.
It does several things:
- It removes your <!-- Comment Tags --> that developers and installed components add to your site. Especially the K2 plugin.
- It completely shrinks your code if you want it too. Basically removes all the white space. I do not recommend using that feature until you know you are done with your site. More the most part you can turn these features on and off and it puts everything back how it was.
- The final feature that I like is the Exclusives List under the advanced tab. This basically allows you to move all scripts to the bottom, exclude or inclusive. This is great for trouble shooting.
Here is my scenario which may help you.
I did not use the advance tab and just basically told the plugin to move all scripts down to the bottom of the page. This worked perfectly. But, then I noticed when i moused over my top menu, the drop down menu did NOT align with the Parent link. Basically when I moused over link 2, the drop-down showed up underneath link 3.
When I turned the plugin off, it started working again. So, I knew it was one of the scripts being moved that was the problem.
So, headed on over to the advanced tab, switched the Exclusive List tab to NO and started adding each script to this list.
For my page; in the box I added:
(I basically added each word that was before the .js part of the script)
HOWEVER, when I added the (jquery) that is when it broke menu. So, all scripts but that one and the associated menu scripts have been moved. You will have to play around with it if the plugin breaks your site and try to figure out which one it is. It really is worth the time because it makes your site load SO MUCH FASTER.
Well I surely hoped this helped someone and let me know if you have any questions.