Permalink
Browse files

Merge branch 'master' of github.com:jquery/jquery-mobile

  • Loading branch information...
2 parents 40d32c8 + 0fd3a0b commit 93cf7e407cb250da7fdce12fb82583008587a7f5 @jeresig jeresig committed Mar 31, 2011
Showing with 17 additions and 22,184 deletions.
  1. BIN docs/_assets/images/version.png
  2. +6 −6 docs/pages/docs-pages.html
  3. +0 −2 docs/pages/link-formats.html
  4. +11 −11 docs/toolbars/footer-persist-b.html
  5. +0 −168 experiments/api-viewer/docs/add/index.html
  6. +0 −97 experiments/api-viewer/docs/addClass/index.html
  7. +0 −132 experiments/api-viewer/docs/after/index.html
  8. +0 −58 experiments/api-viewer/docs/ajaxComplete/index.html
  9. +0 −56 experiments/api-viewer/docs/ajaxError/index.html
  10. +0 −56 experiments/api-viewer/docs/ajaxSend/index.html
  11. +0 −50 experiments/api-viewer/docs/ajaxStart/index.html
  12. +0 −50 experiments/api-viewer/docs/ajaxStop/index.html
  13. +0 −56 experiments/api-viewer/docs/ajaxSuccess/index.html
  14. +0 −96 experiments/api-viewer/docs/all-selector/index.html
  15. +0 −69 experiments/api-viewer/docs/andSelf/index.html
  16. +0 −311 experiments/api-viewer/docs/animate/index.html
  17. +0 −55 experiments/api-viewer/docs/animated-selector/index.html
  18. +0 −124 experiments/api-viewer/docs/append/index.html
  19. +0 −82 experiments/api-viewer/docs/appendTo/index.html
  20. +0 −212 experiments/api-viewer/docs/attr/index.html
  21. +0 −49 experiments/api-viewer/docs/attribute-contains-prefix-selector/index.html
  22. +0 −49 experiments/api-viewer/docs/attribute-contains-selector/index.html
  23. +0 −49 experiments/api-viewer/docs/attribute-contains-word-selector/index.html
  24. +0 −47 experiments/api-viewer/docs/attribute-ends-with-selector/index.html
  25. +0 −59 experiments/api-viewer/docs/attribute-equals-selector/index.html
  26. +0 −60 experiments/api-viewer/docs/attribute-not-equal-selector/index.html
  27. +0 −48 experiments/api-viewer/docs/attribute-starts-with-selector/index.html
  28. +0 −118 experiments/api-viewer/docs/before/index.html
  29. +0 −245 experiments/api-viewer/docs/bind/index.html
  30. +0 −59 experiments/api-viewer/docs/blur/index.html
  31. +0 −68 experiments/api-viewer/docs/button-selector/index.html
  32. +0 −104 experiments/api-viewer/docs/change/index.html
  33. +0 −71 experiments/api-viewer/docs/checkbox-selector/index.html
  34. +0 −64 experiments/api-viewer/docs/checked-selector/index.html
  35. +0 −63 experiments/api-viewer/docs/child-selector/index.html
  36. +0 −176 experiments/api-viewer/docs/children/index.html
  37. +0 −91 experiments/api-viewer/docs/class-selector/index.html
  38. +0 −68 experiments/api-viewer/docs/clearQueue/index.html
  39. +0 −99 experiments/api-viewer/docs/click/index.html
  40. +0 −72 experiments/api-viewer/docs/clone/index.html
  41. +0 −159 experiments/api-viewer/docs/closest/index.html
  42. +0 −48 experiments/api-viewer/docs/contains-selector/index.html
  43. +0 −85 experiments/api-viewer/docs/contents/index.html
  44. +0 −54 experiments/api-viewer/docs/context/index.html
  45. +0 −238 experiments/api-viewer/docs/css/index.html
  46. +0 −165 experiments/api-viewer/docs/data/index.html
  47. +0 −101 experiments/api-viewer/docs/dblclick/index.html
  48. +0 −65 experiments/api-viewer/docs/delay/index.html
  49. +0 −135 experiments/api-viewer/docs/delegate/index.html
  50. +0 −60 experiments/api-viewer/docs/dequeue/index.html
  51. +0 −67 experiments/api-viewer/docs/descendant-selector/index.html
  52. +0 −59 experiments/api-viewer/docs/detach/index.html
  53. +0 −106 experiments/api-viewer/docs/die/index.html
  54. +0 −43 experiments/api-viewer/docs/disabled-selector/index.html
  55. +0 −156 experiments/api-viewer/docs/each/index.html
  56. +0 −59 experiments/api-viewer/docs/element-selector/index.html
  57. +0 −52 experiments/api-viewer/docs/empty-selector/index.html
  58. +0 −66 experiments/api-viewer/docs/empty/index.html
  59. +0 −43 experiments/api-viewer/docs/enabled-selector/index.html
  60. +0 −134 experiments/api-viewer/docs/end/index.html
  61. +0 −50 experiments/api-viewer/docs/eq-selector/index.html
  62. +0 −86 experiments/api-viewer/docs/eq/index.html
  63. +0 −66 experiments/api-viewer/docs/error/index.html
  64. +0 −51 experiments/api-viewer/docs/even-selector/index.html
  65. +0 −31 experiments/api-viewer/docs/event.currentTarget/index.html
  66. +0 −32 experiments/api-viewer/docs/event.data/index.html
  67. +0 −32 experiments/api-viewer/docs/event.isDefaultPrevented/index.html
  68. +0 −46 experiments/api-viewer/docs/event.isImmediatePropagationStopped/index.html
  69. +0 −45 experiments/api-viewer/docs/event.isPropagationStopped/index.html
  70. +0 −43 experiments/api-viewer/docs/event.pageX/index.html
  71. +0 −43 experiments/api-viewer/docs/event.pageY/index.html
  72. +0 −50 experiments/api-viewer/docs/event.preventDefault/index.html
  73. +0 −31 experiments/api-viewer/docs/event.relatedTarget/index.html
  74. +0 −46 experiments/api-viewer/docs/event.result/index.html
  75. +0 −57 experiments/api-viewer/docs/event.stopImmediatePropagation/index.html
  76. +0 −49 experiments/api-viewer/docs/event.stopPropagation/index.html
  77. +0 −91 experiments/api-viewer/docs/event.target/index.html
  78. +0 −46 experiments/api-viewer/docs/event.timeStamp/index.html
  79. +0 −30 experiments/api-viewer/docs/event.type/index.html
  80. +0 −46 experiments/api-viewer/docs/event.which/index.html
  81. +0 −120 experiments/api-viewer/docs/fadeIn/index.html
  82. +0 −115 experiments/api-viewer/docs/fadeOut/index.html
  83. +0 −159 experiments/api-viewer/docs/fadeTo/index.html
  84. +0 −69 experiments/api-viewer/docs/file-selector/index.html
  85. +0 −155 experiments/api-viewer/docs/filter/index.html
  86. +0 −113 experiments/api-viewer/docs/find/index.html
  87. +0 −63 experiments/api-viewer/docs/first-child-selector/index.html
  88. +0 −48 experiments/api-viewer/docs/first-selector/index.html
  89. +0 −56 experiments/api-viewer/docs/first/index.html
  90. +0 −99 experiments/api-viewer/docs/focus/index.html
  91. +0 −53 experiments/api-viewer/docs/focusin/index.html
  92. +0 −60 experiments/api-viewer/docs/focusout/index.html
  93. +0 −116 experiments/api-viewer/docs/get/index.html
  94. +0 −49 experiments/api-viewer/docs/gt-selector/index.html
  95. +0 −52 experiments/api-viewer/docs/has-attribute-selector/index.html
  96. +0 −44 experiments/api-viewer/docs/has-selector/index.html
  97. +0 −77 experiments/api-viewer/docs/has/index.html
  98. +0 −63 experiments/api-viewer/docs/hasClass/index.html
  99. +0 −46 experiments/api-viewer/docs/header-selector/index.html
  100. +0 −127 experiments/api-viewer/docs/height/index.html
  101. +0 −75 experiments/api-viewer/docs/hidden-selector/index.html
  102. +0 −174 experiments/api-viewer/docs/hide/index.html
  103. +0 −160 experiments/api-viewer/docs/hover/index.html
  104. +0 −166 experiments/api-viewer/docs/html/index.html
  105. +0 −94 experiments/api-viewer/docs/id-selector/index.html
  106. +0 −67 experiments/api-viewer/docs/image-selector/index.html
  107. +0 −229 experiments/api-viewer/docs/index/index.html
  108. +0 −46 experiments/api-viewer/docs/innerHeight/index.html
  109. +0 −46 experiments/api-viewer/docs/innerWidth/index.html
  110. +0 −72 experiments/api-viewer/docs/input-selector/index.html
  111. +0 −71 experiments/api-viewer/docs/insertAfter/index.html
  112. +0 −71 experiments/api-viewer/docs/insertBefore/index.html
  113. +0 −141 experiments/api-viewer/docs/is/index.html
  114. +0 −252 experiments/api-viewer/docs/jQuery.ajax/index.html
  115. +0 −51 experiments/api-viewer/docs/jQuery.ajaxSetup/index.html
  116. +0 −59 experiments/api-viewer/docs/jQuery.boxModel/index.html
  117. +0 −162 experiments/api-viewer/docs/jQuery.browser/index.html
  118. +0 −33 experiments/api-viewer/docs/jQuery.contains/index.html
  119. +0 −147 experiments/api-viewer/docs/jQuery.data/index.html
  120. +0 −59 experiments/api-viewer/docs/jQuery.dequeue/index.html
  121. +0 −106 experiments/api-viewer/docs/jQuery.each/index.html
  122. +0 −32 experiments/api-viewer/docs/jQuery.error/index.html
  123. +0 −107 experiments/api-viewer/docs/jQuery.extend/index.html
  124. +0 −63 experiments/api-viewer/docs/jQuery.fx.off/index.html
  125. +0 −81 experiments/api-viewer/docs/jQuery.get/index.html
  126. +0 −113 experiments/api-viewer/docs/jQuery.getJSON/index.html
  127. +0 −88 experiments/api-viewer/docs/jQuery.getScript/index.html
  128. +0 −36 experiments/api-viewer/docs/jQuery.globalEval/index.html
  129. +0 −89 experiments/api-viewer/docs/jQuery.grep/index.html
  130. +0 −60 experiments/api-viewer/docs/jQuery.inArray/index.html
  131. +0 −43 experiments/api-viewer/docs/jQuery.isArray/index.html
  132. +0 −33 experiments/api-viewer/docs/jQuery.isEmptyObject/index.html
  133. +0 −77 experiments/api-viewer/docs/jQuery.isFunction/index.html
  134. +0 −32 experiments/api-viewer/docs/jQuery.isPlainObject/index.html
  135. +0 −32 experiments/api-viewer/docs/jQuery.isXMLDoc/index.html
  136. +0 −73 experiments/api-viewer/docs/jQuery.makeArray/index.html
  137. +0 −130 experiments/api-viewer/docs/jQuery.map/index.html
  138. +0 −61 experiments/api-viewer/docs/jQuery.merge/index.html
  139. +0 −106 experiments/api-viewer/docs/jQuery.noConflict/index.html
  140. +0 −27 experiments/api-viewer/docs/jQuery.noop/index.html
  141. +0 −116 experiments/api-viewer/docs/jQuery.param/index.html
  142. +0 −43 experiments/api-viewer/docs/jQuery.parseJSON/index.html
  143. +0 −106 experiments/api-viewer/docs/jQuery.post/index.html
  144. +0 −52 experiments/api-viewer/docs/jQuery.proxy/index.html
  145. +0 −43 experiments/api-viewer/docs/jQuery.pushStack/index.html
  146. +0 −182 experiments/api-viewer/docs/jQuery.queue/index.html
  147. +0 −62 experiments/api-viewer/docs/jQuery.removeData/index.html
  148. +0 −107 experiments/api-viewer/docs/jQuery.support/index.html
  149. +0 −59 experiments/api-viewer/docs/jQuery.trim/index.html
  150. +0 −67 experiments/api-viewer/docs/jQuery.unique/index.html
  151. +0 −214 experiments/api-viewer/docs/jQuery/index.html
  152. +0 −107 experiments/api-viewer/docs/keydown/index.html
  153. +0 −111 experiments/api-viewer/docs/keypress/index.html
  154. +0 −108 experiments/api-viewer/docs/keyup/index.html
  155. +0 −64 experiments/api-viewer/docs/last-child-selector/index.html
  156. +0 −45 experiments/api-viewer/docs/last-selector/index.html
  157. +0 −56 experiments/api-viewer/docs/last/index.html
  158. +0 −53 experiments/api-viewer/docs/length/index.html
  159. +0 −188 experiments/api-viewer/docs/live/index.html
  160. +0 −60 experiments/api-viewer/docs/load-event/index.html
  161. +0 −121 experiments/api-viewer/docs/load/index.html
  162. +0 −53 experiments/api-viewer/docs/lt-selector/index.html
  163. +0 −180 experiments/api-viewer/docs/map/index.html
  164. +0 −80 experiments/api-viewer/docs/mousedown/index.html
  165. +0 −115 experiments/api-viewer/docs/mouseenter/index.html
  166. +0 −115 experiments/api-viewer/docs/mouseleave/index.html
  167. +0 −98 experiments/api-viewer/docs/mousemove/index.html
  168. +0 −115 experiments/api-viewer/docs/mouseout/index.html
  169. +0 −115 experiments/api-viewer/docs/mouseover/index.html
  170. +0 −80 experiments/api-viewer/docs/mouseup/index.html
  171. +0 −50 experiments/api-viewer/docs/multiple-attribute-selector/index.html
  172. +0 −106 experiments/api-viewer/docs/multiple-selector/index.html
  173. +0 −58 experiments/api-viewer/docs/next-adjacent-Selector/index.html
  174. +0 −72 experiments/api-viewer/docs/next-siblings-selector/index.html
  175. +0 −89 experiments/api-viewer/docs/next/index.html
  176. +0 −103 experiments/api-viewer/docs/nextAll/index.html
  177. +0 −86 experiments/api-viewer/docs/nextUntil/index.html
  178. +0 −61 experiments/api-viewer/docs/not-selector/index.html
  179. +0 −124 experiments/api-viewer/docs/not/index.html
  180. +0 −142 experiments/api-viewer/docs/nth-child-selector/index.html
  181. +0 −51 experiments/api-viewer/docs/odd-selector/index.html
  182. +0 −131 experiments/api-viewer/docs/offset/index.html
  183. +0 −83 experiments/api-viewer/docs/offsetParent/index.html
  184. +0 −90 experiments/api-viewer/docs/one/index.html
  185. +0 −65 experiments/api-viewer/docs/only-child-selector/index.html
  186. +0 −49 experiments/api-viewer/docs/outerHeight/index.html
  187. +0 −54 experiments/api-viewer/docs/outerWidth/index.html
  188. +0 −51 experiments/api-viewer/docs/parent-selector/index.html
  189. +0 −120 experiments/api-viewer/docs/parent/index.html
  190. +0 −142 experiments/api-viewer/docs/parents/index.html
  191. +0 −91 experiments/api-viewer/docs/parentsUntil/index.html
  192. +0 −69 experiments/api-viewer/docs/password-selector/index.html
  193. +0 −50 experiments/api-viewer/docs/position/index.html
  194. +0 −122 experiments/api-viewer/docs/prepend/index.html
  195. +0 −77 experiments/api-viewer/docs/prependTo/index.html
  196. +0 −107 experiments/api-viewer/docs/prev/index.html
  197. +0 −68 experiments/api-viewer/docs/prevAll/index.html
  198. +0 −86 experiments/api-viewer/docs/prevUntil/index.html
  199. +0 −190 experiments/api-viewer/docs/queue/index.html
  200. +0 −74 experiments/api-viewer/docs/radio-selector/index.html
  201. +0 −73 experiments/api-viewer/docs/ready/index.html
  202. +0 −102 experiments/api-viewer/docs/remove/index.html
  203. +0 −50 experiments/api-viewer/docs/removeAttr/index.html
  204. +0 −132 experiments/api-viewer/docs/removeClass/index.html
  205. +0 −61 experiments/api-viewer/docs/removeData/index.html
  206. +0 −65 experiments/api-viewer/docs/replaceAll/index.html
  207. +0 −171 experiments/api-viewer/docs/replaceWith/index.html
  208. +0 −68 experiments/api-viewer/docs/reset-selector/index.html
  209. +0 −49 experiments/api-viewer/docs/resize/index.html
  210. +0 −93 experiments/api-viewer/docs/scroll/index.html
  211. +0 −93 experiments/api-viewer/docs/scrollLeft/index.html
  212. +0 −93 experiments/api-viewer/docs/scrollTop/index.html
  213. +0 −92 experiments/api-viewer/docs/select/index.html
  214. +0 −62 experiments/api-viewer/docs/selected-selector/index.html
  215. +0 −77 experiments/api-viewer/docs/selector/index.html
  216. +0 −114 experiments/api-viewer/docs/serialize/index.html
  217. +0 −134 experiments/api-viewer/docs/serializeArray/index.html
  218. +0 −166 experiments/api-viewer/docs/show/index.html
  219. +0 −115 experiments/api-viewer/docs/siblings/index.html
  220. +0 −60 experiments/api-viewer/docs/size/index.html
  221. +0 −135 experiments/api-viewer/docs/slice/index.html
  222. +0 −119 experiments/api-viewer/docs/slideDown/index.html
  223. +0 −124 experiments/api-viewer/docs/slideToggle/index.html
  224. +0 −125 experiments/api-viewer/docs/slideUp/index.html
  225. +0 −89 experiments/api-viewer/docs/stop/index.html
  226. +0 −161 experiments/api-viewer/docs/submit-selector/index.html
  227. +0 −109 experiments/api-viewer/docs/submit/index.html
  228. +0 −69 experiments/api-viewer/docs/text-selector/index.html
  229. +0 −138 experiments/api-viewer/docs/text/index.html
  230. +0 −63 experiments/api-viewer/docs/toArray/index.html
  231. +0 −204 experiments/api-viewer/docs/toggle/index.html
  232. +0 −141 experiments/api-viewer/docs/toggleClass/index.html
  233. +0 −127 experiments/api-viewer/docs/trigger/index.html
  234. +0 −69 experiments/api-viewer/docs/triggerHandler/index.html
  235. +0 −146 experiments/api-viewer/docs/unbind/index.html
  236. +0 −98 experiments/api-viewer/docs/undelegate/index.html
  237. +0 −44 experiments/api-viewer/docs/unload/index.html
  238. +0 −52 experiments/api-viewer/docs/unwrap/index.html
  239. +0 −208 experiments/api-viewer/docs/val/index.html
  240. +0 −66 experiments/api-viewer/docs/visible-selector/index.html
  241. +0 −132 experiments/api-viewer/docs/width/index.html
  242. +0 −163 experiments/api-viewer/docs/wrap/index.html
  243. +0 −141 experiments/api-viewer/docs/wrapAll/index.html
  244. +0 −152 experiments/api-viewer/docs/wrapInner/index.html
  245. +0 −399 experiments/api-viewer/index.html
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
@@ -33,9 +33,9 @@
<html>
<head>
<title>Page Title</title>
- <link rel="stylesheet" href="http://code.jquery.com/mobile/1.0a3/jquery.mobile-1.0a3.min.css" />
- <script type="text/javascript" src="http://code.jquery.com/jquery-1.5.min.js"></script>
- <script type="text/javascript" src="http://code.jquery.com/mobile/1.0a3/jquery.mobile-1.0a3.min.js"></script>
+ <link rel="stylesheet" href="http://code.jquery.com/mobile/1.0a4/jquery.mobile-1.0a4.min.css" />
+ <script type="text/javascript" src="http://code.jquery.com/jquery-1.5.2.min.js"></script>
+ <script type="text/javascript" src="http://code.jquery.com/mobile/1.0a4/jquery.mobile-1.0a3.min.js"></script>
</head>
<body>
@@ -75,9 +75,9 @@
<html>
<head>
<title>Page Title</title>
- <link rel="stylesheet" href="http://code.jquery.com/mobile/1.0a3/jquery.mobile-1.0a3.min.css" />
- <script type="text/javascript" src="http://code.jquery.com/jquery-1.4.3.min.js"></script>
- <script type="text/javascript" src="http://code.jquery.com/mobile/1.0a3/jquery.mobile-1.0a3.min.js"></script>
+ <link rel="stylesheet" href="http://code.jquery.com/mobile/1.0a4/jquery.mobile-1.0a3.min.css" />
+ <script type="text/javascript" src="http://code.jquery.com/jquery-1.5.2.min.js"></script>
+ <script type="text/javascript" src="http://code.jquery.com/mobile/1.0a4/jquery.mobile-1.0a3.min.js"></script>
</head>
<body>
@@ -40,8 +40,6 @@
<li data-role="list-divider">Phone links</li>
<li><a href="tel:15555555555">Phone: tel:15555555555</a></li>
- <li><a href="wtai://wp/mc;15555555555">Phone: wtai://wp/mc;15555555555</a></li>
- <li><a href="dc:234*234*234">Phone: dc:234*234*234</a></li>
<li data-role="list-divider">Other</li>
<li><a href="#">A href="#" will return false</a></li>
</ul>
@@ -24,70 +24,70 @@
<img src="../lists/images/album-bb.jpg" />
<h3>Broken Bells</h3>
<p>Broken Bells</p>
- </a><a href="lists-split-purchase.html" data-rel="dialog" data-transition="slideup">Purchase album
+ </a><a href="../lists/lists-split-purchase.html" data-rel="dialog" data-transition="slideup">Purchase album
</a></li>
<li><a href="index.html">
<img src="../lists/images/album-hc.jpg" />
<h3>Warning</h3>
<p>Hot Chip</p>
- </a><a href="lists-split-purchase.html" data-rel="dialog" data-transition="slideup">Purchase album
+ </a><a href="../lists/lists-split-purchase.html" data-rel="dialog" data-transition="slideup">Purchase album
</a></li>
<li><a href="index.html">
<img src="../lists/images/album-p.jpg" />
<h3>Wolfgang Amadeus Phoenix</h3>
<p>Phoenix</p>
- </a><a href="lists-split-purchase.html" data-rel="dialog" data-transition="slideup">Purchase album
+ </a><a href="../lists/lists-split-purchase.html" data-rel="dialog" data-transition="slideup">Purchase album
</a></li>
<li><a href="index.html">
<img src="../lists/images/album-ok.jpg" />
<h3>Of The Blue Colour Of The Sky</h3>
<p>Ok Go</p>
- </a><a href="lists-split-purchase.html" data-rel="dialog" data-transition="slideup">Purchase album
+ </a><a href="../lists/lists-split-purchase.html" data-rel="dialog" data-transition="slideup">Purchase album
</a></li>
<li><a href="index.html">
<img src="../lists/images/album-ws.jpg" />
<h3>Elephant</h3>
<p>The White Stripes</p>
- </a><a href="lists-split-purchase.html" data-rel="dialog" data-transition="slideup">Purchase album
+ </a><a href="../lists/lists-split-purchase.html" data-rel="dialog" data-transition="slideup">Purchase album
</a></li>
<li><a href="index.html">
<img src="../lists/images/album-rh.jpg" />
<h3>Kid A</h3>
<p>Radiohead</p>
- </a><a href="lists-split-purchase.html" data-rel="dialog" data-transition="slideup">Purchase album
+ </a><a href="../lists/lists-split-purchase.html" data-rel="dialog" data-transition="slideup">Purchase album
</a></li>
<li><a href="index.html">
<img src="../lists/images/album-xx.jpg" />
<h3>XX</h3>
<p>XX</p>
- </a><a href="lists-split-purchase.html" data-rel="dialog" data-transition="slideup">Purchase album
+ </a><a href="../lists/lists-split-purchase.html" data-rel="dialog" data-transition="slideup">Purchase album
</a></li>
<li><a href="index.html">
<img src="../lists/images/album-mg.jpg" />
<h3>Congratulations</h3>
<p>MGMT</p>
- </a><a href="lists-split-purchase.html" data-rel="dialog" data-transition="slideup">Purchase album
+ </a><a href="../lists/lists-split-purchase.html" data-rel="dialog" data-transition="slideup">Purchase album
</a></li>
<li><a href="index.html">
<img src="../lists/images/album-ag.jpg" />
<h3>Ashes Grammar</h3>
<p>A Sunny Day in Glasgow</p>
- </a><a href="lists-split-purchase.html" data-rel="dialog" data-transition="slideup">Purchase album
+ </a><a href="../lists/lists-split-purchase.html" data-rel="dialog" data-transition="slideup">Purchase album
</a></li>
<li><a href="index.html">
<img src="../lists/images/album-k.jpg" />
<h3>Hot Fuss</h3>
<p>Killers</p>
- </a><a href="lists-split-purchase.html" data-rel="dialog" data-transition="slideup">Purchase album
+ </a><a href="../lists/lists-split-purchase.html" data-rel="dialog" data-transition="slideup">Purchase album
</a></li>
<li><a href="index.html">
<img src="../lists/images/album-af.jpg" />
<h3>The Suburbs</h3>
<p>Arcade Fire</p>
- </a><a href="lists-split-purchase.html" data-rel="dialog" data-transition="slideup">Purchase album
+ </a><a href="../lists/lists-split-purchase.html" data-rel="dialog" data-transition="slideup">Purchase album
</a></li>
</ul>
@@ -1,168 +0,0 @@
-<!DOCTYPE html>
-<html lang='en'><head>
- <meta charset="utf-8">
- <meta name="viewport" content="width=device-width, minimum-scale=1, maximum-scale=1"><title>test</title><meta http-equiv='content-type' content='text/html; charset=UTF-8' /></head><body>
-<div data-role="page">
- <div data-role="header">
- <h1>.add()</h1>
-</div>
-<div data-role="content" data-theme="c" id="add1">
-<h2 class="jq-clearfix roundTop section-title">
-<span class="name">.add( selector )</span> <span class="returns">Returns: <a class="return" href="http://docs.jquery.com/Types#jQuery">jQuery</a></span>
-</h2>
-<div class=" entry-details">
-<p class="desc"><strong>Description: </strong>Add elements to the set of matched elements.</p>
-<ul class="signatures">
-<li class="signature" id="add-selector">
-<h4 class="name">
-<span class="versionAdded">version added: <a href="/category/version/1.0/">1.0</a></span>.add( selector )</h4>
-<p class="arguement"><strong>selector</strong>A string containing a selector expression to match additional elements against.</p>
-</li>
-<li class="signature" id="add-elements">
-<h4 class="name">
-<span class="versionAdded">version added: <a href="/category/version/1.0/">1.0</a></span>.add( elements )</h4>
-<p class="arguement"><strong>elements</strong>one or more elements to add to the set of matched elements.</p>
-</li>
-<li class="signature" id="add-html">
-<h4 class="name">
-<span class="versionAdded">version added: <a href="/category/version/1.0/">1.0</a></span>.add( html )</h4>
-<p class="arguement"><strong>html</strong>An HTML fragment to add to the set of matched elements.</p>
-</li>
-<li class="signature" id="add-selector-context">
-<h4 class="name">
-<span class="versionAdded">version added: <a href="/category/version/1.4/">1.4</a></span>.add( selector, context )</h4>
-<p class="arguement"><strong>selector</strong>A string containing a selector expression to match additional elements against.</p>
-<p class="arguement"><strong>context</strong>Add some elements rooted against the specified context.</p>
-</li>
-</ul>
-<div class="longdesc">
-<p>Given a jQuery object that represents a set of DOM elements, the <code>.add()</code> method constructs a new jQuery object from the union of those elements and the ones passed into the method. The argument to <code>.add()</code> can be pretty much anything that <code>$()</code> accepts, including a jQuery selector expression, references to DOM elements, or an HTML snippet.</p>
-<p>Consider a page with a simple list and a paragraph following it:</p>
-<pre>&lt;ul&gt;
- &lt;li&gt;list item 1&lt;/li&gt;
- &lt;li&gt;list item 2&lt;/li&gt;
- &lt;li&gt;list item 3&lt;/li&gt;
-&lt;/ul&gt;
-&lt;p&gt;a paragraph&lt;/p&gt;</pre>
-<p>We can select the list items and then the paragraph by using either a selector or a reference to the DOM element itself as the <code>.add()</code> method's argument:</p>
-<pre>$('li').add('p').css('background-color', 'red');</pre>
-<p>Or:</p>
-<pre>$('li').add(document.getElementsByTagName('p')[0])
- .css('background-color', 'red');</pre>
-<p>The result of this call is a red background behind all four elements.
-Using an HTML snippet as the <code>.add()</code> method's argument (as in the third version), we can create additional elements on the fly and add those elements to the matched set of elements. Let's say, for example, that we want to alter the background of the list items along with a newly created paragraph:</p>
-<pre>$('li').add('&lt;p id="new"&gt;new paragraph&lt;/p&gt;')
- .css('background-color', 'red');</pre>
-<p>Although the new paragraph has been created and its background color changed, it still does not appear on the page. To place it on the page, we could add one of the insertion methods to the chain.</p>
-<p>As of jQuery 1.4 the results from .add() will always be returned in document order (rather than a simple concatenation).</p>
-</div>
-<h3>Examples:</h3>
-<div id="entry-examples" class="entry-examples">
-<div id="example-0">
-<h4>Example: <span class="desc">Finds all divs and makes a border. Then adds all paragraphs to the jQuery object to set their backgrounds yellow.</span>
-</h4>
-<pre><code class="example demo-code">&lt;!DOCTYPE html&gt;
-&lt;html&gt;
-&lt;head&gt;
- &lt;style&gt;
- div { width:60px; height:60px; margin:10px; float:left; }
- p { clear:left; font-weight:bold; font-size:16px;
- color:blue; margin:0 10px; padding:2px; }
- &lt;/style&gt;
- &lt;script src="http://code.jquery.com/jquery-latest.js"&gt;&lt;/script&gt;
-&lt;/head&gt;
-&lt;body&gt;
- &lt;div&gt;&lt;/div&gt;
-
- &lt;div&gt;&lt;/div&gt;
- &lt;div&gt;&lt;/div&gt;
- &lt;div&gt;&lt;/div&gt;
- &lt;div&gt;&lt;/div&gt;
- &lt;div&gt;&lt;/div&gt;
-
- &lt;p&gt;Added this... (notice no border)&lt;/p&gt;
-&lt;script&gt;
-
-$("div").css("border", "2px solid red")
- .add("p")
- .css("background", "yellow");
-&lt;/script&gt;
-&lt;/body&gt;
-&lt;/html&gt;</code></pre>
-<h4>Demo:</h4>
-<div class="demo code-demo"></div>
-</div>
-<div id="example-1">
-<h4>Example: <span class="desc">Adds more elements, matched by the given expression, to the set of matched elements.</span>
-</h4>
-<pre><code class="example demo-code">&lt;!DOCTYPE html&gt;
-&lt;html&gt;
-&lt;head&gt;
- &lt;script src="http://code.jquery.com/jquery-latest.js"&gt;&lt;/script&gt;
-&lt;/head&gt;
-&lt;body&gt;
- &lt;p&gt;Hello&lt;/p&gt;&lt;span&gt;Hello Again&lt;/span&gt;
-&lt;script&gt;$("p").add("span").css("background", "yellow");&lt;/script&gt;
-&lt;/body&gt;
-&lt;/html&gt;</code></pre>
-<h4>Demo:</h4>
-<div class="demo code-demo"></div>
-</div>
-<div id="example-2">
-<h4>Example: <span class="desc">Adds more elements, created on the fly, to the set of matched elements.</span>
-</h4>
-<pre><code class="example demo-code">&lt;!DOCTYPE html&gt;
-&lt;html&gt;
-&lt;head&gt;
- &lt;script src="http://code.jquery.com/jquery-latest.js"&gt;&lt;/script&gt;
-&lt;/head&gt;
-&lt;body&gt;
- &lt;p&gt;Hello&lt;/p&gt;
-&lt;script&gt;$("p").clone().add("&lt;span&gt;Again&lt;/span&gt;").appendTo(document.body);&lt;/script&gt;
-&lt;/body&gt;
-&lt;/html&gt;</code></pre>
-<h4>Demo:</h4>
-<div class="demo code-demo"></div>
-</div>
-<div id="example-3">
-<h4>Example: <span class="desc">Adds one or more Elements to the set of matched elements.</span>
-</h4>
-<pre><code class="example demo-code">&lt;!DOCTYPE html&gt;
-&lt;html&gt;
-&lt;head&gt;
- &lt;script src="http://code.jquery.com/jquery-latest.js"&gt;&lt;/script&gt;
-&lt;/head&gt;
-&lt;body&gt;
- &lt;p&gt;Hello&lt;/p&gt;&lt;span id="a"&gt;Hello Again&lt;/span&gt;
-&lt;script&gt;$("p").add(document.getElementById("a")).css("background", "yellow");&lt;/script&gt;
-&lt;/body&gt;
-&lt;/html&gt;</code></pre>
-<h4>Demo:</h4>
-<div class="demo code-demo"></div>
-</div>
-<div id="example-4">
-<h4>Example: <span class="desc">Demonstrates how to add (or push) elements to an existing collection</span>
-</h4>
-<pre><code class="example demo-code">&lt;!DOCTYPE html&gt;
-&lt;html&gt;
-&lt;head&gt;
- &lt;script src="http://code.jquery.com/jquery-latest.js"&gt;&lt;/script&gt;
-&lt;/head&gt;
-&lt;body&gt;
- &lt;p&gt;Hello&lt;/p&gt;&lt;span id="a"&gt;Hello Again&lt;/span&gt;
-&lt;script&gt;var collection = $("p");
-// capture the new collection
-collection = collection.add(document.getElementById("a"));
-collection.css("background", "yellow");&lt;/script&gt;
-&lt;/body&gt;
-&lt;/html&gt;</code></pre>
-<h4>Demo:</h4>
-<div class="demo code-demo"></div>
-</div>
-</div>
-</div>
-</div>
-
- </div>
-
-</body></html>
@@ -1,97 +0,0 @@
-<!DOCTYPE html>
-<html lang='en'><head>
- <meta charset="utf-8">
- <meta name="viewport" content="width=device-width, minimum-scale=1, maximum-scale=1"><meta http-equiv='content-type' content='text/html; charset=UTF-8' /></head><body>
-<div data-role="page">
- <div data-role="header">
- <h1>.addClass()</h1>
-
-</div>
-<div data-role="content" data-theme="c" id="addClass1">
-<h2 class="jq-clearfix roundTop section-title">
-<span class="name">.addClass( className )</span> <span class="returns">Returns: <a class="return" href="http://docs.jquery.com/Types#jQuery">jQuery</a></span>
-</h2>
-<div class=" entry-details">
-<p class="desc"><strong>Description: </strong>Adds the specified class(es) to each of the set of matched elements.</p>
-<ul class="signatures">
-<li class="signature" id="addClass-className">
-<h4 class="name">
-<span class="versionAdded">version added: <a href="/category/version/1.0/">1.0</a></span>.addClass( className )</h4>
-<p class="arguement"><strong>className</strong>One or more class names to be added to the class attribute of each matched element.</p>
-</li>
-<li class="signature" id="addClass-functionindex, class">
-<h4 class="name">
-<span class="versionAdded">version added: <a href="/category/version/1.4/">1.4</a></span>.addClass( function(index, class) )</h4>
-<p class="arguement"><strong>function(index, class)</strong>A function returning one or more space-separated class names to be added. Receives the index position of the element in the set and the old class value as arguments.</p>
-</li>
-</ul>
-<div class="longdesc">
-<p>It's important to note that this method does not replace a class. It simply adds the class, appending it to any which may already be assigned to the elements.</p>
-<p>More than one class may be added at a time, separated by a space, to the set of matched elements, like so:</p>
-<pre>$('p').addClass('myClass yourClass');</pre>
-<p>This method is often used with <code>.removeClass()</code> to switch elements' classes from one to another, like so:</p>
-<pre>$('p').removeClass('myClass noClass').addClass('yourClass');</pre>
-<p>Here, the <code>myClass</code> and <code>noClass</code> classes are removed from all paragraphs, while <code>yourClass</code> is added.</p>
-<p>As of jQuery 1.4, the <code>.addClass()</code> method allows us to set the class name by passing in a function.</p>
-<pre>$('ul li:last').addClass(function() {
- return 'item-' + $(this).index();
-});</pre>
-<p>Given an unordered list with five <code>&lt;li&gt;</code> elements, this example adds the class "item-4" to the last <code>&lt;li&gt;</code>.</p>
-</div>
-<h3>Examples:</h3>
-<div id="entry-examples" class="entry-examples">
-<div id="example-0">
-<h4>Example: <span class="desc">Adds the class 'selected' to the matched elements.</span>
-</h4>
-<pre><code class="example demo-code">&lt;!DOCTYPE html&gt;
-&lt;html&gt;
-&lt;head&gt;
- &lt;style&gt;
-
- p { margin: 8px; font-size:16px; }
- .selected { color:blue; }
- .highlight { background:yellow; }
- &lt;/style&gt;
- &lt;script src="http://code.jquery.com/jquery-latest.js"&gt;&lt;/script&gt;
-&lt;/head&gt;
-&lt;body&gt;
- &lt;p&gt;Hello&lt;/p&gt;
- &lt;p&gt;and&lt;/p&gt;
- &lt;p&gt;Goodbye&lt;/p&gt;
-&lt;script&gt;$("p:last").addClass("selected");&lt;/script&gt;
-&lt;/body&gt;
-&lt;/html&gt;</code></pre>
-<h4>Demo:</h4>
-<div class="demo code-demo"></div>
-</div>
-<div id="example-1">
-<h4>Example: <span class="desc">Adds the classes 'selected' and 'highlight' to the matched elements.</span>
-</h4>
-<pre><code class="example demo-code">&lt;!DOCTYPE html&gt;
-&lt;html&gt;
-&lt;head&gt;
- &lt;style&gt;
-
- p { margin: 8px; font-size:16px; }
- .selected { color:red; }
- .highlight { background:yellow; }
- &lt;/style&gt;
- &lt;script src="http://code.jquery.com/jquery-latest.js"&gt;&lt;/script&gt;
-&lt;/head&gt;
-&lt;body&gt;
- &lt;p&gt;Hello&lt;/p&gt;
- &lt;p&gt;and&lt;/p&gt;
- &lt;p&gt;Goodbye&lt;/p&gt;
-&lt;script&gt;$("p:last").addClass("selected highlight");&lt;/script&gt;
-&lt;/body&gt;
-&lt;/html&gt;</code></pre>
-<h4>Demo:</h4>
-<div class="demo code-demo"></div>
-</div>
-</div>
-</div>
-</div>
-
- </div>
-
-</body></html>
Oops, something went wrong.

0 comments on commit 93cf7e4

Please sign in to comment.