Skip to content
jQuery Mobile Boilerplate is meant to be a one stop shop for creating a new jQuery Mobile project.
Pull request Compare This branch is 8 commits behind commadelimited:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
assets
css
images
js
snippets
themes
.gitignore
apple-touch-icon-114x114-precomposed.png
apple-touch-icon-57x57-precomposed.png
apple-touch-icon-72x72-precomposed.png
apple-touch-icon-precomposed.png
apple-touch-icon.png
favicon.ico
humans.txt
index.html
readme.md
robots.txt

readme.md

Welcome to jQuery Mobile Boilerplate

"What do I need in a new jQuery Mobile project?". This project is meant to be a single place for developers to get started using jQuery Mobile. It includes icon files, robots.txt (and human).txt files, as well as an extensive snippets library that developers can use as reference.

Note: The jQuery team has offered two options for CSS file inclusion. If you're planning on using a custom theme then you only need to include jquery.mobile.structure-1.1.0.min.css.

Quick start

Clone the git repo - git clone git@github.com:commadelimited/jQuery-Mobile-Boilerplate.git - or download it

Note: By default, the links to the CSS and JS files are root relative.

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

Boilerplate expects to be placed in the root of your website. If this is not the configuration you're using then you'll need to update these links manually.

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

Example

View a simple demo

Features

  • jQuery Mobile 1.1 Final Compatible!
  • Project ready. Download (or clone) and go!
  • The latest jQuery Mobile JS & CSS bits from CDN, with a local option.
  • The latest jQuery bits from CDN, with a local option.
  • Override files for both JS and CSS
  • Extensive UI element snippet library. Easy to copy and paste.
  • Includes Scott Jehl's fix for the iOS orientation bug

Contributing

You are invited to contribute code and suggestions to this project. The more the merrier.

Project Info

License

3rd party libraries:

  • jQuery: MIT/GPL license
  • jQuery Mobile: MIT/GPL license

Custom bits:

Public domain

Something went wrong with that request. Please try again.