Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums JavaScript merging javascript in one

  • This topic is empty.
Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #43818
    devil3682116
    Participant

    i wonder if anyone can give me the example where multiple .js files are merged in one .js file so that the source code dont look bulky and page load fast….i have used ddsmoothmenu.js, cufon.js, slides.min.jquery.js, jquery.jcarousel.min.js

    #130384
    devil3682116
    Participant

    @JamesMD; Thnks!

    #130385
    Anonymous
    Inactive

    Yep, you can just copy and paste all of the scripts into one file. I usually do this by leaving a line space in between each script, so I can see where each one starts and ends. This way, you can make sure everything’s working well before you minimize the whole thing into one big chuck. Good luck!

    #130438
    TheDoc
    Member

    Once they are all in one file, don’t forget to compress! I use this: http://refresh-sf.com/yui/

    #130485
    devil3682116
    Participant

    thank you all for your suggestion!

Viewing 5 posts - 1 through 5 (of 5 total)
  • The forum ‘JavaScript’ is closed to new topics and replies.