The bug seems to be caused by the fact that code inside show() is triggering a scrollstart event while still in the midst of handling the scrollstop event. This threw off the setting of showAfterScroll causing the currentstate to be stuck at "inline", so no hide/show code is ever triggered after that. - Modified the scrollstart and sccrollstop callbacks to set showAfterScroll prior to calling show()/hide(). - movied the hide() call in scrollstart handler underneath the check for 'overlay'. |
||
|---|---|---|
| css | ||
| experiments | ||
| images | ||
| js | ||
| sample-content | ||
| .htaccess | ||
| _containers-states.html | ||
| _dialog.html | ||
| _events.html | ||
| _fixed-variation1.html | ||
| _fixed-variation2.html | ||
| _fixed.html | ||
| _form-controls.html | ||
| _globalnav-glyphish.html | ||
| _globalnav.html | ||
| _listview.html | ||
| _search-results.html | ||
| _search.html | ||
| _transitions-destination.html | ||
| _transitions.html | ||
| combine.php | ||
| index.html | ||
| README.md | ||
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.