September 15, 201114 yr Hello I'm not that knowledgeable of how JavaScript works, I generally tend to use jQuery... anyways, I'be been using a page test to analyse speed of site and one of it's suggestions is to merge js files. I used JMerge to combine the files all into one, but when I called that file in the head of my doc, the slider on my page stopped working, i.e. the javascript didn't work are there any rules when it comes to combining JS files successfully? Thanks in advance for any help oh if it helps the js files I use in site are a nivo.slider one jquery library file and a small file to help ie read HTML5 elements
September 15, 201114 yr jQuery needs to come first. Take a look at this, it's awesome - http://code.google.com/p/minify/
September 16, 201114 yr Author jQuery needs to come first. Take a look at this, it's awesome - http://code.google.com/p/minify/ arh you star! thanks, putting jQuery first made it work. Love the look of the site you mentioned, def awesome! but not sure it's worth me gzipping files as I've set up server to do that so not worth doing twice (I think?) but definitely worth knowing for the future! Thank you
September 16, 201114 yr arh you star! thanks, putting jQuery first made it work. Love the look of the site you mentioned, def awesome! but not sure it's worth me gzipping files as I've set up server to do that so not worth doing twice (I think?) but definitely worth knowing for the future! Thank you It's just an all in one package, you can pretty much score perfect with yslow after around 30 minutes setting it up. It's well worth keeping in you in your toolbox.
September 17, 201114 yr Author It's just an all in one package, you can pretty much score perfect with yslow after around 30 minutes setting it up. It's well worth keeping in you in your toolbox. Fantastic!
Create an account or sign in to comment