hurry 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (651) hide show
  1. data/Gemfile +55 -0
  2. data/Rakefile +69 -0
  3. data/app/assets/audios/twilight-hole.mp3 +0 -0
  4. data/app/assets/files/arvind resume (1).doc +0 -0
  5. data/app/assets/files/toma v 0 1.ppt +0 -0
  6. data/app/assets/images/0d0a413.png +0 -0
  7. data/app/assets/images/120.jpg +0 -0
  8. data/app/assets/images/51.jpg +0 -0
  9. data/app/assets/images/Untitled Document +97 -0
  10. data/app/assets/images/Untitled Document~ +97 -0
  11. data/app/assets/images/access.png +0 -0
  12. data/app/assets/images/adv.png +0 -0
  13. data/app/assets/images/article.png +0 -0
  14. data/app/assets/images/audio_icon.jpg +0 -0
  15. data/app/assets/images/background.gif +0 -0
  16. data/app/assets/images/banners/111.jpg +0 -0
  17. data/app/assets/images/banners/90.jpg +0 -0
  18. data/app/assets/images/banners/userimg.png +0 -0
  19. data/app/assets/images/blog.png +0 -0
  20. data/app/assets/images/body.png +0 -0
  21. data/app/assets/images/cancel.png +0 -0
  22. data/app/assets/images/cat.png +0 -0
  23. data/app/assets/images/contributions_userimg2.png +0 -0
  24. data/app/assets/images/delete.png +0 -0
  25. data/app/assets/images/edit.png +0 -0
  26. data/app/assets/images/excel.jpg +0 -0
  27. data/app/assets/images/file.gif +0 -0
  28. data/app/assets/images/file.jpeg +0 -0
  29. data/app/assets/images/folder-closed.gif +0 -0
  30. data/app/assets/images/folder.gif +0 -0
  31. data/app/assets/images/group.png +0 -0
  32. data/app/assets/images/header.png +0 -0
  33. data/app/assets/images/icons.gif +0 -0
  34. data/app/assets/images/loading.gif +0 -0
  35. data/app/assets/images/logo.png +0 -0
  36. data/app/assets/images/logout.png +0 -0
  37. data/app/assets/images/media.png +0 -0
  38. data/app/assets/images/minus.gif +0 -0
  39. data/app/assets/images/new.png +0 -0
  40. data/app/assets/images/page_manager.png +0 -0
  41. data/app/assets/images/pdf.png +0 -0
  42. data/app/assets/images/personal/ice glass.jpg +0 -0
  43. data/app/assets/images/plus.gif +0 -0
  44. data/app/assets/images/ppt.jpg +0 -0
  45. data/app/assets/images/profileimg.png +0 -0
  46. data/app/assets/images/rails.png +0 -0
  47. data/app/assets/images/setting.png +0 -0
  48. data/app/assets/images/status.png +0 -0
  49. data/app/assets/images/treeview-black-line.gif +0 -0
  50. data/app/assets/images/treeview-black.gif +0 -0
  51. data/app/assets/images/treeview-default-line.gif +0 -0
  52. data/app/assets/images/treeview-default.gif +0 -0
  53. data/app/assets/images/treeview-famfamfam-line.gif +0 -0
  54. data/app/assets/images/treeview-famfamfam.gif +0 -0
  55. data/app/assets/images/treeview-gray-line.gif +0 -0
  56. data/app/assets/images/treeview-gray.gif +0 -0
  57. data/app/assets/images/treeview-red-line.gif +0 -0
  58. data/app/assets/images/treeview-red.gif +0 -0
  59. data/app/assets/images/ui.dynatree.css +440 -0
  60. data/app/assets/images/user.png +0 -0
  61. data/app/assets/images/user1.png +0 -0
  62. data/app/assets/images/user_manager.png +0 -0
  63. data/app/assets/images/video_icon.jpg +0 -0
  64. data/app/assets/images/vline.gif +0 -0
  65. data/app/assets/images/word.png +0 -0
  66. data/app/assets/javascripts/application.js +9 -0
  67. data/app/assets/javascripts/bolt/articles.js.coffee +3 -0
  68. data/app/assets/javascripts/bolt/groups.js.coffee +3 -0
  69. data/app/assets/javascripts/bolt/user_groups.js.coffee +3 -0
  70. data/app/assets/javascripts/bolt/users_groups.js.coffee +3 -0
  71. data/app/assets/javascripts/imagebubble.js~ +68 -0
  72. data/app/assets/javascripts/javascript_functions.js +65 -0
  73. data/app/assets/javascripts/jquery.dynatree.js +3312 -0
  74. data/app/assets/javascripts/jquery.js +154 -0
  75. data/app/assets/javascripts/jquery.treeview.js +251 -0
  76. data/app/assets/javascripts/jquery_new.js +19 -0
  77. data/app/assets/javascripts/login.js +24 -0
  78. data/app/assets/javascripts/media.js +64 -0
  79. data/app/assets/javascripts/media.js.coffee +3 -0
  80. data/app/assets/javascripts/rails.js +132 -0
  81. data/app/assets/miscellaneous/1leader.flv +0 -0
  82. data/app/assets/miscellaneous/users_controller.1.rb +237 -0
  83. data/app/assets/stylesheets/application.css +8 -0
  84. data/app/assets/stylesheets/application.css~ +8 -0
  85. data/app/assets/stylesheets/bolt/articles.css.scss +3 -0
  86. data/app/assets/stylesheets/bolt/groups.css.scss +3 -0
  87. data/app/assets/stylesheets/bolt/user_groups.css.scss +3 -0
  88. data/app/assets/stylesheets/bolt/users_groups.css.scss +3 -0
  89. data/app/assets/stylesheets/bubble.css +28 -0
  90. data/app/assets/stylesheets/depot.css +26 -0
  91. data/app/assets/stylesheets/depot.css~ +34 -0
  92. data/app/assets/stylesheets/dropdown.css +49 -0
  93. data/app/assets/stylesheets/imagebubbles.css~ +32 -0
  94. data/app/assets/stylesheets/jquery.treeview.css +68 -0
  95. data/app/assets/stylesheets/media.css.scss +3 -0
  96. data/app/assets/stylesheets/mediamanager.css +10 -0
  97. data/app/assets/stylesheets/scaffolds.css +56 -0
  98. data/app/assets/stylesheets/scaffolds.css.scss +56 -0
  99. data/app/assets/stylesheets/ui.dynatree.css +440 -0
  100. data/app/assets/stylesheets/users_style.css +80 -0
  101. data/app/assets/videos/1leader.flv +0 -0
  102. data/app/controllers/application_controller.rb +7 -0
  103. data/app/controllers/application_controller.rb~ +3 -0
  104. data/app/controllers/articles_controller.rb~ +91 -0
  105. data/app/controllers/bolt/accesses_controller.rb +71 -0
  106. data/app/controllers/bolt/articles_categories_controller.rb +71 -0
  107. data/app/controllers/bolt/articles_controller.rb +97 -0
  108. data/app/controllers/bolt/articles_controller.rb~ +60 -0
  109. data/app/controllers/bolt/banners_controller.rb +58 -0
  110. data/app/controllers/bolt/blogs_controller.rb +82 -0
  111. data/app/controllers/bolt/bolt_controller.rb +234 -0
  112. data/app/controllers/bolt/bolt_controller.rb~ +201 -0
  113. data/app/controllers/bolt/categories_controller.rb +72 -0
  114. data/app/controllers/bolt/dashboard_controller.rb +14 -0
  115. data/app/controllers/bolt/dashboard_controller.rb~ +14 -0
  116. data/app/controllers/bolt/groups_controller.rb +100 -0
  117. data/app/controllers/bolt/groups_controller.rb~ +85 -0
  118. data/app/controllers/bolt/info_controller.rb +26 -0
  119. data/app/controllers/bolt/media_controller.rb +120 -0
  120. data/app/controllers/bolt/page_sections_controller.rb +58 -0
  121. data/app/controllers/bolt/pages_controller.rb +90 -0
  122. data/app/controllers/bolt/password_resets_controller.rb +66 -0
  123. data/app/controllers/bolt/settings_controller.rb +59 -0
  124. data/app/controllers/bolt/statuses_controller.rb +72 -0
  125. data/app/controllers/bolt/user_sessions_controller.rb +40 -0
  126. data/app/controllers/bolt/user_statuses_controller.rb +58 -0
  127. data/app/controllers/bolt/users_controller.rb +104 -0
  128. data/app/controllers/bolt/users_controller.rb~ +79 -0
  129. data/app/controllers/bolt/users_groups_controller.rb +99 -0
  130. data/app/controllers/bolt/users_groups_controller.rb~ +83 -0
  131. data/app/controllers/groups_controller.rb~ +83 -0
  132. data/app/controllers/users_groups_controller.rb~ +83 -0
  133. data/app/helpers/application_helper.rb +2 -0
  134. data/app/helpers/bolt/articles_helper.rb +2 -0
  135. data/app/helpers/bolt/bolt_helper.rb +208 -0
  136. data/app/helpers/bolt/bolt_helper.rb~ +208 -0
  137. data/app/helpers/bolt/config_helper.rb +46 -0
  138. data/app/helpers/bolt/config_helper.rb~ +46 -0
  139. data/app/helpers/bolt/groups_helper.rb +2 -0
  140. data/app/helpers/bolt/user_groups_helper.rb +2 -0
  141. data/app/helpers/bolt/users_groups_helper.rb +2 -0
  142. data/app/helpers/media_helper.rb +2 -0
  143. data/app/mailers/bolt/backbone_notification.rb~ +39 -0
  144. data/app/mailers/bolt/bolt_notification.rb +39 -0
  145. data/app/models/access.rb +5 -0
  146. data/app/models/article.rb +23 -0
  147. data/app/models/article.rb~ +3 -0
  148. data/app/models/articles_category.rb +12 -0
  149. data/app/models/blog.rb +5 -0
  150. data/app/models/bolt.rb +3 -0
  151. data/app/models/bolt.rb~ +5 -0
  152. data/app/models/bolt/group.rb~ +2 -0
  153. data/app/models/bolt/user.rb +56 -0
  154. data/app/models/bolt/user.rb~ +62 -0
  155. data/app/models/bolt/user_group.rb~ +3 -0
  156. data/app/models/bolt/user_session.rb +8 -0
  157. data/app/models/bolt/users_group.rb~ +2 -0
  158. data/app/models/category.rb +7 -0
  159. data/app/models/group.rb +8 -0
  160. data/app/models/group.rb~ +7 -0
  161. data/app/models/media_image.rb +19 -0
  162. data/app/models/media_images.rb +21 -0
  163. data/app/models/media_images.rb~ +21 -0
  164. data/app/models/medium.rb +8 -0
  165. data/app/models/page.rb +10 -0
  166. data/app/models/page_section.rb +3 -0
  167. data/app/models/setting.rb +3 -0
  168. data/app/models/status.rb +3 -0
  169. data/app/models/user_status.rb +3 -0
  170. data/app/models/users_group.rb +14 -0
  171. data/app/models/users_group.rb~ +6 -0
  172. data/app/views/bolt/accesses/_form.html.erb +13 -0
  173. data/app/views/bolt/accesses/_table.html.erb +17 -0
  174. data/app/views/bolt/accesses/_title.html.erb +9 -0
  175. data/app/views/bolt/accesses/index.html.erb +44 -0
  176. data/app/views/bolt/accesses/new.html.erb +18 -0
  177. data/app/views/bolt/accesses/show.html.erb +17 -0
  178. data/app/views/bolt/articles/_form.html.erb +113 -0
  179. data/app/views/bolt/articles/_form.html.erb~ +33 -0
  180. data/app/views/bolt/articles/_table.html.erb +29 -0
  181. data/app/views/bolt/articles/_table.html.erb~ +28 -0
  182. data/app/views/bolt/articles/_title.html.erb +9 -0
  183. data/app/views/bolt/articles/index.html.erb +37 -0
  184. data/app/views/bolt/articles/index.html.erb~ +10 -0
  185. data/app/views/bolt/articles/new.html.erb +16 -0
  186. data/app/views/bolt/articles/new.html.erb~ +18 -0
  187. data/app/views/bolt/articles/show.html.erb +17 -0
  188. data/app/views/bolt/articles/show.html.erb~ +17 -0
  189. data/app/views/bolt/articles_categories/_form.html.erb +13 -0
  190. data/app/views/bolt/articles_categories/_table.html.erb +18 -0
  191. data/app/views/bolt/articles_categories/index.html.erb +10 -0
  192. data/app/views/bolt/articles_categories/new.html.erb +18 -0
  193. data/app/views/bolt/articles_categories/show.html.erb +17 -0
  194. data/app/views/bolt/banners/_form.html.erb +13 -0
  195. data/app/views/bolt/banners/_table.html.erb +18 -0
  196. data/app/views/bolt/banners/index.html.erb +10 -0
  197. data/app/views/bolt/banners/new.html.erb +18 -0
  198. data/app/views/bolt/banners/show.html.erb +17 -0
  199. data/app/views/bolt/blogs/_form.html.erb +24 -0
  200. data/app/views/bolt/blogs/_table.html.erb +22 -0
  201. data/app/views/bolt/blogs/index.html.erb +33 -0
  202. data/app/views/bolt/blogs/new.html.erb +18 -0
  203. data/app/views/bolt/blogs/show.html.erb +17 -0
  204. data/app/views/bolt/bolt/index.html.erb +0 -0
  205. data/app/views/bolt/bolt/index.html.erb~ +3 -0
  206. data/app/views/bolt/bolt_notification/generate_new_password.erb +12 -0
  207. data/app/views/bolt/bolt_notification/new_user_information.erb +12 -0
  208. data/app/views/bolt/bolt_notification/password_reset_instructions.erb +11 -0
  209. data/app/views/bolt/categories/_form.html.erb +9 -0
  210. data/app/views/bolt/categories/_table.html.erb +17 -0
  211. data/app/views/bolt/categories/_title.html.erb +8 -0
  212. data/app/views/bolt/categories/index.html.erb +36 -0
  213. data/app/views/bolt/categories/new.html.erb +19 -0
  214. data/app/views/bolt/categories/show.html.erb +17 -0
  215. data/app/views/bolt/dashboard/index.html.erb +69 -0
  216. data/app/views/bolt/dashboard/index.html.erb~ +1 -0
  217. data/app/views/bolt/groups/_form.html.erb +18 -0
  218. data/app/views/bolt/groups/_form.html.erb~ +21 -0
  219. data/app/views/bolt/groups/_title.html.erb +5 -0
  220. data/app/views/bolt/groups/edit.html.erb +6 -0
  221. data/app/views/bolt/groups/index.html.erb +43 -0
  222. data/app/views/bolt/groups/index.html.erb~ +23 -0
  223. data/app/views/bolt/groups/new.html.erb +14 -0
  224. data/app/views/bolt/groups/new.html.erb~ +5 -0
  225. data/app/views/bolt/groups/show.html.erb +16 -0
  226. data/app/views/bolt/info/show.html.erb +43 -0
  227. data/app/views/bolt/info/show.html.erb~ +5 -0
  228. data/app/views/bolt/layouts/_left_navigation.html.erb +9 -0
  229. data/app/views/bolt/layouts/_left_navigation.html.erb~ +16 -0
  230. data/app/views/bolt/layouts/_right_navigation.html.erb +1 -0
  231. data/app/views/bolt/layouts/_right_navigation.html.erb~ +1 -0
  232. data/app/views/bolt/layouts/bolt_auth.html.erb +23 -0
  233. data/app/views/bolt/layouts/bolt_auth.html.erb~ +23 -0
  234. data/app/views/bolt/layouts/bolt_main.html.erb +86 -0
  235. data/app/views/bolt/layouts/bolt_main.html.erb~ +64 -0
  236. data/app/views/bolt/media/getfolderdatas.html.erb +31 -0
  237. data/app/views/bolt/media/index.html.erb +195 -0
  238. data/app/views/bolt/page_sections/_form.html.erb +21 -0
  239. data/app/views/bolt/page_sections/_table.html.erb +22 -0
  240. data/app/views/bolt/page_sections/index.html.erb +10 -0
  241. data/app/views/bolt/page_sections/new.html.erb +18 -0
  242. data/app/views/bolt/page_sections/show.html.erb +17 -0
  243. data/app/views/bolt/pages/_form.html.erb +166 -0
  244. data/app/views/bolt/pages/_form.html.erb~ +41 -0
  245. data/app/views/bolt/pages/_page_sections_form.html.erb +39 -0
  246. data/app/views/bolt/pages/_page_sections_form.html.erb~ +3 -0
  247. data/app/views/bolt/pages/_table.html.erb +29 -0
  248. data/app/views/bolt/pages/index.html.erb +34 -0
  249. data/app/views/bolt/pages/new.html.erb +18 -0
  250. data/app/views/bolt/pages/show.html.erb +18 -0
  251. data/app/views/bolt/password_resets/edit.html.erb +48 -0
  252. data/app/views/bolt/settings/_form.html.erb +25 -0
  253. data/app/views/bolt/settings/_table.html.erb +23 -0
  254. data/app/views/bolt/settings/index.html.erb +10 -0
  255. data/app/views/bolt/settings/new.html.erb +18 -0
  256. data/app/views/bolt/settings/show.html.erb +80 -0
  257. data/app/views/bolt/statuses/_form.html.erb +14 -0
  258. data/app/views/bolt/statuses/_table.html.erb +17 -0
  259. data/app/views/bolt/statuses/_title.html.erb +9 -0
  260. data/app/views/bolt/statuses/index.html.erb +37 -0
  261. data/app/views/bolt/statuses/new.html.erb +18 -0
  262. data/app/views/bolt/statuses/show.html.erb +17 -0
  263. data/app/views/bolt/user_sessions/new.html.erb +66 -0
  264. data/app/views/bolt/user_sessions_bk/new.html.erb +69 -0
  265. data/app/views/bolt/user_statuses/_form.html.erb +9 -0
  266. data/app/views/bolt/user_statuses/_table.html.erb +16 -0
  267. data/app/views/bolt/user_statuses/index.html.erb +10 -0
  268. data/app/views/bolt/user_statuses/new.html.erb +18 -0
  269. data/app/views/bolt/user_statuses/show.html.erb +17 -0
  270. data/app/views/bolt/users/_title.html.erb +8 -0
  271. data/app/views/bolt/users/index.html.erb +60 -0
  272. data/app/views/bolt/users/index.html.erb~ +35 -0
  273. data/app/views/bolt/users/new.html.erb +64 -0
  274. data/app/views/bolt/users/new.html.erb~ +46 -0
  275. data/app/views/bolt/users/response.json.builder~ +26 -0
  276. data/app/views/bolt/users/show.html.erb +130 -0
  277. data/app/views/bolt/users/show.html.erb~ +94 -0
  278. data/app/views/bolt/users_bk/_form.html.erb +77 -0
  279. data/app/views/bolt/users_bk/edit.html.erb +6 -0
  280. data/app/views/bolt/users_bk/index.html.erb +58 -0
  281. data/app/views/bolt/users_bk/index.html.erb~ +60 -0
  282. data/app/views/bolt/users_bk/new.html.erb +6 -0
  283. data/app/views/bolt/users_bk/show.html.erb +100 -0
  284. data/app/views/bolt/users_groups/_form.html.erb +25 -0
  285. data/app/views/bolt/users_groups/edit.html.erb +6 -0
  286. data/app/views/bolt/users_groups/index.html.erb +25 -0
  287. data/app/views/bolt/users_groups/new.html.erb +5 -0
  288. data/app/views/bolt/users_groups/show.html.erb +15 -0
  289. data/app/views/layouts/application.html.erb +18 -0
  290. data/app/views/layouts/application.html.erb~ +51 -0
  291. data/app/views/layouts/bolt_auth.html.erb +24 -0
  292. data/app/views/layouts/bolt_auth.html.erb~ +25 -0
  293. data/app/views/layouts/bolt_main.html.erb +142 -0
  294. data/app/views/layouts/bolt_main.html.erb~ +56 -0
  295. data/app/views/layouts/default_site.html.erb +81 -0
  296. data/app/views/user_groups/_form.html.erb +21 -0
  297. data/app/views/user_groups/edit.html.erb +6 -0
  298. data/app/views/user_groups/index.html.erb +32 -0
  299. data/app/views/user_groups/new.html.erb +5 -0
  300. data/app/views/user_groups/show.html.erb +10 -0
  301. data/config/application.rb +49 -0
  302. data/config/application.rb~ +48 -0
  303. data/config/boot.rb +6 -0
  304. data/config/database.yml +31 -0
  305. data/config/database.yml~ +25 -0
  306. data/config/environment.rb +5 -0
  307. data/config/environments/development.rb +30 -0
  308. data/config/environments/production.rb +60 -0
  309. data/config/environments/test.rb +39 -0
  310. data/config/initializers/backtrace_silencers.rb +7 -0
  311. data/config/initializers/inflections.rb +10 -0
  312. data/config/initializers/mime_types.rb +5 -0
  313. data/config/initializers/secret_token.rb +7 -0
  314. data/config/initializers/session_store.rb +8 -0
  315. data/config/initializers/wrap_parameters.rb +14 -0
  316. data/config/locales/en.yml +5 -0
  317. data/config/routes.rb +101 -0
  318. data/config/routes.rb~ +81 -0
  319. data/db/migrate/20111028162853_create_bolt_users.rb +49 -0
  320. data/db/migrate/20111028162853_create_bolt_users.rb~ +49 -0
  321. data/db/migrate/20120302083233_create_articles.rb~ +15 -0
  322. data/db/migrate/20120307133203_create_groups.rb +10 -0
  323. data/db/migrate/20120307133203_create_groups.rb~ +9 -0
  324. data/db/migrate/20120308113354_create_users_groups.rb +10 -0
  325. data/db/migrate/20120308113354_create_users_groups.rb~ +10 -0
  326. data/db/migrate/20120309070442_create_articles.rb +18 -0
  327. data/db/migrate/20120312063336_create_blogs.rb +15 -0
  328. data/db/migrate/20120312071401_create_categories.rb +13 -0
  329. data/db/migrate/20120313051136_create_accesses.rb +13 -0
  330. data/db/migrate/20120313051206_create_statuses.rb +13 -0
  331. data/db/migrate/20120313061322_create_media.rb +18 -0
  332. data/db/migrate/20120313061459_create_media_images.rb +10 -0
  333. data/db/migrate/20120313085220_create_user_statuses.rb +13 -0
  334. data/db/migrate/20120314060252_create_articles_categories.rb +14 -0
  335. data/db/migrate/20120314110540_create_pages.rb +24 -0
  336. data/db/migrate/20120314110540_create_pages.rb~ +24 -0
  337. data/db/migrate/20120314110602_create_page_sections.rb +20 -0
  338. data/db/migrate/20120314110602_create_page_sections.rb~ +20 -0
  339. data/db/migrate/20120314110922_add_ancestry_to_page.rb +9 -0
  340. data/db/migrate/20120315071805_change_mediaimages_column.rb +8 -0
  341. data/db/migrate/20120319132523_create_settings.rb +18 -0
  342. data/db/schema.rb +169 -0
  343. data/db/seeds.rb +7 -0
  344. data/doc/README_FOR_APP +2 -0
  345. data/lib/tasks/tasks.rake +31 -0
  346. data/public/404.html +26 -0
  347. data/public/422.html +26 -0
  348. data/public/500.html +26 -0
  349. data/public/bolt/images/backbone.png +0 -0
  350. data/public/bolt/images/header.png +0 -0
  351. data/public/bolt/images/icons/add.png +0 -0
  352. data/public/bolt/images/icons/ajax-spinner.gif +0 -0
  353. data/public/bolt/images/icons/delete.png +0 -0
  354. data/public/bolt/images/icons/icons.gif +0 -0
  355. data/public/bolt/images/icons/loading.gif +0 -0
  356. data/public/bolt/images/icons/spinner-sm.gif +0 -0
  357. data/public/bolt/images/icons/spinner.png +0 -0
  358. data/public/bolt/images/icons/table.png +0 -0
  359. data/public/bolt/images/icons/vline.gif +0 -0
  360. data/public/bolt/images/login/bottom.png +0 -0
  361. data/public/bolt/images/login/top.png +0 -0
  362. data/public/bolt/images/nav.png +0 -0
  363. data/public/bolt/images/rightNav.png +0 -0
  364. data/public/bolt/images/rightNavButton.png +0 -0
  365. data/public/bolt/images/visitSiteNav.png +0 -0
  366. data/public/bolt/imagesx/backbone.png +0 -0
  367. data/public/bolt/imagesx/header.png +0 -0
  368. data/public/bolt/imagesx/icons/add.png +0 -0
  369. data/public/bolt/imagesx/icons/ajax-spinner.gif +0 -0
  370. data/public/bolt/imagesx/icons/delete.png +0 -0
  371. data/public/bolt/imagesx/icons/icons.gif +0 -0
  372. data/public/bolt/imagesx/icons/loading.gif +0 -0
  373. data/public/bolt/imagesx/icons/spinner-sm.gif +0 -0
  374. data/public/bolt/imagesx/icons/spinner.png +0 -0
  375. data/public/bolt/imagesx/icons/table.png +0 -0
  376. data/public/bolt/imagesx/icons/vline.gif +0 -0
  377. data/public/bolt/imagesx/login/bottom.png +0 -0
  378. data/public/bolt/imagesx/login/top.png +0 -0
  379. data/public/bolt/imagesx/nav.png +0 -0
  380. data/public/bolt/imagesx/rightNav.png +0 -0
  381. data/public/bolt/imagesx/rightNavButton.png +0 -0
  382. data/public/bolt/imagesx/visitSiteNav.png +0 -0
  383. data/public/bolt/javascripts/backbone.js +25 -0
  384. data/public/bolt/javascripts/custom.js +2 -0
  385. data/public/bolt/javascripts/jquery.js +154 -0
  386. data/public/bolt/javascripts/login.js +24 -0
  387. data/public/bolt/javascripts/rails.js +132 -0
  388. data/public/bolt/stylesheets/custom.css +82 -0
  389. data/public/bolt/stylesheets/custom.css~ +82 -0
  390. data/public/bolt/stylesheets/elements.css +316 -0
  391. data/public/bolt/stylesheets/elements.css~ +307 -0
  392. data/public/bolt/stylesheets/login.css +137 -0
  393. data/public/bolt/stylesheets/login.css~ +137 -0
  394. data/public/bolt/stylesheets/screen.css +224 -0
  395. data/public/bolt/stylesheets/screen.css~ +224 -0
  396. data/public/favicon.ico +0 -0
  397. data/public/images/article.png +0 -0
  398. data/public/images/backbone.png +0 -0
  399. data/public/images/cancel.png +0 -0
  400. data/public/images/cat.png +0 -0
  401. data/public/images/delete.png +0 -0
  402. data/public/images/edit.png +0 -0
  403. data/public/images/file.gif +0 -0
  404. data/public/images/folder-closed.gif +0 -0
  405. data/public/images/folder.gif +0 -0
  406. data/public/images/header.png +0 -0
  407. data/public/images/icons.gif +0 -0
  408. data/public/images/icons/add.png +0 -0
  409. data/public/images/icons/ajax-spinner.gif +0 -0
  410. data/public/images/icons/delete.png +0 -0
  411. data/public/images/icons/icons.gif +0 -0
  412. data/public/images/icons/loading.gif +0 -0
  413. data/public/images/icons/spinner-sm.gif +0 -0
  414. data/public/images/icons/spinner.png +0 -0
  415. data/public/images/icons/table.png +0 -0
  416. data/public/images/icons/vline.gif +0 -0
  417. data/public/images/ii.jpg +0 -0
  418. data/public/images/loading.gif +0 -0
  419. data/public/images/login/bottom.png +0 -0
  420. data/public/images/login/top.png +0 -0
  421. data/public/images/logo.png +0 -0
  422. data/public/images/logout.png +0 -0
  423. data/public/images/media.png +0 -0
  424. data/public/images/minus.gif +0 -0
  425. data/public/images/nav.png +0 -0
  426. data/public/images/new.png +0 -0
  427. data/public/images/plus.gif +0 -0
  428. data/public/images/profileimg.png +0 -0
  429. data/public/images/rails.png +0 -0
  430. data/public/images/rightNav.png +0 -0
  431. data/public/images/rightNavButton.png +0 -0
  432. data/public/images/treeview-black-line.gif +0 -0
  433. data/public/images/treeview-black.gif +0 -0
  434. data/public/images/treeview-default-line.gif +0 -0
  435. data/public/images/treeview-default.gif +0 -0
  436. data/public/images/treeview-famfamfam-line.gif +0 -0
  437. data/public/images/treeview-famfamfam.gif +0 -0
  438. data/public/images/treeview-gray-line.gif +0 -0
  439. data/public/images/treeview-gray.gif +0 -0
  440. data/public/images/treeview-red-line.gif +0 -0
  441. data/public/images/treeview-red.gif +0 -0
  442. data/public/images/ui.dynatree.css +440 -0
  443. data/public/images/user.png +0 -0
  444. data/public/images/user1.png +0 -0
  445. data/public/images/visitSiteNav.png +0 -0
  446. data/public/images/vline.gif +0 -0
  447. data/public/javascripts/backbone.js +25 -0
  448. data/public/javascripts/custom.js +2 -0
  449. data/public/javascripts/jquery.js +154 -0
  450. data/public/javascripts/login.js +24 -0
  451. data/public/javascripts/rails.js +132 -0
  452. data/public/jqueryui/css/ui-lightness/images/ui-bg_diagonals-thick_18_b81900_40x40.png +0 -0
  453. data/public/jqueryui/css/ui-lightness/images/ui-bg_diagonals-thick_20_666666_40x40.png +0 -0
  454. data/public/jqueryui/css/ui-lightness/images/ui-bg_flat_10_000000_40x100.png +0 -0
  455. data/public/jqueryui/css/ui-lightness/images/ui-bg_glass_100_f6f6f6_1x400.png +0 -0
  456. data/public/jqueryui/css/ui-lightness/images/ui-bg_glass_100_fdf5ce_1x400.png +0 -0
  457. data/public/jqueryui/css/ui-lightness/images/ui-bg_glass_65_ffffff_1x400.png +0 -0
  458. data/public/jqueryui/css/ui-lightness/images/ui-bg_gloss-wave_35_f6a828_500x100.png +0 -0
  459. data/public/jqueryui/css/ui-lightness/images/ui-bg_highlight-soft_100_eeeeee_1x100.png +0 -0
  460. data/public/jqueryui/css/ui-lightness/images/ui-bg_highlight-soft_75_ffe45c_1x100.png +0 -0
  461. data/public/jqueryui/css/ui-lightness/images/ui-icons_222222_256x240.png +0 -0
  462. data/public/jqueryui/css/ui-lightness/images/ui-icons_228ef1_256x240.png +0 -0
  463. data/public/jqueryui/css/ui-lightness/images/ui-icons_ef8c08_256x240.png +0 -0
  464. data/public/jqueryui/css/ui-lightness/images/ui-icons_ffd27a_256x240.png +0 -0
  465. data/public/jqueryui/css/ui-lightness/images/ui-icons_ffffff_256x240.png +0 -0
  466. data/public/jqueryui/css/ui-lightness/jquery-ui-1.8.18.custom.css +336 -0
  467. data/public/jqueryui/development-bundle/AUTHORS.txt +30 -0
  468. data/public/jqueryui/development-bundle/GPL-LICENSE.txt +278 -0
  469. data/public/jqueryui/development-bundle/MIT-LICENSE.txt +25 -0
  470. data/public/jqueryui/development-bundle/demos/demos.css +334 -0
  471. data/public/jqueryui/development-bundle/demos/dialog/animated.html +56 -0
  472. data/public/jqueryui/development-bundle/demos/dialog/default.html +54 -0
  473. data/public/jqueryui/development-bundle/demos/dialog/index.html +23 -0
  474. data/public/jqueryui/development-bundle/demos/dialog/modal-confirmation.html +69 -0
  475. data/public/jqueryui/development-bundle/demos/dialog/modal-form.html +167 -0
  476. data/public/jqueryui/development-bundle/demos/dialog/modal-message.html +71 -0
  477. data/public/jqueryui/development-bundle/demos/dialog/modal.html +60 -0
  478. data/public/jqueryui/development-bundle/demos/draggable/constrain-movement.html +69 -0
  479. data/public/jqueryui/development-bundle/demos/draggable/cursor-style.html +49 -0
  480. data/public/jqueryui/development-bundle/demos/draggable/default.html +39 -0
  481. data/public/jqueryui/development-bundle/demos/draggable/delay-start.html +45 -0
  482. data/public/jqueryui/development-bundle/demos/draggable/events.html +77 -0
  483. data/public/jqueryui/development-bundle/demos/draggable/handle.html +50 -0
  484. data/public/jqueryui/development-bundle/demos/draggable/index.html +28 -0
  485. data/public/jqueryui/development-bundle/demos/draggable/revert.html +44 -0
  486. data/public/jqueryui/development-bundle/demos/draggable/scroll.html +51 -0
  487. data/public/jqueryui/development-bundle/demos/draggable/snap-to.html +68 -0
  488. data/public/jqueryui/development-bundle/demos/draggable/sortable.html +57 -0
  489. data/public/jqueryui/development-bundle/demos/draggable/visual-feedback.html +77 -0
  490. data/public/jqueryui/development-bundle/demos/droppable/accepted-elements.html +60 -0
  491. data/public/jqueryui/development-bundle/demos/droppable/default.html +53 -0
  492. data/public/jqueryui/development-bundle/demos/droppable/images/high_tatras.jpg +0 -0
  493. data/public/jqueryui/development-bundle/demos/droppable/images/high_tatras2.jpg +0 -0
  494. data/public/jqueryui/development-bundle/demos/droppable/images/high_tatras2_min.jpg +0 -0
  495. data/public/jqueryui/development-bundle/demos/droppable/images/high_tatras3.jpg +0 -0
  496. data/public/jqueryui/development-bundle/demos/droppable/images/high_tatras3_min.jpg +0 -0
  497. data/public/jqueryui/development-bundle/demos/droppable/images/high_tatras4.jpg +0 -0
  498. data/public/jqueryui/development-bundle/demos/droppable/images/high_tatras4_min.jpg +0 -0
  499. data/public/jqueryui/development-bundle/demos/droppable/images/high_tatras_min.jpg +0 -0
  500. data/public/jqueryui/development-bundle/demos/droppable/index.html +24 -0
  501. data/public/jqueryui/development-bundle/demos/droppable/photo-manager.html +184 -0
  502. data/public/jqueryui/development-bundle/demos/droppable/propagation.html +80 -0
  503. data/public/jqueryui/development-bundle/demos/droppable/revert.html +61 -0
  504. data/public/jqueryui/development-bundle/demos/droppable/shopping-cart.html +101 -0
  505. data/public/jqueryui/development-bundle/demos/droppable/visual-feedback.html +78 -0
  506. data/public/jqueryui/development-bundle/demos/images/calendar.gif +0 -0
  507. data/public/jqueryui/development-bundle/demos/images/demo-config-on-tile.gif +0 -0
  508. data/public/jqueryui/development-bundle/demos/images/demo-config-on.gif +0 -0
  509. data/public/jqueryui/development-bundle/demos/images/demo-spindown-closed.gif +0 -0
  510. data/public/jqueryui/development-bundle/demos/images/demo-spindown-open.gif +0 -0
  511. data/public/jqueryui/development-bundle/demos/images/icon-docs-info.gif +0 -0
  512. data/public/jqueryui/development-bundle/demos/images/pbar-ani.gif +0 -0
  513. data/public/jqueryui/development-bundle/demos/index.html +328 -0
  514. data/public/jqueryui/development-bundle/demos/position/cycler.html +122 -0
  515. data/public/jqueryui/development-bundle/demos/position/default.html +153 -0
  516. data/public/jqueryui/development-bundle/demos/position/images/earth.jpg +0 -0
  517. data/public/jqueryui/development-bundle/demos/position/images/flight.jpg +0 -0
  518. data/public/jqueryui/development-bundle/demos/position/images/rocket.jpg +0 -0
  519. data/public/jqueryui/development-bundle/demos/position/index.html +19 -0
  520. data/public/jqueryui/development-bundle/demos/resizable/animate.html +43 -0
  521. data/public/jqueryui/development-bundle/demos/resizable/aspect-ratio.html +42 -0
  522. data/public/jqueryui/development-bundle/demos/resizable/constrain-area.html +47 -0
  523. data/public/jqueryui/development-bundle/demos/resizable/default.html +40 -0
  524. data/public/jqueryui/development-bundle/demos/resizable/delay-start.html +52 -0
  525. data/public/jqueryui/development-bundle/demos/resizable/helper.html +43 -0
  526. data/public/jqueryui/development-bundle/demos/resizable/index.html +28 -0
  527. data/public/jqueryui/development-bundle/demos/resizable/max-min.html +45 -0
  528. data/public/jqueryui/development-bundle/demos/resizable/snap-to-grid.html +42 -0
  529. data/public/jqueryui/development-bundle/demos/resizable/synchronous-resize.html +49 -0
  530. data/public/jqueryui/development-bundle/demos/resizable/textarea.html +41 -0
  531. data/public/jqueryui/development-bundle/demos/resizable/visual-feedback.html +43 -0
  532. data/public/jqueryui/development-bundle/demos/selectable/default.html +50 -0
  533. data/public/jqueryui/development-bundle/demos/selectable/display-grid.html +55 -0
  534. data/public/jqueryui/development-bundle/demos/selectable/index.html +20 -0
  535. data/public/jqueryui/development-bundle/demos/selectable/serialize.html +61 -0
  536. data/public/jqueryui/development-bundle/demos/sortable/connect-lists-through-tabs.html +78 -0
  537. data/public/jqueryui/development-bundle/demos/sortable/connect-lists.html +58 -0
  538. data/public/jqueryui/development-bundle/demos/sortable/default.html +51 -0
  539. data/public/jqueryui/development-bundle/demos/sortable/delay-start.html +67 -0
  540. data/public/jqueryui/development-bundle/demos/sortable/display-grid.html +54 -0
  541. data/public/jqueryui/development-bundle/demos/sortable/empty-lists.html +69 -0
  542. data/public/jqueryui/development-bundle/demos/sortable/index.html +26 -0
  543. data/public/jqueryui/development-bundle/demos/sortable/items.html +70 -0
  544. data/public/jqueryui/development-bundle/demos/sortable/placeholder.html +56 -0
  545. data/public/jqueryui/development-bundle/demos/sortable/portlets.html +96 -0
  546. data/public/jqueryui/development-bundle/docs/dialog.html +1698 -0
  547. data/public/jqueryui/development-bundle/docs/draggable.html +1577 -0
  548. data/public/jqueryui/development-bundle/docs/droppable.html +829 -0
  549. data/public/jqueryui/development-bundle/docs/position.html +245 -0
  550. data/public/jqueryui/development-bundle/docs/resizable.html +1201 -0
  551. data/public/jqueryui/development-bundle/docs/selectable.html +848 -0
  552. data/public/jqueryui/development-bundle/docs/sortable.html +1953 -0
  553. data/public/jqueryui/development-bundle/external/jquery.bgiframe-2.1.2.js +39 -0
  554. data/public/jqueryui/development-bundle/external/jquery.cookie.js +89 -0
  555. data/public/jqueryui/development-bundle/external/jquery.metadata.js +122 -0
  556. data/public/jqueryui/development-bundle/external/qunit.css +225 -0
  557. data/public/jqueryui/development-bundle/external/qunit.js +1448 -0
  558. data/public/jqueryui/development-bundle/jquery-1.7.1.js +9266 -0
  559. data/public/jqueryui/development-bundle/themes/base/images/ui-bg_flat_0_aaaaaa_40x100.png +0 -0
  560. data/public/jqueryui/development-bundle/themes/base/images/ui-bg_flat_75_ffffff_40x100.png +0 -0
  561. data/public/jqueryui/development-bundle/themes/base/images/ui-bg_glass_55_fbf9ee_1x400.png +0 -0
  562. data/public/jqueryui/development-bundle/themes/base/images/ui-bg_glass_65_ffffff_1x400.png +0 -0
  563. data/public/jqueryui/development-bundle/themes/base/images/ui-bg_glass_75_dadada_1x400.png +0 -0
  564. data/public/jqueryui/development-bundle/themes/base/images/ui-bg_glass_75_e6e6e6_1x400.png +0 -0
  565. data/public/jqueryui/development-bundle/themes/base/images/ui-bg_glass_95_fef1ec_1x400.png +0 -0
  566. data/public/jqueryui/development-bundle/themes/base/images/ui-bg_highlight-soft_75_cccccc_1x100.png +0 -0
  567. data/public/jqueryui/development-bundle/themes/base/images/ui-icons_222222_256x240.png +0 -0
  568. data/public/jqueryui/development-bundle/themes/base/images/ui-icons_2e83ff_256x240.png +0 -0
  569. data/public/jqueryui/development-bundle/themes/base/images/ui-icons_454545_256x240.png +0 -0
  570. data/public/jqueryui/development-bundle/themes/base/images/ui-icons_888888_256x240.png +0 -0
  571. data/public/jqueryui/development-bundle/themes/base/images/ui-icons_cd0a0a_256x240.png +0 -0
  572. data/public/jqueryui/development-bundle/themes/base/jquery.ui.all.css +11 -0
  573. data/public/jqueryui/development-bundle/themes/base/jquery.ui.base.css +4 -0
  574. data/public/jqueryui/development-bundle/themes/base/jquery.ui.core.css +38 -0
  575. data/public/jqueryui/development-bundle/themes/base/jquery.ui.dialog.css +21 -0
  576. data/public/jqueryui/development-bundle/themes/base/jquery.ui.resizable.css +20 -0
  577. data/public/jqueryui/development-bundle/themes/base/jquery.ui.selectable.css +10 -0
  578. data/public/jqueryui/development-bundle/themes/base/jquery.ui.theme.css +247 -0
  579. data/public/jqueryui/development-bundle/themes/ui-lightness/images/ui-bg_diagonals-thick_18_b81900_40x40.png +0 -0
  580. data/public/jqueryui/development-bundle/themes/ui-lightness/images/ui-bg_diagonals-thick_20_666666_40x40.png +0 -0
  581. data/public/jqueryui/development-bundle/themes/ui-lightness/images/ui-bg_flat_10_000000_40x100.png +0 -0
  582. data/public/jqueryui/development-bundle/themes/ui-lightness/images/ui-bg_glass_100_f6f6f6_1x400.png +0 -0
  583. data/public/jqueryui/development-bundle/themes/ui-lightness/images/ui-bg_glass_100_fdf5ce_1x400.png +0 -0
  584. data/public/jqueryui/development-bundle/themes/ui-lightness/images/ui-bg_glass_65_ffffff_1x400.png +0 -0
  585. data/public/jqueryui/development-bundle/themes/ui-lightness/images/ui-bg_gloss-wave_35_f6a828_500x100.png +0 -0
  586. data/public/jqueryui/development-bundle/themes/ui-lightness/images/ui-bg_highlight-soft_100_eeeeee_1x100.png +0 -0
  587. data/public/jqueryui/development-bundle/themes/ui-lightness/images/ui-bg_highlight-soft_75_ffe45c_1x100.png +0 -0
  588. data/public/jqueryui/development-bundle/themes/ui-lightness/images/ui-icons_222222_256x240.png +0 -0
  589. data/public/jqueryui/development-bundle/themes/ui-lightness/images/ui-icons_228ef1_256x240.png +0 -0
  590. data/public/jqueryui/development-bundle/themes/ui-lightness/images/ui-icons_ef8c08_256x240.png +0 -0
  591. data/public/jqueryui/development-bundle/themes/ui-lightness/images/ui-icons_ffd27a_256x240.png +0 -0
  592. data/public/jqueryui/development-bundle/themes/ui-lightness/images/ui-icons_ffffff_256x240.png +0 -0
  593. data/public/jqueryui/development-bundle/themes/ui-lightness/jquery-ui-1.8.18.custom.css +336 -0
  594. data/public/jqueryui/development-bundle/themes/ui-lightness/jquery.ui.all.css +11 -0
  595. data/public/jqueryui/development-bundle/themes/ui-lightness/jquery.ui.base.css +4 -0
  596. data/public/jqueryui/development-bundle/themes/ui-lightness/jquery.ui.core.css +38 -0
  597. data/public/jqueryui/development-bundle/themes/ui-lightness/jquery.ui.dialog.css +21 -0
  598. data/public/jqueryui/development-bundle/themes/ui-lightness/jquery.ui.resizable.css +20 -0
  599. data/public/jqueryui/development-bundle/themes/ui-lightness/jquery.ui.selectable.css +10 -0
  600. data/public/jqueryui/development-bundle/themes/ui-lightness/jquery.ui.theme.css +249 -0
  601. data/public/jqueryui/development-bundle/ui/jquery-ui-1.8.18.custom.js +5206 -0
  602. data/public/jqueryui/development-bundle/ui/jquery.ui.core.js +319 -0
  603. data/public/jqueryui/development-bundle/ui/jquery.ui.dialog.js +878 -0
  604. data/public/jqueryui/development-bundle/ui/jquery.ui.draggable.js +825 -0
  605. data/public/jqueryui/development-bundle/ui/jquery.ui.droppable.js +296 -0
  606. data/public/jqueryui/development-bundle/ui/jquery.ui.mouse.js +162 -0
  607. data/public/jqueryui/development-bundle/ui/jquery.ui.position.js +298 -0
  608. data/public/jqueryui/development-bundle/ui/jquery.ui.resizable.js +808 -0
  609. data/public/jqueryui/development-bundle/ui/jquery.ui.selectable.js +267 -0
  610. data/public/jqueryui/development-bundle/ui/jquery.ui.sortable.js +1081 -0
  611. data/public/jqueryui/development-bundle/ui/jquery.ui.widget.js +272 -0
  612. data/public/jqueryui/development-bundle/ui/minified/jquery.ui.core.min.js +9 -0
  613. data/public/jqueryui/development-bundle/ui/minified/jquery.ui.dialog.min.js +18 -0
  614. data/public/jqueryui/development-bundle/ui/minified/jquery.ui.draggable.min.js +14 -0
  615. data/public/jqueryui/development-bundle/ui/minified/jquery.ui.droppable.min.js +15 -0
  616. data/public/jqueryui/development-bundle/ui/minified/jquery.ui.mouse.min.js +12 -0
  617. data/public/jqueryui/development-bundle/ui/minified/jquery.ui.position.min.js +9 -0
  618. data/public/jqueryui/development-bundle/ui/minified/jquery.ui.resizable.min.js +14 -0
  619. data/public/jqueryui/development-bundle/ui/minified/jquery.ui.selectable.min.js +14 -0
  620. data/public/jqueryui/development-bundle/ui/minified/jquery.ui.sortable.min.js +14 -0
  621. data/public/jqueryui/development-bundle/ui/minified/jquery.ui.widget.min.js +9 -0
  622. data/public/jqueryui/development-bundle/version.txt +1 -0
  623. data/public/jqueryui/js/jquery-1.7.1.min.js +4 -0
  624. data/public/jqueryui/js/jquery-ui-1.8.18.custom.min.js +119 -0
  625. data/public/robots.txt +5 -0
  626. data/public/stylesheets/custom.css +91 -0
  627. data/public/stylesheets/custom.css~ +82 -0
  628. data/public/stylesheets/elements.css +315 -0
  629. data/public/stylesheets/elements.css~ +307 -0
  630. data/public/stylesheets/login.css +137 -0
  631. data/public/stylesheets/login.css~ +137 -0
  632. data/public/stylesheets/screen.css +224 -0
  633. data/public/stylesheets/screen.css~ +224 -0
  634. data/script/rails +6 -0
  635. data/test/fixtures/bolt/groups.yml +7 -0
  636. data/test/fixtures/bolt/users_groups.yml +9 -0
  637. data/test/fixtures/media.yml +13 -0
  638. data/test/fixtures/media_images.yml +9 -0
  639. data/test/functional/bolt/groups_controller_test.rb +49 -0
  640. data/test/functional/bolt/users_groups_controller_test.rb +49 -0
  641. data/test/functional/media_controller_test.rb +49 -0
  642. data/test/performance/browsing_test.rb +12 -0
  643. data/test/test_helper.rb +13 -0
  644. data/test/unit/bolt/group_test.rb +7 -0
  645. data/test/unit/bolt/users_group_test.rb +7 -0
  646. data/test/unit/helpers/bolt/groups_helper_test.rb +4 -0
  647. data/test/unit/helpers/bolt/users_groups_helper_test.rb +4 -0
  648. data/test/unit/helpers/media_helper_test.rb +4 -0
  649. data/test/unit/media_images_test.rb +7 -0
  650. data/test/unit/medium_test.rb +7 -0
  651. metadata +716 -0
@@ -0,0 +1,848 @@
1
+
2
+ <ul class="UIAPIPlugin-toc">
3
+ <li><a href="#overview">Overview</a></li>
4
+ <li><a href="#options">Options</a></li>
5
+ <li><a href="#events">Events</a></li>
6
+ <li><a href="#methods">Methods</a></li>
7
+ <li><a href="#theming">Theming</a></li>
8
+ </ul>
9
+ <div class="UIAPIPlugin">
10
+ <h1>jQuery UI Selectable</h1>
11
+ <div id="overview">
12
+ <h2 class="top-header">Overview</h2>
13
+ <div id="overview-main">
14
+ <p>The jQuery UI Selectable plugin allows for elements to be selected by dragging a box (sometimes called a lasso) with the mouse over the elements. Also, elements can be selected by click or drag while holding the Ctrl/Meta key, allowing for multiple (non-contiguous) selections.</p>
15
+ </div>
16
+ <div id="overview-dependencies">
17
+ <h3>Dependencies</h3>
18
+ <ul>
19
+ <li>UI Core</li>
20
+ <li>UI Widget</li>
21
+ <li>UI Mouse</li>
22
+ </ul>
23
+ </div>
24
+ <div id="overview-example">
25
+ <h3>Example</h3>
26
+ <div id="overview-example" class="example">
27
+ <ul><li><a href="#demo"><span>Demo</span></a></li><li><a href="#source"><span>View Source</span></a></li></ul>
28
+ <p><div id="demo" class="tabs-container" rel="">
29
+ A simple jQuery UI Selectable.<br />
30
+ </p>
31
+ <pre>$(&quot;#selectable&quot;).selectable();
32
+ </pre>
33
+ <p></div><div id="source" class="tabs-container">
34
+ </p>
35
+ <pre>&lt;!DOCTYPE html&gt;
36
+ &lt;html&gt;
37
+ &lt;head&gt;
38
+ &lt;link href=&quot;http://ajax.googleapis.com/ajax/libs/jqueryui/1.8/themes/base/jquery-ui.css&quot; rel=&quot;stylesheet&quot; type=&quot;text/css&quot;/&gt;
39
+ &lt;script src=&quot;http://ajax.googleapis.com/ajax/libs/jquery/1.5/jquery.min.js&quot;&gt;&lt;/script&gt;
40
+ &lt;script src=&quot;http://ajax.googleapis.com/ajax/libs/jqueryui/1.8/jquery-ui.min.js&quot;&gt;&lt;/script&gt;
41
+ &lt;style type=&quot;text/css&quot;&gt;
42
+ #selectable .ui-selecting {
43
+ background: silver;
44
+ }
45
+ #selectable .ui-selected {
46
+ background: gray;
47
+ }
48
+ &lt;/style&gt;
49
+
50
+ &lt;script&gt;
51
+ $(document).ready(function() {
52
+ $(&quot;#selectable&quot;).selectable();
53
+ });
54
+ &lt;/script&gt;
55
+ &lt;/head&gt;
56
+ &lt;body style="font-size:62.5%;"&gt;
57
+
58
+ &lt;ul id=&quot;selectable&quot;&gt;
59
+ &lt;li&gt;Item 1&lt;/li&gt;
60
+ &lt;li&gt;Item 2&lt;/li&gt;
61
+ &lt;li&gt;Item 3&lt;/li&gt;
62
+ &lt;li&gt;Item 4&lt;/li&gt;
63
+ &lt;li&gt;Item 5&lt;/li&gt;
64
+ &lt;/ul&gt;
65
+
66
+ &lt;/body&gt;
67
+ &lt;/html&gt;
68
+ </pre>
69
+ <p></div>
70
+ </p><p></div>
71
+ </div>
72
+ </div>
73
+ <div id="options">
74
+ <h2 class="top-header">Options</h2>
75
+ <ul class="options-list">
76
+
77
+ <li class="option" id="option-disabled">
78
+ <div class="option-header">
79
+ <h3 class="option-name"><a href="#option-disabled">disabled</a></h3>
80
+ <dl>
81
+ <dt class="option-type-label">Type:</dt>
82
+ <dd class="option-type">Boolean</dd>
83
+
84
+ <dt class="option-default-label">Default:</dt>
85
+ <dd class="option-default">false</dd>
86
+
87
+ </dl>
88
+ </div>
89
+ <div class="option-description">
90
+ <p>Disables (true) or enables (false) the selectable. Can be set when initialising (first creating) the selectable.</p>
91
+ </div>
92
+ <div class="option-examples">
93
+ <h4>Code examples</h4>
94
+ <dl class="option-examples-list">
95
+
96
+ <dt>
97
+ Initialize a selectable with the <code>disabled</code> option specified.
98
+ </dt>
99
+ <dd>
100
+ <pre><code>$( ".selector" ).selectable({ disabled: true });</code></pre>
101
+ </dd>
102
+
103
+
104
+ <dt>
105
+ Get or set the <code>disabled</code> option, after init.
106
+ </dt>
107
+ <dd>
108
+ <pre><code>//getter
109
+ var disabled = $( ".selector" ).selectable( "option", "disabled" );
110
+ //setter
111
+ $( ".selector" ).selectable( "option", "disabled", true );</code></pre>
112
+ </dd>
113
+
114
+ </dl>
115
+ </div>
116
+ </li>
117
+
118
+
119
+ <li class="option" id="option-autoRefresh">
120
+ <div class="option-header">
121
+ <h3 class="option-name"><a href="#option-autoRefresh">autoRefresh</a></h3>
122
+ <dl>
123
+ <dt class="option-type-label">Type:</dt>
124
+ <dd class="option-type">Boolean</dd>
125
+
126
+ <dt class="option-default-label">Default:</dt>
127
+ <dd class="option-default">true</dd>
128
+
129
+ </dl>
130
+ </div>
131
+ <div class="option-description">
132
+ <p>This determines whether to refresh (recalculate) the position and size of each selectee at the beginning of each select operation. If you have many many items, you may want to set this to false and call the refresh method manually.</p>
133
+ </div>
134
+ <div class="option-examples">
135
+ <h4>Code examples</h4>
136
+ <dl class="option-examples-list">
137
+
138
+ <dt>
139
+ Initialize a selectable with the <code>autoRefresh</code> option specified.
140
+ </dt>
141
+ <dd>
142
+ <pre><code>$( ".selector" ).selectable({ autoRefresh: false });</code></pre>
143
+ </dd>
144
+
145
+
146
+ <dt>
147
+ Get or set the <code>autoRefresh</code> option, after init.
148
+ </dt>
149
+ <dd>
150
+ <pre><code>//getter
151
+ var autoRefresh = $( ".selector" ).selectable( "option", "autoRefresh" );
152
+ //setter
153
+ $( ".selector" ).selectable( "option", "autoRefresh", false );</code></pre>
154
+ </dd>
155
+
156
+ </dl>
157
+ </div>
158
+ </li>
159
+
160
+
161
+ <li class="option" id="option-cancel">
162
+ <div class="option-header">
163
+ <h3 class="option-name"><a href="#option-cancel">cancel</a></h3>
164
+ <dl>
165
+ <dt class="option-type-label">Type:</dt>
166
+ <dd class="option-type">Selector</dd>
167
+
168
+ <dt class="option-default-label">Default:</dt>
169
+ <dd class="option-default">':input,option'</dd>
170
+
171
+ </dl>
172
+ </div>
173
+ <div class="option-description">
174
+ <p>Prevents selecting if you start on elements matching the selector.</p>
175
+ </div>
176
+ <div class="option-examples">
177
+ <h4>Code examples</h4>
178
+ <dl class="option-examples-list">
179
+
180
+ <dt>
181
+ Initialize a selectable with the <code>cancel</code> option specified.
182
+ </dt>
183
+ <dd>
184
+ <pre><code>$( ".selector" ).selectable({ cancel: ':input,option' });</code></pre>
185
+ </dd>
186
+
187
+
188
+ <dt>
189
+ Get or set the <code>cancel</code> option, after init.
190
+ </dt>
191
+ <dd>
192
+ <pre><code>//getter
193
+ var cancel = $( ".selector" ).selectable( "option", "cancel" );
194
+ //setter
195
+ $( ".selector" ).selectable( "option", "cancel", ':input,option' );</code></pre>
196
+ </dd>
197
+
198
+ </dl>
199
+ </div>
200
+ </li>
201
+
202
+
203
+ <li class="option" id="option-delay">
204
+ <div class="option-header">
205
+ <h3 class="option-name"><a href="#option-delay">delay</a></h3>
206
+ <dl>
207
+ <dt class="option-type-label">Type:</dt>
208
+ <dd class="option-type">Integer</dd>
209
+
210
+ <dt class="option-default-label">Default:</dt>
211
+ <dd class="option-default">0</dd>
212
+
213
+ </dl>
214
+ </div>
215
+ <div class="option-description">
216
+ <p>Time in milliseconds to define when the selecting should start. It helps preventing unwanted selections when clicking on an element.</p>
217
+ </div>
218
+ <div class="option-examples">
219
+ <h4>Code examples</h4>
220
+ <dl class="option-examples-list">
221
+
222
+ <dt>
223
+ Initialize a selectable with the <code>delay</code> option specified.
224
+ </dt>
225
+ <dd>
226
+ <pre><code>$( ".selector" ).selectable({ delay: 20 });</code></pre>
227
+ </dd>
228
+
229
+
230
+ <dt>
231
+ Get or set the <code>delay</code> option, after init.
232
+ </dt>
233
+ <dd>
234
+ <pre><code>//getter
235
+ var delay = $( ".selector" ).selectable( "option", "delay" );
236
+ //setter
237
+ $( ".selector" ).selectable( "option", "delay", 20 );</code></pre>
238
+ </dd>
239
+
240
+ </dl>
241
+ </div>
242
+ </li>
243
+
244
+
245
+ <li class="option" id="option-distance">
246
+ <div class="option-header">
247
+ <h3 class="option-name"><a href="#option-distance">distance</a></h3>
248
+ <dl>
249
+ <dt class="option-type-label">Type:</dt>
250
+ <dd class="option-type">Integer</dd>
251
+
252
+ <dt class="option-default-label">Default:</dt>
253
+ <dd class="option-default">0</dd>
254
+
255
+ </dl>
256
+ </div>
257
+ <div class="option-description">
258
+ <p>Tolerance, in pixels, for when selecting should start. If specified, selecting will not start until after mouse is dragged beyond distance.</p>
259
+ </div>
260
+ <div class="option-examples">
261
+ <h4>Code examples</h4>
262
+ <dl class="option-examples-list">
263
+
264
+ <dt>
265
+ Initialize a selectable with the <code>distance</code> option specified.
266
+ </dt>
267
+ <dd>
268
+ <pre><code>$( ".selector" ).selectable({ distance: 20 });</code></pre>
269
+ </dd>
270
+
271
+
272
+ <dt>
273
+ Get or set the <code>distance</code> option, after init.
274
+ </dt>
275
+ <dd>
276
+ <pre><code>//getter
277
+ var distance = $( ".selector" ).selectable( "option", "distance" );
278
+ //setter
279
+ $( ".selector" ).selectable( "option", "distance", 20 );</code></pre>
280
+ </dd>
281
+
282
+ </dl>
283
+ </div>
284
+ </li>
285
+
286
+
287
+ <li class="option" id="option-filter">
288
+ <div class="option-header">
289
+ <h3 class="option-name"><a href="#option-filter">filter</a></h3>
290
+ <dl>
291
+ <dt class="option-type-label">Type:</dt>
292
+ <dd class="option-type">Selector</dd>
293
+
294
+ <dt class="option-default-label">Default:</dt>
295
+ <dd class="option-default">'*'</dd>
296
+
297
+ </dl>
298
+ </div>
299
+ <div class="option-description">
300
+ <p>The matching child elements will be made selectees (able to be selected).</p>
301
+ </div>
302
+ <div class="option-examples">
303
+ <h4>Code examples</h4>
304
+ <dl class="option-examples-list">
305
+
306
+ <dt>
307
+ Initialize a selectable with the <code>filter</code> option specified.
308
+ </dt>
309
+ <dd>
310
+ <pre><code>$( ".selector" ).selectable({ filter: 'li' });</code></pre>
311
+ </dd>
312
+
313
+
314
+ <dt>
315
+ Get or set the <code>filter</code> option, after init.
316
+ </dt>
317
+ <dd>
318
+ <pre><code>//getter
319
+ var filter = $( ".selector" ).selectable( "option", "filter" );
320
+ //setter
321
+ $( ".selector" ).selectable( "option", "filter", 'li' );</code></pre>
322
+ </dd>
323
+
324
+ </dl>
325
+ </div>
326
+ </li>
327
+
328
+
329
+ <li class="option" id="option-tolerance">
330
+ <div class="option-header">
331
+ <h3 class="option-name"><a href="#option-tolerance">tolerance</a></h3>
332
+ <dl>
333
+ <dt class="option-type-label">Type:</dt>
334
+ <dd class="option-type">String</dd>
335
+
336
+ <dt class="option-default-label">Default:</dt>
337
+ <dd class="option-default">'touch'</dd>
338
+
339
+ </dl>
340
+ </div>
341
+ <div class="option-description">
342
+ <p>Possible values: 'touch', 'fit'.
343
+ </p>
344
+ <ul>
345
+ <li><b>fit</b>: draggable overlaps the droppable entirely</li>
346
+ <li><b>touch</b>: draggable overlaps the droppable any amount</li>
347
+ </ul>
348
+ <p></p>
349
+ </div>
350
+ <div class="option-examples">
351
+ <h4>Code examples</h4>
352
+ <dl class="option-examples-list">
353
+
354
+ <dt>
355
+ Initialize a selectable with the <code>tolerance</code> option specified.
356
+ </dt>
357
+ <dd>
358
+ <pre><code>$( ".selector" ).selectable({ tolerance: 'fit' });</code></pre>
359
+ </dd>
360
+
361
+
362
+ <dt>
363
+ Get or set the <code>tolerance</code> option, after init.
364
+ </dt>
365
+ <dd>
366
+ <pre><code>//getter
367
+ var tolerance = $( ".selector" ).selectable( "option", "tolerance" );
368
+ //setter
369
+ $( ".selector" ).selectable( "option", "tolerance", 'fit' );</code></pre>
370
+ </dd>
371
+
372
+ </dl>
373
+ </div>
374
+ </li>
375
+
376
+ </ul>
377
+ </div>
378
+ <div id="events">
379
+ <h2 class="top-header">Events</h2>
380
+ <ul class="events-list">
381
+
382
+ <li class="event" id="event-create">
383
+ <div class="event-header">
384
+ <h3 class="event-name"><a href="#event-create">create</a></h3>
385
+ <dl>
386
+ <dt class="event-type-label">Type:</dt>
387
+ <dd class="event-type">selectablecreate</dd>
388
+ </dl>
389
+ </div>
390
+ <div class="event-description">
391
+ <p>This event is triggered when selectable is created.</p>
392
+ </div>
393
+ <div class="event-examples">
394
+ <h4>Code examples</h4>
395
+ <dl class="event-examples-list">
396
+
397
+ <dt>
398
+ Supply a callback function to handle the <code>create</code> event as an init option.
399
+ </dt>
400
+ <dd>
401
+ <pre><code>$( &quot;.selector&quot; ).selectable({
402
+ create: function(event, ui) { ... }
403
+ });</code></pre>
404
+ </dd>
405
+
406
+
407
+ <dt>
408
+ Bind to the <code>create</code> event by type: <code>selectablecreate</code>.
409
+ </dt>
410
+ <dd>
411
+ <pre><code>$( &quot;.selector&quot; ).bind( &quot;selectablecreate&quot;, function(event, ui) {
412
+ ...
413
+ });</code></pre>
414
+ </dd>
415
+
416
+ </dl>
417
+ </div>
418
+ </li>
419
+
420
+
421
+ <li class="event" id="event-selected">
422
+ <div class="event-header">
423
+ <h3 class="event-name"><a href="#event-selected">selected</a></h3>
424
+ <dl>
425
+ <dt class="event-type-label">Type:</dt>
426
+ <dd class="event-type">selectableselected</dd>
427
+ </dl>
428
+ </div>
429
+ <div class="event-description">
430
+ <p>This event is triggered at the end of the select operation, on each element added to the selection.</p>
431
+ </div>
432
+ <div class="event-examples">
433
+ <h4>Code examples</h4>
434
+ <dl class="event-examples-list">
435
+
436
+ <dt>
437
+ Supply a callback function to handle the <code>selected</code> event as an init option.
438
+ </dt>
439
+ <dd>
440
+ <pre><code>$( &quot;.selector&quot; ).selectable({
441
+ selected: function(event, ui) { ... }
442
+ });</code></pre>
443
+ </dd>
444
+
445
+
446
+ <dt>
447
+ Bind to the <code>selected</code> event by type: <code>selectableselected</code>.
448
+ </dt>
449
+ <dd>
450
+ <pre><code>$( &quot;.selector&quot; ).bind( &quot;selectableselected&quot;, function(event, ui) {
451
+ ...
452
+ });</code></pre>
453
+ </dd>
454
+
455
+ </dl>
456
+ </div>
457
+ </li>
458
+
459
+
460
+ <li class="event" id="event-selecting">
461
+ <div class="event-header">
462
+ <h3 class="event-name"><a href="#event-selecting">selecting</a></h3>
463
+ <dl>
464
+ <dt class="event-type-label">Type:</dt>
465
+ <dd class="event-type">selectableselecting</dd>
466
+ </dl>
467
+ </div>
468
+ <div class="event-description">
469
+ <p>This event is triggered during the select operation, on each element added to the selection.</p>
470
+ </div>
471
+ <div class="event-examples">
472
+ <h4>Code examples</h4>
473
+ <dl class="event-examples-list">
474
+
475
+ <dt>
476
+ Supply a callback function to handle the <code>selecting</code> event as an init option.
477
+ </dt>
478
+ <dd>
479
+ <pre><code>$( &quot;.selector&quot; ).selectable({
480
+ selecting: function(event, ui) { ... }
481
+ });</code></pre>
482
+ </dd>
483
+
484
+
485
+ <dt>
486
+ Bind to the <code>selecting</code> event by type: <code>selectableselecting</code>.
487
+ </dt>
488
+ <dd>
489
+ <pre><code>$( &quot;.selector&quot; ).bind( &quot;selectableselecting&quot;, function(event, ui) {
490
+ ...
491
+ });</code></pre>
492
+ </dd>
493
+
494
+ </dl>
495
+ </div>
496
+ </li>
497
+
498
+
499
+ <li class="event" id="event-start">
500
+ <div class="event-header">
501
+ <h3 class="event-name"><a href="#event-start">start</a></h3>
502
+ <dl>
503
+ <dt class="event-type-label">Type:</dt>
504
+ <dd class="event-type">selectablestart</dd>
505
+ </dl>
506
+ </div>
507
+ <div class="event-description">
508
+ <p>This event is triggered at the beginning of the select operation.</p>
509
+ </div>
510
+ <div class="event-examples">
511
+ <h4>Code examples</h4>
512
+ <dl class="event-examples-list">
513
+
514
+ <dt>
515
+ Supply a callback function to handle the <code>start</code> event as an init option.
516
+ </dt>
517
+ <dd>
518
+ <pre><code>$( &quot;.selector&quot; ).selectable({
519
+ start: function(event, ui) { ... }
520
+ });</code></pre>
521
+ </dd>
522
+
523
+
524
+ <dt>
525
+ Bind to the <code>start</code> event by type: <code>selectablestart</code>.
526
+ </dt>
527
+ <dd>
528
+ <pre><code>$( &quot;.selector&quot; ).bind( &quot;selectablestart&quot;, function(event, ui) {
529
+ ...
530
+ });</code></pre>
531
+ </dd>
532
+
533
+ </dl>
534
+ </div>
535
+ </li>
536
+
537
+
538
+ <li class="event" id="event-stop">
539
+ <div class="event-header">
540
+ <h3 class="event-name"><a href="#event-stop">stop</a></h3>
541
+ <dl>
542
+ <dt class="event-type-label">Type:</dt>
543
+ <dd class="event-type">selectablestop</dd>
544
+ </dl>
545
+ </div>
546
+ <div class="event-description">
547
+ <p>This event is triggered at the end of the select operation.</p>
548
+ </div>
549
+ <div class="event-examples">
550
+ <h4>Code examples</h4>
551
+ <dl class="event-examples-list">
552
+
553
+ <dt>
554
+ Supply a callback function to handle the <code>stop</code> event as an init option.
555
+ </dt>
556
+ <dd>
557
+ <pre><code>$( &quot;.selector&quot; ).selectable({
558
+ stop: function(event, ui) { ... }
559
+ });</code></pre>
560
+ </dd>
561
+
562
+
563
+ <dt>
564
+ Bind to the <code>stop</code> event by type: <code>selectablestop</code>.
565
+ </dt>
566
+ <dd>
567
+ <pre><code>$( &quot;.selector&quot; ).bind( &quot;selectablestop&quot;, function(event, ui) {
568
+ ...
569
+ });</code></pre>
570
+ </dd>
571
+
572
+ </dl>
573
+ </div>
574
+ </li>
575
+
576
+
577
+ <li class="event" id="event-unselected">
578
+ <div class="event-header">
579
+ <h3 class="event-name"><a href="#event-unselected">unselected</a></h3>
580
+ <dl>
581
+ <dt class="event-type-label">Type:</dt>
582
+ <dd class="event-type">selectableunselected</dd>
583
+ </dl>
584
+ </div>
585
+ <div class="event-description">
586
+ <p>This event is triggered at the end of the select operation, on each element removed from the selection.</p>
587
+ </div>
588
+ <div class="event-examples">
589
+ <h4>Code examples</h4>
590
+ <dl class="event-examples-list">
591
+
592
+ <dt>
593
+ Supply a callback function to handle the <code>unselected</code> event as an init option.
594
+ </dt>
595
+ <dd>
596
+ <pre><code>$( &quot;.selector&quot; ).selectable({
597
+ unselected: function(event, ui) { ... }
598
+ });</code></pre>
599
+ </dd>
600
+
601
+
602
+ <dt>
603
+ Bind to the <code>unselected</code> event by type: <code>selectableunselected</code>.
604
+ </dt>
605
+ <dd>
606
+ <pre><code>$( &quot;.selector&quot; ).bind( &quot;selectableunselected&quot;, function(event, ui) {
607
+ ...
608
+ });</code></pre>
609
+ </dd>
610
+
611
+ </dl>
612
+ </div>
613
+ </li>
614
+
615
+
616
+ <li class="event" id="event-unselecting">
617
+ <div class="event-header">
618
+ <h3 class="event-name"><a href="#event-unselecting">unselecting</a></h3>
619
+ <dl>
620
+ <dt class="event-type-label">Type:</dt>
621
+ <dd class="event-type">selectableunselecting</dd>
622
+ </dl>
623
+ </div>
624
+ <div class="event-description">
625
+ <p>This event is triggered during the select operation, on each element removed from the selection.</p>
626
+ </div>
627
+ <div class="event-examples">
628
+ <h4>Code examples</h4>
629
+ <dl class="event-examples-list">
630
+
631
+ <dt>
632
+ Supply a callback function to handle the <code>unselecting</code> event as an init option.
633
+ </dt>
634
+ <dd>
635
+ <pre><code>$( &quot;.selector&quot; ).selectable({
636
+ unselecting: function(event, ui) { ... }
637
+ });</code></pre>
638
+ </dd>
639
+
640
+
641
+ <dt>
642
+ Bind to the <code>unselecting</code> event by type: <code>selectableunselecting</code>.
643
+ </dt>
644
+ <dd>
645
+ <pre><code>$( &quot;.selector&quot; ).bind( &quot;selectableunselecting&quot;, function(event, ui) {
646
+ ...
647
+ });</code></pre>
648
+ </dd>
649
+
650
+ </dl>
651
+ </div>
652
+ </li>
653
+
654
+ </ul>
655
+ </div>
656
+ <div id="methods">
657
+ <h2 class="top-header">Methods</h2>
658
+ <ul class="methods-list">
659
+
660
+ <li class="method" id="method-destroy">
661
+ <div class="method-header">
662
+ <h3 class="method-name"><a href="#method-destroy">destroy</a></h3>
663
+ <dl>
664
+ <dt class="method-signature-label">Signature:</dt>
665
+ <dd class="method-signature">.selectable( "destroy"
666
+
667
+
668
+
669
+
670
+
671
+
672
+
673
+ )</dd>
674
+ </dl>
675
+ </div>
676
+ <div class="method-description">
677
+ <p>Remove the selectable functionality completely. This will return the element back to its pre-init state.</p>
678
+ </div>
679
+ </li>
680
+
681
+
682
+ <li class="method" id="method-disable">
683
+ <div class="method-header">
684
+ <h3 class="method-name"><a href="#method-disable">disable</a></h3>
685
+ <dl>
686
+ <dt class="method-signature-label">Signature:</dt>
687
+ <dd class="method-signature">.selectable( "disable"
688
+
689
+
690
+
691
+
692
+
693
+
694
+
695
+ )</dd>
696
+ </dl>
697
+ </div>
698
+ <div class="method-description">
699
+ <p>Disable the selectable.</p>
700
+ </div>
701
+ </li>
702
+
703
+
704
+ <li class="method" id="method-enable">
705
+ <div class="method-header">
706
+ <h3 class="method-name"><a href="#method-enable">enable</a></h3>
707
+ <dl>
708
+ <dt class="method-signature-label">Signature:</dt>
709
+ <dd class="method-signature">.selectable( "enable"
710
+
711
+
712
+
713
+
714
+
715
+
716
+
717
+ )</dd>
718
+ </dl>
719
+ </div>
720
+ <div class="method-description">
721
+ <p>Enable the selectable.</p>
722
+ </div>
723
+ </li>
724
+
725
+
726
+ <li class="method" id="method-option">
727
+ <div class="method-header">
728
+ <h3 class="method-name"><a href="#method-option">option</a></h3>
729
+ <dl>
730
+ <dt class="method-signature-label">Signature:</dt>
731
+ <dd class="method-signature">.selectable( "option"
732
+
733
+ , optionName
734
+
735
+ , <span class="optional">[</span>value<span class="optional">] </span>
736
+
737
+
738
+
739
+ )</dd>
740
+ </dl>
741
+ </div>
742
+ <div class="method-description">
743
+ <p>Get or set any selectable option. If no value is specified, will act as a getter.</p>
744
+ </div>
745
+ </li>
746
+
747
+
748
+ <li class="method" id="method-option">
749
+ <div class="method-header">
750
+ <h3 class="method-name"><a href="#method-option">option</a></h3>
751
+ <dl>
752
+ <dt class="method-signature-label">Signature:</dt>
753
+ <dd class="method-signature">.selectable( "option"
754
+
755
+ , options
756
+
757
+
758
+
759
+
760
+
761
+ )</dd>
762
+ </dl>
763
+ </div>
764
+ <div class="method-description">
765
+ <p>Set multiple selectable options at once by providing an options object.</p>
766
+ </div>
767
+ </li>
768
+
769
+
770
+ <li class="method" id="method-widget">
771
+ <div class="method-header">
772
+ <h3 class="method-name"><a href="#method-widget">widget</a></h3>
773
+ <dl>
774
+ <dt class="method-signature-label">Signature:</dt>
775
+ <dd class="method-signature">.selectable( "widget"
776
+
777
+
778
+
779
+
780
+
781
+
782
+
783
+ )</dd>
784
+ </dl>
785
+ </div>
786
+ <div class="method-description">
787
+ <p>Returns the .ui-selectable element.</p>
788
+ </div>
789
+ </li>
790
+
791
+
792
+ <li class="method" id="method-refresh">
793
+ <div class="method-header">
794
+ <h3 class="method-name"><a href="#method-refresh">refresh</a></h3>
795
+ <dl>
796
+ <dt class="method-signature-label">Signature:</dt>
797
+ <dd class="method-signature">.selectable( "refresh"
798
+
799
+
800
+
801
+
802
+
803
+
804
+
805
+ )</dd>
806
+ </dl>
807
+ </div>
808
+ <div class="method-description">
809
+ <p>Refresh the position and size of each selectee element. This method can be used to manually recalculate the position and size of each selectee element. Very useful if autoRefresh is set to false.</p>
810
+ </div>
811
+ </li>
812
+
813
+ </ul>
814
+ </div>
815
+ <div id="theming">
816
+ <h2 class="top-header">Theming</h2>
817
+ <p>The jQuery UI Selectable plugin uses the jQuery UI CSS Framework to style its look and feel, including colors and background textures. We recommend using the ThemeRoller tool to create and download custom themes that are easy to build and maintain.
818
+ </p>
819
+ <p>If a deeper level of customization is needed, there are widget-specific classes referenced within the jquery.ui.selectable.css stylesheet that can be modified. These classes are highlighed in bold below.
820
+ </p>
821
+
822
+ <h3>Sample markup with jQuery UI CSS Framework classes</h3>
823
+ &lt;ul class=&quot;<strong>ui-selectable</strong>&quot;&gt;<br />
824
+ &#160;&#160;&#160;&lt;li class=&quot;<strong>ui-selectee</strong>&quot;&gt;&lt;/li&gt;<br />
825
+ &#160;&#160;&#160;&lt;li class=&quot;<strong>ui-selectee</strong>&quot;&gt;&lt;/li&gt;<br />
826
+ &#160;&#160;&#160;&lt;li class=&quot;<strong>ui-selectee</strong>&quot;&gt;&lt;/li&gt;<br />
827
+ &lt;/ul&gt;
828
+ <p class="theme-note">
829
+ <strong>
830
+ Note: This is a sample of markup generated by the selectable plugin, not markup you should use to create a selectable. The only markup needed for that is <br />&lt;ul&gt;<br />
831
+ &#160;&#160;&#160;&lt;li&gt;&lt;/li&gt;<br />
832
+ &#160;&#160;&#160;&lt;li&gt;&lt;/li&gt;<br />
833
+ &#160;&#160;&#160;&lt;li&gt;&lt;/li&gt;<br />
834
+ &lt;/ul&gt;.
835
+ </strong>
836
+ </p>
837
+
838
+ </div>
839
+ </div>
840
+
841
+ </p><!--
842
+ Pre-expand include size: 34703 bytes
843
+ Post-expand include size: 54220 bytes
844
+ Template argument size: 27222 bytes
845
+ Maximum: 2097152 bytes
846
+ -->
847
+
848
+ <!-- Saved in parser cache with key jqdocs_docs:pcache:idhash:3771-1!1!0!!en!2 and timestamp 20120220184639 -->