jQuery Mobile Framework
Find a file
scottjehl 9be9ab6612 Added 4 events regarding page show and hide:
* beforepageshow
* beforepagehide
* pageshow
* pagehide

All are triggered before and after the pageChange function runs.
The event.target will always be a "ui-page" div, triggered on either the showing or hiding page.

The second argument passed to the callback function contains either a prevPage or nextPage property, referencing a jQuery object containing the opposite page.
2010-10-04 17:46:58 -04:00
css removed unnecessary rule 2010-10-04 14:22:38 -04:00
experiments added icon data attrs, as they're now necessary 2010-10-04 15:36:55 -04:00
images I made it into a snake. 2010-10-04 14:26:57 -04:00
js Added 4 events regarding page show and hide: 2010-10-04 17:46:58 -04:00
sample-content committing all the mobiley goodness. 2010-09-10 18:23:13 -04:00
.gitignore Adding .gitignore file, copy from jquery-ui 2010-09-30 14:00:00 +02:00
.htaccess removed line to make html files run as php, now that gzip lines are removed. PHP is still used in css/js combinator 2010-10-02 11:49:04 -04:00
_containers-states.html whitespace only 2010-10-02 11:43:32 -04:00
_dialog.html whitespace only 2010-10-02 11:43:32 -04:00
_events.html whitespace only 2010-10-02 11:43:32 -04:00
_filter.html Added filtered list view example (will be turned into an extension for list views). 2010-10-04 13:58:02 -04:00
_fixed-variation1.html whitespace only 2010-10-02 11:43:32 -04:00
_fixed-variation2.html whitespace only 2010-10-02 11:43:32 -04:00
_fixed.html removed inline gzips on a few more files 2010-10-02 11:47:02 -04:00
_form-controls.html whitespace only 2010-10-02 11:43:32 -04:00
_globalnav.html a little refactor to improve support for icons, text-only, among other things. Demo page has 3 different globalnav variations now. 2010-10-04 12:50:25 -04:00
_listview.html whitespace only 2010-10-02 11:43:32 -04:00
_progressbar-static.html just a simple static progressbar, for future reference 2010-10-04 15:31:03 -04:00
_search-results.html whitespace only 2010-10-02 11:43:32 -04:00
_search.html whitespace only 2010-10-02 11:43:32 -04:00
_transitions-destination.html whitespace only 2010-10-02 11:43:32 -04:00
_transitions.html whitespace 2010-10-02 11:47:07 -04:00
combine.php Implode array before passing it to md5() - so far it 'worked' only because everyone else disabled error display 2010-09-21 22:25:01 +02:00
index.html updated link to glyphish example in experiments folder 2010-10-03 08:35:13 -04:00
README.md added link to wiki 2010-09-20 19:25:10 -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 css/all) 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.