Skip to content
View in the app

A better way to browse. Learn more.

Web Designer Forum

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Combining Javascript Files

Featured Replies

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

  • 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 :)

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.

  • 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

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.