Forums

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

Home Forums JavaScript combining my javascript

  • This topic is empty.
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #36296
    shamai
    Member

    so i have almost finished my first website! there are few kinks that i need to work through but i can’t explain them you would have to visit my website. but its not up yet so…

    but heres something you can help me with!
    should i combined all my javascripts?
    i have a slideshow plugin and a lightbox plugin and my own little stuff for a form.
    all with links.

    #95359
    Maikel
    Member

    It would probably be best if you didn’t.

    This could get confusing.

    #95366
    jamygolden
    Member

    I combine mine. I drop all plugins in plugins.js and all my custom scripts in scripts.js.

    So in total I link to 4 scripts.
    modernizr.js
    jquery.js
    plugins.js
    scripts.js

    The less scripts link to on your page, the faster your page will load.

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