- This topic is empty.
Viewing 5 posts - 1 through 5 (of 5 total)
Viewing 5 posts - 1 through 5 (of 5 total)
- The forum ‘Other’ is closed to new topics and replies.
The forums ran from 2008-2020 and are now closed and viewable here as an archive.
I design my websites without being connected to the internet and to view them I just open the html document in my browser and it works fine but if I have jquery in the html document will the jquery work without internet?
If you have problems understanding just tell me I don’t really know how to word it.
A lot of people load jquery from the internet via the google hosted jquery library, but you should just as easily be able to go to the jquery site, download a copy of the jquery library, put it where ever you keep your js files and load it onto your page from there for it to work while offline.
local hosting is only needed if you’re using php or a similar dynamic page scripting language.
I use the following:
Basically looks for the JQuery library on the Microsoft CDN (you can use any CDN you want) and if it cannot get the file, it falls back to a local version