Grow your CSS skills. Land your dream job.

Load External web jquery as local stored in file.

  • # March 15, 2013 at 11:09 am

    Without the jquery bellow, My image slideshow wont work. I want to load this same jquery but locally on my computer instead of it loading from the web. How do i make that happen?

    http://code.jquery.com/jquery-latest.js

    # March 15, 2013 at 11:20 am

    ummmm, you just want to locally load jquery? Well, save jquery into a file within your folder hierarchy and call it like any other resource.

    <script src="jquery.js"></script>

    You can get fancy with it and load it from Google’s CDN and if it isnt present then load it locally.

    <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js"></script>
    <script>window.jQuery || document.write("<script src='js/jquery-1.9.1.js'>x3C/script>")</script>
Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.

*May or may not contain any actual "CSS" or "Tricks".