PDA

View Full Version : Accordion Content script can't be minified



greenday2k
07-29-2009, 06:12 PM
1) Script Title:
Accordion Content script (v1.7)
Featured Content Slider v2.4


2) Script URL (on DD):
http://www.dynamicdrive.com/dynamicindex17/ddaccordion.htm
http://www.dynamicdrive.com/dynamicindex17/featuredcontentslider.htm

3) Describe problem:
The code of script files can't be minified by YMIN (Yahoo minifier).
To covert all the code to simple line, useful to reduce file size.
It says it has a problem with syntax and Invalid Names. Maybe missing smicolons?

Thanks.

ddadmin
07-30-2009, 04:20 AM
Yep, most minifiers require that the code contains semi colons in order to work. If you're familiar with JavaScript, you can try adding them into the script you wish to minify.

greenday2k
07-30-2009, 04:37 AM
Thanks, i'm not a JS expert ;D but i'll do my best trying to no break the code.
If i success i'll post the code here.