Reputation: 4493
I am using the following libraries:
<link rel="stylesheet" href="http://code.jquery.com/mobile/1.2.0/jquery.mobile-1.2.0.min.css" />
<script src="http://code.jquery.com/jquery-1.8.2.min.js"></script>
<script src="http://code.jquery.com/mobile/1.2.0/jquery.mobile-1.2.0.min.js"></script>
If I include the above in the <HEAD>
tags the application works as expected. My question is, If I open the same web page in the browser, after downloading all three libraries and then include them in folders CSS and JS respectively and then use the following code:
<script rel="external" type="text/javascript" src="js/jquery.js"></script>
<script rel="external" type="text/javascript" src="js/jqm.js"></script>
<link rel="stylesheet" type="text/css" href="css/jqm.css"/>
The program doesn't work. I have tried including them in the last line of the body tag but it's still not working.
Upvotes: 1
Views: 829
Reputation: 6293
Yes, you can store your libraries on your device and it also will work without internet access.
I once prepared an example, see here how to do it...
Your example does not work, because you did not download the iconsets. You have to store them in the subdirectory /images
. Also you have to use the the jQuery Mobile CSS structure file...
Upvotes: 2