... 5 specification for custom data- attributes (available forreview at http://dev.w3.org/html5/spec/elements.html#embedding-custom-non-visible-data-with-the-data-attributes). Using this method, ... acrossplatforms.Enter jQuery Mobile. Based on the popular jQuery JavaScript library, jQuery Mobileis designed to create mobile web applications that function on a broad range of devices.With...
... (ch5/list-split-buttons.html)
<ul data-role="listview" data-split-icon="star" data-split-theme="d">
<li>
<a href="movies/kung-fu-panda.html"> ... amazing mobile
apps in no time.
Related titles
Pro
jQuery Mobile
Brad Broulik
Cross-platform mobile development
with the power of jQuery
Companion
eBook
Available
Broulik...
... 323
14.7 Calling jQuery UI Plugin Methods 323
14.8 Handling jQuery UI Plugin Events 324
14.9 Destroying a jQuery UI Plugin 326
14.10 Creating a jQuery UI Music Player 327
15. jQuery UI Theming ... since
version 1.3, this method works for user-defined functions and returns inconsistent re-
sults with built-in language functions such as this:
jQuery. isFunction( document.getElementBy...
...
www.packtpub.com /jquery- mobile- web-development-essentials/book
jQuery Mobile Web
Development Essentials
What is jQuery Mobile?
On August 11, 2010, nearly two years ago, John Resig (creator of jQuery) ...
www.packtpub.com /jquery- mobile- web-development-essentials/book
Creating Modal Dialogs, Grids, and Collapsible Blocks
[ 90 ]
<script src="http://code .jquery...
... ba thành phần jQuery Mobile quan trọng:
jQuery Core library — Thư viện jQuery lõi.
jQuery Mobile library — Một phần đặc trưng-di động của khung công tác jQuery.
jQuery Mobile CSS — CSS ... <script src="http://code .jquery. com /jquery- 1.4.4.min.js"></script>
<script src="http://code .jquery. com /mobile/ 1.0a2
/jquery. mobile- 1.0a...
...
$(document).bind("mobileinit", function() {
$ .mobile. ns = "my-custom-ns";
});
Vùng tên tùy chỉnh được sử dụng trong Liệt kê 5 sẽ tạo ra data-my-custom-ns-role chứ không
phải là data-role, ... sự kiện khởi tạo của jQuery Mobile
jQuery Mobile gồm một sự kiện khởi tạo, được nạp thậm chí trước khi sự kiện document.ready
của jQuery được nạp. Trên thực tế,...
... ra các cột
<div class="ui-grid-a">
<div class="ui-block-a">
Left column
</div>
<div class="ui-block-b">
Right column
</div> ... sử dụng listview data-role (Liệt kê 7).
Liệt kê 7. Tạo một danh sách nút ấn chia tách với khung công tác jQuery Mobile
<ul data-role="listview" data-split-icon="gea...