jQuery Mobile Framework
Find a file
scottjehl 5ad3d04084 several changes that allow for changing pages without hash changes:
- allowed prevention of hash listening during a particular hash change
- allowed $.activePage to remain set on previous page when an untracked page is open (return pageshow event false to use this feature)
- moved setting and resetting to base urls and made sure they update at the right moment for both new pages and those previously visited.
- changePage now accepts an array as first argument, allowing you to specify both [from,to] pages, whereas non-array types would refer to the "to" page, assuming "from" should be the currently viewed page
- error requests never generate a hash change now
- edited the ajax error to appear in the right location when scrolled

Essentially, plugins can now create page changes that are not tracked in history, which is a dialog critical bug.
2010-10-21 16:28:17 -04:00
build Add the ability to compress the CSS files. Now include both the Google Closure Compiler and the YUI Compressor (for CSS). 2010-10-14 18:02:56 -04:00
design All new icons and AI file for safe keeping. Goodnight icons. 2010-10-15 21:15:48 -04:00
docs updated to use new changePage function, which no longer has a "from" arg 2010-10-21 13:12:25 -04:00
experiments moved appends over to use $.pageContainer 2010-10-20 12:09:03 -04:00
js several changes that allow for changing pages without hash changes: 2010-10-21 16:28:17 -04:00
speed Created a themes directory and moved all CSS and images there. 2010-10-13 13:26:23 -04:00
themes Fix some css issue 2010-10-21 21:23:54 +08:00
.gitignore Updating .gitignore to allow more files. 2010-10-08 18:17:15 -04:00
.htaccess Created a themes directory and moved all CSS and images there. 2010-10-13 13:26:23 -04:00
combine.php Created a themes directory and moved all CSS and images there. 2010-10-13 13:26:23 -04:00
index.html added events documentation. 2010-10-20 16:25:11 -04:00
Makefile Adjust sub-directory URLs before deploying the demos. 2010-10-15 18:00:49 -04:00
README.md Created a themes directory and moved all CSS and images there. 2010-10-13 13:26:23 -04:00
version.txt Tagging the 1.0a1 release. 2010-10-16 07:41:16 -04:00

Early stage development for the jQuery Mobile UI Framework. Code is subject to change dramatically!

Usage

Early documentation: https://github.com/jquery/jquery-mobile/wiki/_pages

For now, I've set things up with a little combinator script to concat all the css and js files into one request and gzip. (js/all and themes/default) You'll need to point your local apache & php webserver at this root directory in order to preview things.

If you don't currently have a webserver running locally, a quick way to get up and running is to download and install Mamp for Mac OSX. Once installed, just open Mamp, click preferences, go to the Apache tab, and select your local jQuery Mobile folder as the root. Then you can open a browser to http://localhost:8888 to preview the code. An alternative is XAMPP, which is also available for Windows, though you need to actually modify Apache's httpd.conf to point to your checkout: http://www.apachefriends.org/en/xampp.html You need the Rewrite (mod_rewrite.so), Expire (mod_expires.so) and Header (mod_headers.so) modules loaded.

Whenever this configuration becomes inconvenient, we can remove it, obviously it's not meant to stay!

  • when adding a js or css file, add it to the manifest in its directory and it'll be included in the request
  • As far as JS files go, jQuery.mobile.js is the starting point.