hurry 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- data/Gemfile +55 -0
- data/Rakefile +69 -0
- data/app/assets/audios/twilight-hole.mp3 +0 -0
- data/app/assets/files/arvind resume (1).doc +0 -0
- data/app/assets/files/toma v 0 1.ppt +0 -0
- data/app/assets/images/0d0a413.png +0 -0
- data/app/assets/images/120.jpg +0 -0
- data/app/assets/images/51.jpg +0 -0
- data/app/assets/images/Untitled Document +97 -0
- data/app/assets/images/Untitled Document~ +97 -0
- data/app/assets/images/access.png +0 -0
- data/app/assets/images/adv.png +0 -0
- data/app/assets/images/article.png +0 -0
- data/app/assets/images/audio_icon.jpg +0 -0
- data/app/assets/images/background.gif +0 -0
- data/app/assets/images/banners/111.jpg +0 -0
- data/app/assets/images/banners/90.jpg +0 -0
- data/app/assets/images/banners/userimg.png +0 -0
- data/app/assets/images/blog.png +0 -0
- data/app/assets/images/body.png +0 -0
- data/app/assets/images/cancel.png +0 -0
- data/app/assets/images/cat.png +0 -0
- data/app/assets/images/contributions_userimg2.png +0 -0
- data/app/assets/images/delete.png +0 -0
- data/app/assets/images/edit.png +0 -0
- data/app/assets/images/excel.jpg +0 -0
- data/app/assets/images/file.gif +0 -0
- data/app/assets/images/file.jpeg +0 -0
- data/app/assets/images/folder-closed.gif +0 -0
- data/app/assets/images/folder.gif +0 -0
- data/app/assets/images/group.png +0 -0
- data/app/assets/images/header.png +0 -0
- data/app/assets/images/icons.gif +0 -0
- data/app/assets/images/loading.gif +0 -0
- data/app/assets/images/logo.png +0 -0
- data/app/assets/images/logout.png +0 -0
- data/app/assets/images/media.png +0 -0
- data/app/assets/images/minus.gif +0 -0
- data/app/assets/images/new.png +0 -0
- data/app/assets/images/page_manager.png +0 -0
- data/app/assets/images/pdf.png +0 -0
- data/app/assets/images/personal/ice glass.jpg +0 -0
- data/app/assets/images/plus.gif +0 -0
- data/app/assets/images/ppt.jpg +0 -0
- data/app/assets/images/profileimg.png +0 -0
- data/app/assets/images/rails.png +0 -0
- data/app/assets/images/setting.png +0 -0
- data/app/assets/images/status.png +0 -0
- data/app/assets/images/treeview-black-line.gif +0 -0
- data/app/assets/images/treeview-black.gif +0 -0
- data/app/assets/images/treeview-default-line.gif +0 -0
- data/app/assets/images/treeview-default.gif +0 -0
- data/app/assets/images/treeview-famfamfam-line.gif +0 -0
- data/app/assets/images/treeview-famfamfam.gif +0 -0
- data/app/assets/images/treeview-gray-line.gif +0 -0
- data/app/assets/images/treeview-gray.gif +0 -0
- data/app/assets/images/treeview-red-line.gif +0 -0
- data/app/assets/images/treeview-red.gif +0 -0
- data/app/assets/images/ui.dynatree.css +440 -0
- data/app/assets/images/user.png +0 -0
- data/app/assets/images/user1.png +0 -0
- data/app/assets/images/user_manager.png +0 -0
- data/app/assets/images/video_icon.jpg +0 -0
- data/app/assets/images/vline.gif +0 -0
- data/app/assets/images/word.png +0 -0
- data/app/assets/javascripts/application.js +9 -0
- data/app/assets/javascripts/bolt/articles.js.coffee +3 -0
- data/app/assets/javascripts/bolt/groups.js.coffee +3 -0
- data/app/assets/javascripts/bolt/user_groups.js.coffee +3 -0
- data/app/assets/javascripts/bolt/users_groups.js.coffee +3 -0
- data/app/assets/javascripts/imagebubble.js~ +68 -0
- data/app/assets/javascripts/javascript_functions.js +65 -0
- data/app/assets/javascripts/jquery.dynatree.js +3312 -0
- data/app/assets/javascripts/jquery.js +154 -0
- data/app/assets/javascripts/jquery.treeview.js +251 -0
- data/app/assets/javascripts/jquery_new.js +19 -0
- data/app/assets/javascripts/login.js +24 -0
- data/app/assets/javascripts/media.js +64 -0
- data/app/assets/javascripts/media.js.coffee +3 -0
- data/app/assets/javascripts/rails.js +132 -0
- data/app/assets/miscellaneous/1leader.flv +0 -0
- data/app/assets/miscellaneous/users_controller.1.rb +237 -0
- data/app/assets/stylesheets/application.css +8 -0
- data/app/assets/stylesheets/application.css~ +8 -0
- data/app/assets/stylesheets/bolt/articles.css.scss +3 -0
- data/app/assets/stylesheets/bolt/groups.css.scss +3 -0
- data/app/assets/stylesheets/bolt/user_groups.css.scss +3 -0
- data/app/assets/stylesheets/bolt/users_groups.css.scss +3 -0
- data/app/assets/stylesheets/bubble.css +28 -0
- data/app/assets/stylesheets/depot.css +26 -0
- data/app/assets/stylesheets/depot.css~ +34 -0
- data/app/assets/stylesheets/dropdown.css +49 -0
- data/app/assets/stylesheets/imagebubbles.css~ +32 -0
- data/app/assets/stylesheets/jquery.treeview.css +68 -0
- data/app/assets/stylesheets/media.css.scss +3 -0
- data/app/assets/stylesheets/mediamanager.css +10 -0
- data/app/assets/stylesheets/scaffolds.css +56 -0
- data/app/assets/stylesheets/scaffolds.css.scss +56 -0
- data/app/assets/stylesheets/ui.dynatree.css +440 -0
- data/app/assets/stylesheets/users_style.css +80 -0
- data/app/assets/videos/1leader.flv +0 -0
- data/app/controllers/application_controller.rb +7 -0
- data/app/controllers/application_controller.rb~ +3 -0
- data/app/controllers/articles_controller.rb~ +91 -0
- data/app/controllers/bolt/accesses_controller.rb +71 -0
- data/app/controllers/bolt/articles_categories_controller.rb +71 -0
- data/app/controllers/bolt/articles_controller.rb +97 -0
- data/app/controllers/bolt/articles_controller.rb~ +60 -0
- data/app/controllers/bolt/banners_controller.rb +58 -0
- data/app/controllers/bolt/blogs_controller.rb +82 -0
- data/app/controllers/bolt/bolt_controller.rb +234 -0
- data/app/controllers/bolt/bolt_controller.rb~ +201 -0
- data/app/controllers/bolt/categories_controller.rb +72 -0
- data/app/controllers/bolt/dashboard_controller.rb +14 -0
- data/app/controllers/bolt/dashboard_controller.rb~ +14 -0
- data/app/controllers/bolt/groups_controller.rb +100 -0
- data/app/controllers/bolt/groups_controller.rb~ +85 -0
- data/app/controllers/bolt/info_controller.rb +26 -0
- data/app/controllers/bolt/media_controller.rb +120 -0
- data/app/controllers/bolt/page_sections_controller.rb +58 -0
- data/app/controllers/bolt/pages_controller.rb +90 -0
- data/app/controllers/bolt/password_resets_controller.rb +66 -0
- data/app/controllers/bolt/settings_controller.rb +59 -0
- data/app/controllers/bolt/statuses_controller.rb +72 -0
- data/app/controllers/bolt/user_sessions_controller.rb +40 -0
- data/app/controllers/bolt/user_statuses_controller.rb +58 -0
- data/app/controllers/bolt/users_controller.rb +104 -0
- data/app/controllers/bolt/users_controller.rb~ +79 -0
- data/app/controllers/bolt/users_groups_controller.rb +99 -0
- data/app/controllers/bolt/users_groups_controller.rb~ +83 -0
- data/app/controllers/groups_controller.rb~ +83 -0
- data/app/controllers/users_groups_controller.rb~ +83 -0
- data/app/helpers/application_helper.rb +2 -0
- data/app/helpers/bolt/articles_helper.rb +2 -0
- data/app/helpers/bolt/bolt_helper.rb +208 -0
- data/app/helpers/bolt/bolt_helper.rb~ +208 -0
- data/app/helpers/bolt/config_helper.rb +46 -0
- data/app/helpers/bolt/config_helper.rb~ +46 -0
- data/app/helpers/bolt/groups_helper.rb +2 -0
- data/app/helpers/bolt/user_groups_helper.rb +2 -0
- data/app/helpers/bolt/users_groups_helper.rb +2 -0
- data/app/helpers/media_helper.rb +2 -0
- data/app/mailers/bolt/backbone_notification.rb~ +39 -0
- data/app/mailers/bolt/bolt_notification.rb +39 -0
- data/app/models/access.rb +5 -0
- data/app/models/article.rb +23 -0
- data/app/models/article.rb~ +3 -0
- data/app/models/articles_category.rb +12 -0
- data/app/models/blog.rb +5 -0
- data/app/models/bolt.rb +3 -0
- data/app/models/bolt.rb~ +5 -0
- data/app/models/bolt/group.rb~ +2 -0
- data/app/models/bolt/user.rb +56 -0
- data/app/models/bolt/user.rb~ +62 -0
- data/app/models/bolt/user_group.rb~ +3 -0
- data/app/models/bolt/user_session.rb +8 -0
- data/app/models/bolt/users_group.rb~ +2 -0
- data/app/models/category.rb +7 -0
- data/app/models/group.rb +8 -0
- data/app/models/group.rb~ +7 -0
- data/app/models/media_image.rb +19 -0
- data/app/models/media_images.rb +21 -0
- data/app/models/media_images.rb~ +21 -0
- data/app/models/medium.rb +8 -0
- data/app/models/page.rb +10 -0
- data/app/models/page_section.rb +3 -0
- data/app/models/setting.rb +3 -0
- data/app/models/status.rb +3 -0
- data/app/models/user_status.rb +3 -0
- data/app/models/users_group.rb +14 -0
- data/app/models/users_group.rb~ +6 -0
- data/app/views/bolt/accesses/_form.html.erb +13 -0
- data/app/views/bolt/accesses/_table.html.erb +17 -0
- data/app/views/bolt/accesses/_title.html.erb +9 -0
- data/app/views/bolt/accesses/index.html.erb +44 -0
- data/app/views/bolt/accesses/new.html.erb +18 -0
- data/app/views/bolt/accesses/show.html.erb +17 -0
- data/app/views/bolt/articles/_form.html.erb +113 -0
- data/app/views/bolt/articles/_form.html.erb~ +33 -0
- data/app/views/bolt/articles/_table.html.erb +29 -0
- data/app/views/bolt/articles/_table.html.erb~ +28 -0
- data/app/views/bolt/articles/_title.html.erb +9 -0
- data/app/views/bolt/articles/index.html.erb +37 -0
- data/app/views/bolt/articles/index.html.erb~ +10 -0
- data/app/views/bolt/articles/new.html.erb +16 -0
- data/app/views/bolt/articles/new.html.erb~ +18 -0
- data/app/views/bolt/articles/show.html.erb +17 -0
- data/app/views/bolt/articles/show.html.erb~ +17 -0
- data/app/views/bolt/articles_categories/_form.html.erb +13 -0
- data/app/views/bolt/articles_categories/_table.html.erb +18 -0
- data/app/views/bolt/articles_categories/index.html.erb +10 -0
- data/app/views/bolt/articles_categories/new.html.erb +18 -0
- data/app/views/bolt/articles_categories/show.html.erb +17 -0
- data/app/views/bolt/banners/_form.html.erb +13 -0
- data/app/views/bolt/banners/_table.html.erb +18 -0
- data/app/views/bolt/banners/index.html.erb +10 -0
- data/app/views/bolt/banners/new.html.erb +18 -0
- data/app/views/bolt/banners/show.html.erb +17 -0
- data/app/views/bolt/blogs/_form.html.erb +24 -0
- data/app/views/bolt/blogs/_table.html.erb +22 -0
- data/app/views/bolt/blogs/index.html.erb +33 -0
- data/app/views/bolt/blogs/new.html.erb +18 -0
- data/app/views/bolt/blogs/show.html.erb +17 -0
- data/app/views/bolt/bolt/index.html.erb +0 -0
- data/app/views/bolt/bolt/index.html.erb~ +3 -0
- data/app/views/bolt/bolt_notification/generate_new_password.erb +12 -0
- data/app/views/bolt/bolt_notification/new_user_information.erb +12 -0
- data/app/views/bolt/bolt_notification/password_reset_instructions.erb +11 -0
- data/app/views/bolt/categories/_form.html.erb +9 -0
- data/app/views/bolt/categories/_table.html.erb +17 -0
- data/app/views/bolt/categories/_title.html.erb +8 -0
- data/app/views/bolt/categories/index.html.erb +36 -0
- data/app/views/bolt/categories/new.html.erb +19 -0
- data/app/views/bolt/categories/show.html.erb +17 -0
- data/app/views/bolt/dashboard/index.html.erb +69 -0
- data/app/views/bolt/dashboard/index.html.erb~ +1 -0
- data/app/views/bolt/groups/_form.html.erb +18 -0
- data/app/views/bolt/groups/_form.html.erb~ +21 -0
- data/app/views/bolt/groups/_title.html.erb +5 -0
- data/app/views/bolt/groups/edit.html.erb +6 -0
- data/app/views/bolt/groups/index.html.erb +43 -0
- data/app/views/bolt/groups/index.html.erb~ +23 -0
- data/app/views/bolt/groups/new.html.erb +14 -0
- data/app/views/bolt/groups/new.html.erb~ +5 -0
- data/app/views/bolt/groups/show.html.erb +16 -0
- data/app/views/bolt/info/show.html.erb +43 -0
- data/app/views/bolt/info/show.html.erb~ +5 -0
- data/app/views/bolt/layouts/_left_navigation.html.erb +9 -0
- data/app/views/bolt/layouts/_left_navigation.html.erb~ +16 -0
- data/app/views/bolt/layouts/_right_navigation.html.erb +1 -0
- data/app/views/bolt/layouts/_right_navigation.html.erb~ +1 -0
- data/app/views/bolt/layouts/bolt_auth.html.erb +23 -0
- data/app/views/bolt/layouts/bolt_auth.html.erb~ +23 -0
- data/app/views/bolt/layouts/bolt_main.html.erb +86 -0
- data/app/views/bolt/layouts/bolt_main.html.erb~ +64 -0
- data/app/views/bolt/media/getfolderdatas.html.erb +31 -0
- data/app/views/bolt/media/index.html.erb +195 -0
- data/app/views/bolt/page_sections/_form.html.erb +21 -0
- data/app/views/bolt/page_sections/_table.html.erb +22 -0
- data/app/views/bolt/page_sections/index.html.erb +10 -0
- data/app/views/bolt/page_sections/new.html.erb +18 -0
- data/app/views/bolt/page_sections/show.html.erb +17 -0
- data/app/views/bolt/pages/_form.html.erb +166 -0
- data/app/views/bolt/pages/_form.html.erb~ +41 -0
- data/app/views/bolt/pages/_page_sections_form.html.erb +39 -0
- data/app/views/bolt/pages/_page_sections_form.html.erb~ +3 -0
- data/app/views/bolt/pages/_table.html.erb +29 -0
- data/app/views/bolt/pages/index.html.erb +34 -0
- data/app/views/bolt/pages/new.html.erb +18 -0
- data/app/views/bolt/pages/show.html.erb +18 -0
- data/app/views/bolt/password_resets/edit.html.erb +48 -0
- data/app/views/bolt/settings/_form.html.erb +25 -0
- data/app/views/bolt/settings/_table.html.erb +23 -0
- data/app/views/bolt/settings/index.html.erb +10 -0
- data/app/views/bolt/settings/new.html.erb +18 -0
- data/app/views/bolt/settings/show.html.erb +80 -0
- data/app/views/bolt/statuses/_form.html.erb +14 -0
- data/app/views/bolt/statuses/_table.html.erb +17 -0
- data/app/views/bolt/statuses/_title.html.erb +9 -0
- data/app/views/bolt/statuses/index.html.erb +37 -0
- data/app/views/bolt/statuses/new.html.erb +18 -0
- data/app/views/bolt/statuses/show.html.erb +17 -0
- data/app/views/bolt/user_sessions/new.html.erb +66 -0
- data/app/views/bolt/user_sessions_bk/new.html.erb +69 -0
- data/app/views/bolt/user_statuses/_form.html.erb +9 -0
- data/app/views/bolt/user_statuses/_table.html.erb +16 -0
- data/app/views/bolt/user_statuses/index.html.erb +10 -0
- data/app/views/bolt/user_statuses/new.html.erb +18 -0
- data/app/views/bolt/user_statuses/show.html.erb +17 -0
- data/app/views/bolt/users/_title.html.erb +8 -0
- data/app/views/bolt/users/index.html.erb +60 -0
- data/app/views/bolt/users/index.html.erb~ +35 -0
- data/app/views/bolt/users/new.html.erb +64 -0
- data/app/views/bolt/users/new.html.erb~ +46 -0
- data/app/views/bolt/users/response.json.builder~ +26 -0
- data/app/views/bolt/users/show.html.erb +130 -0
- data/app/views/bolt/users/show.html.erb~ +94 -0
- data/app/views/bolt/users_bk/_form.html.erb +77 -0
- data/app/views/bolt/users_bk/edit.html.erb +6 -0
- data/app/views/bolt/users_bk/index.html.erb +58 -0
- data/app/views/bolt/users_bk/index.html.erb~ +60 -0
- data/app/views/bolt/users_bk/new.html.erb +6 -0
- data/app/views/bolt/users_bk/show.html.erb +100 -0
- data/app/views/bolt/users_groups/_form.html.erb +25 -0
- data/app/views/bolt/users_groups/edit.html.erb +6 -0
- data/app/views/bolt/users_groups/index.html.erb +25 -0
- data/app/views/bolt/users_groups/new.html.erb +5 -0
- data/app/views/bolt/users_groups/show.html.erb +15 -0
- data/app/views/layouts/application.html.erb +18 -0
- data/app/views/layouts/application.html.erb~ +51 -0
- data/app/views/layouts/bolt_auth.html.erb +24 -0
- data/app/views/layouts/bolt_auth.html.erb~ +25 -0
- data/app/views/layouts/bolt_main.html.erb +142 -0
- data/app/views/layouts/bolt_main.html.erb~ +56 -0
- data/app/views/layouts/default_site.html.erb +81 -0
- data/app/views/user_groups/_form.html.erb +21 -0
- data/app/views/user_groups/edit.html.erb +6 -0
- data/app/views/user_groups/index.html.erb +32 -0
- data/app/views/user_groups/new.html.erb +5 -0
- data/app/views/user_groups/show.html.erb +10 -0
- data/config/application.rb +49 -0
- data/config/application.rb~ +48 -0
- data/config/boot.rb +6 -0
- data/config/database.yml +31 -0
- data/config/database.yml~ +25 -0
- data/config/environment.rb +5 -0
- data/config/environments/development.rb +30 -0
- data/config/environments/production.rb +60 -0
- data/config/environments/test.rb +39 -0
- data/config/initializers/backtrace_silencers.rb +7 -0
- data/config/initializers/inflections.rb +10 -0
- data/config/initializers/mime_types.rb +5 -0
- data/config/initializers/secret_token.rb +7 -0
- data/config/initializers/session_store.rb +8 -0
- data/config/initializers/wrap_parameters.rb +14 -0
- data/config/locales/en.yml +5 -0
- data/config/routes.rb +101 -0
- data/config/routes.rb~ +81 -0
- data/db/migrate/20111028162853_create_bolt_users.rb +49 -0
- data/db/migrate/20111028162853_create_bolt_users.rb~ +49 -0
- data/db/migrate/20120302083233_create_articles.rb~ +15 -0
- data/db/migrate/20120307133203_create_groups.rb +10 -0
- data/db/migrate/20120307133203_create_groups.rb~ +9 -0
- data/db/migrate/20120308113354_create_users_groups.rb +10 -0
- data/db/migrate/20120308113354_create_users_groups.rb~ +10 -0
- data/db/migrate/20120309070442_create_articles.rb +18 -0
- data/db/migrate/20120312063336_create_blogs.rb +15 -0
- data/db/migrate/20120312071401_create_categories.rb +13 -0
- data/db/migrate/20120313051136_create_accesses.rb +13 -0
- data/db/migrate/20120313051206_create_statuses.rb +13 -0
- data/db/migrate/20120313061322_create_media.rb +18 -0
- data/db/migrate/20120313061459_create_media_images.rb +10 -0
- data/db/migrate/20120313085220_create_user_statuses.rb +13 -0
- data/db/migrate/20120314060252_create_articles_categories.rb +14 -0
- data/db/migrate/20120314110540_create_pages.rb +24 -0
- data/db/migrate/20120314110540_create_pages.rb~ +24 -0
- data/db/migrate/20120314110602_create_page_sections.rb +20 -0
- data/db/migrate/20120314110602_create_page_sections.rb~ +20 -0
- data/db/migrate/20120314110922_add_ancestry_to_page.rb +9 -0
- data/db/migrate/20120315071805_change_mediaimages_column.rb +8 -0
- data/db/migrate/20120319132523_create_settings.rb +18 -0
- data/db/schema.rb +169 -0
- data/db/seeds.rb +7 -0
- data/doc/README_FOR_APP +2 -0
- data/lib/tasks/tasks.rake +31 -0
- data/public/404.html +26 -0
- data/public/422.html +26 -0
- data/public/500.html +26 -0
- data/public/bolt/images/backbone.png +0 -0
- data/public/bolt/images/header.png +0 -0
- data/public/bolt/images/icons/add.png +0 -0
- data/public/bolt/images/icons/ajax-spinner.gif +0 -0
- data/public/bolt/images/icons/delete.png +0 -0
- data/public/bolt/images/icons/icons.gif +0 -0
- data/public/bolt/images/icons/loading.gif +0 -0
- data/public/bolt/images/icons/spinner-sm.gif +0 -0
- data/public/bolt/images/icons/spinner.png +0 -0
- data/public/bolt/images/icons/table.png +0 -0
- data/public/bolt/images/icons/vline.gif +0 -0
- data/public/bolt/images/login/bottom.png +0 -0
- data/public/bolt/images/login/top.png +0 -0
- data/public/bolt/images/nav.png +0 -0
- data/public/bolt/images/rightNav.png +0 -0
- data/public/bolt/images/rightNavButton.png +0 -0
- data/public/bolt/images/visitSiteNav.png +0 -0
- data/public/bolt/imagesx/backbone.png +0 -0
- data/public/bolt/imagesx/header.png +0 -0
- data/public/bolt/imagesx/icons/add.png +0 -0
- data/public/bolt/imagesx/icons/ajax-spinner.gif +0 -0
- data/public/bolt/imagesx/icons/delete.png +0 -0
- data/public/bolt/imagesx/icons/icons.gif +0 -0
- data/public/bolt/imagesx/icons/loading.gif +0 -0
- data/public/bolt/imagesx/icons/spinner-sm.gif +0 -0
- data/public/bolt/imagesx/icons/spinner.png +0 -0
- data/public/bolt/imagesx/icons/table.png +0 -0
- data/public/bolt/imagesx/icons/vline.gif +0 -0
- data/public/bolt/imagesx/login/bottom.png +0 -0
- data/public/bolt/imagesx/login/top.png +0 -0
- data/public/bolt/imagesx/nav.png +0 -0
- data/public/bolt/imagesx/rightNav.png +0 -0
- data/public/bolt/imagesx/rightNavButton.png +0 -0
- data/public/bolt/imagesx/visitSiteNav.png +0 -0
- data/public/bolt/javascripts/backbone.js +25 -0
- data/public/bolt/javascripts/custom.js +2 -0
- data/public/bolt/javascripts/jquery.js +154 -0
- data/public/bolt/javascripts/login.js +24 -0
- data/public/bolt/javascripts/rails.js +132 -0
- data/public/bolt/stylesheets/custom.css +82 -0
- data/public/bolt/stylesheets/custom.css~ +82 -0
- data/public/bolt/stylesheets/elements.css +316 -0
- data/public/bolt/stylesheets/elements.css~ +307 -0
- data/public/bolt/stylesheets/login.css +137 -0
- data/public/bolt/stylesheets/login.css~ +137 -0
- data/public/bolt/stylesheets/screen.css +224 -0
- data/public/bolt/stylesheets/screen.css~ +224 -0
- data/public/favicon.ico +0 -0
- data/public/images/article.png +0 -0
- data/public/images/backbone.png +0 -0
- data/public/images/cancel.png +0 -0
- data/public/images/cat.png +0 -0
- data/public/images/delete.png +0 -0
- data/public/images/edit.png +0 -0
- data/public/images/file.gif +0 -0
- data/public/images/folder-closed.gif +0 -0
- data/public/images/folder.gif +0 -0
- data/public/images/header.png +0 -0
- data/public/images/icons.gif +0 -0
- data/public/images/icons/add.png +0 -0
- data/public/images/icons/ajax-spinner.gif +0 -0
- data/public/images/icons/delete.png +0 -0
- data/public/images/icons/icons.gif +0 -0
- data/public/images/icons/loading.gif +0 -0
- data/public/images/icons/spinner-sm.gif +0 -0
- data/public/images/icons/spinner.png +0 -0
- data/public/images/icons/table.png +0 -0
- data/public/images/icons/vline.gif +0 -0
- data/public/images/ii.jpg +0 -0
- data/public/images/loading.gif +0 -0
- data/public/images/login/bottom.png +0 -0
- data/public/images/login/top.png +0 -0
- data/public/images/logo.png +0 -0
- data/public/images/logout.png +0 -0
- data/public/images/media.png +0 -0
- data/public/images/minus.gif +0 -0
- data/public/images/nav.png +0 -0
- data/public/images/new.png +0 -0
- data/public/images/plus.gif +0 -0
- data/public/images/profileimg.png +0 -0
- data/public/images/rails.png +0 -0
- data/public/images/rightNav.png +0 -0
- data/public/images/rightNavButton.png +0 -0
- data/public/images/treeview-black-line.gif +0 -0
- data/public/images/treeview-black.gif +0 -0
- data/public/images/treeview-default-line.gif +0 -0
- data/public/images/treeview-default.gif +0 -0
- data/public/images/treeview-famfamfam-line.gif +0 -0
- data/public/images/treeview-famfamfam.gif +0 -0
- data/public/images/treeview-gray-line.gif +0 -0
- data/public/images/treeview-gray.gif +0 -0
- data/public/images/treeview-red-line.gif +0 -0
- data/public/images/treeview-red.gif +0 -0
- data/public/images/ui.dynatree.css +440 -0
- data/public/images/user.png +0 -0
- data/public/images/user1.png +0 -0
- data/public/images/visitSiteNav.png +0 -0
- data/public/images/vline.gif +0 -0
- data/public/javascripts/backbone.js +25 -0
- data/public/javascripts/custom.js +2 -0
- data/public/javascripts/jquery.js +154 -0
- data/public/javascripts/login.js +24 -0
- data/public/javascripts/rails.js +132 -0
- data/public/jqueryui/css/ui-lightness/images/ui-bg_diagonals-thick_18_b81900_40x40.png +0 -0
- data/public/jqueryui/css/ui-lightness/images/ui-bg_diagonals-thick_20_666666_40x40.png +0 -0
- data/public/jqueryui/css/ui-lightness/images/ui-bg_flat_10_000000_40x100.png +0 -0
- data/public/jqueryui/css/ui-lightness/images/ui-bg_glass_100_f6f6f6_1x400.png +0 -0
- data/public/jqueryui/css/ui-lightness/images/ui-bg_glass_100_fdf5ce_1x400.png +0 -0
- data/public/jqueryui/css/ui-lightness/images/ui-bg_glass_65_ffffff_1x400.png +0 -0
- data/public/jqueryui/css/ui-lightness/images/ui-bg_gloss-wave_35_f6a828_500x100.png +0 -0
- data/public/jqueryui/css/ui-lightness/images/ui-bg_highlight-soft_100_eeeeee_1x100.png +0 -0
- data/public/jqueryui/css/ui-lightness/images/ui-bg_highlight-soft_75_ffe45c_1x100.png +0 -0
- data/public/jqueryui/css/ui-lightness/images/ui-icons_222222_256x240.png +0 -0
- data/public/jqueryui/css/ui-lightness/images/ui-icons_228ef1_256x240.png +0 -0
- data/public/jqueryui/css/ui-lightness/images/ui-icons_ef8c08_256x240.png +0 -0
- data/public/jqueryui/css/ui-lightness/images/ui-icons_ffd27a_256x240.png +0 -0
- data/public/jqueryui/css/ui-lightness/images/ui-icons_ffffff_256x240.png +0 -0
- data/public/jqueryui/css/ui-lightness/jquery-ui-1.8.18.custom.css +336 -0
- data/public/jqueryui/development-bundle/AUTHORS.txt +30 -0
- data/public/jqueryui/development-bundle/GPL-LICENSE.txt +278 -0
- data/public/jqueryui/development-bundle/MIT-LICENSE.txt +25 -0
- data/public/jqueryui/development-bundle/demos/demos.css +334 -0
- data/public/jqueryui/development-bundle/demos/dialog/animated.html +56 -0
- data/public/jqueryui/development-bundle/demos/dialog/default.html +54 -0
- data/public/jqueryui/development-bundle/demos/dialog/index.html +23 -0
- data/public/jqueryui/development-bundle/demos/dialog/modal-confirmation.html +69 -0
- data/public/jqueryui/development-bundle/demos/dialog/modal-form.html +167 -0
- data/public/jqueryui/development-bundle/demos/dialog/modal-message.html +71 -0
- data/public/jqueryui/development-bundle/demos/dialog/modal.html +60 -0
- data/public/jqueryui/development-bundle/demos/draggable/constrain-movement.html +69 -0
- data/public/jqueryui/development-bundle/demos/draggable/cursor-style.html +49 -0
- data/public/jqueryui/development-bundle/demos/draggable/default.html +39 -0
- data/public/jqueryui/development-bundle/demos/draggable/delay-start.html +45 -0
- data/public/jqueryui/development-bundle/demos/draggable/events.html +77 -0
- data/public/jqueryui/development-bundle/demos/draggable/handle.html +50 -0
- data/public/jqueryui/development-bundle/demos/draggable/index.html +28 -0
- data/public/jqueryui/development-bundle/demos/draggable/revert.html +44 -0
- data/public/jqueryui/development-bundle/demos/draggable/scroll.html +51 -0
- data/public/jqueryui/development-bundle/demos/draggable/snap-to.html +68 -0
- data/public/jqueryui/development-bundle/demos/draggable/sortable.html +57 -0
- data/public/jqueryui/development-bundle/demos/draggable/visual-feedback.html +77 -0
- data/public/jqueryui/development-bundle/demos/droppable/accepted-elements.html +60 -0
- data/public/jqueryui/development-bundle/demos/droppable/default.html +53 -0
- data/public/jqueryui/development-bundle/demos/droppable/images/high_tatras.jpg +0 -0
- data/public/jqueryui/development-bundle/demos/droppable/images/high_tatras2.jpg +0 -0
- data/public/jqueryui/development-bundle/demos/droppable/images/high_tatras2_min.jpg +0 -0
- data/public/jqueryui/development-bundle/demos/droppable/images/high_tatras3.jpg +0 -0
- data/public/jqueryui/development-bundle/demos/droppable/images/high_tatras3_min.jpg +0 -0
- data/public/jqueryui/development-bundle/demos/droppable/images/high_tatras4.jpg +0 -0
- data/public/jqueryui/development-bundle/demos/droppable/images/high_tatras4_min.jpg +0 -0
- data/public/jqueryui/development-bundle/demos/droppable/images/high_tatras_min.jpg +0 -0
- data/public/jqueryui/development-bundle/demos/droppable/index.html +24 -0
- data/public/jqueryui/development-bundle/demos/droppable/photo-manager.html +184 -0
- data/public/jqueryui/development-bundle/demos/droppable/propagation.html +80 -0
- data/public/jqueryui/development-bundle/demos/droppable/revert.html +61 -0
- data/public/jqueryui/development-bundle/demos/droppable/shopping-cart.html +101 -0
- data/public/jqueryui/development-bundle/demos/droppable/visual-feedback.html +78 -0
- data/public/jqueryui/development-bundle/demos/images/calendar.gif +0 -0
- data/public/jqueryui/development-bundle/demos/images/demo-config-on-tile.gif +0 -0
- data/public/jqueryui/development-bundle/demos/images/demo-config-on.gif +0 -0
- data/public/jqueryui/development-bundle/demos/images/demo-spindown-closed.gif +0 -0
- data/public/jqueryui/development-bundle/demos/images/demo-spindown-open.gif +0 -0
- data/public/jqueryui/development-bundle/demos/images/icon-docs-info.gif +0 -0
- data/public/jqueryui/development-bundle/demos/images/pbar-ani.gif +0 -0
- data/public/jqueryui/development-bundle/demos/index.html +328 -0
- data/public/jqueryui/development-bundle/demos/position/cycler.html +122 -0
- data/public/jqueryui/development-bundle/demos/position/default.html +153 -0
- data/public/jqueryui/development-bundle/demos/position/images/earth.jpg +0 -0
- data/public/jqueryui/development-bundle/demos/position/images/flight.jpg +0 -0
- data/public/jqueryui/development-bundle/demos/position/images/rocket.jpg +0 -0
- data/public/jqueryui/development-bundle/demos/position/index.html +19 -0
- data/public/jqueryui/development-bundle/demos/resizable/animate.html +43 -0
- data/public/jqueryui/development-bundle/demos/resizable/aspect-ratio.html +42 -0
- data/public/jqueryui/development-bundle/demos/resizable/constrain-area.html +47 -0
- data/public/jqueryui/development-bundle/demos/resizable/default.html +40 -0
- data/public/jqueryui/development-bundle/demos/resizable/delay-start.html +52 -0
- data/public/jqueryui/development-bundle/demos/resizable/helper.html +43 -0
- data/public/jqueryui/development-bundle/demos/resizable/index.html +28 -0
- data/public/jqueryui/development-bundle/demos/resizable/max-min.html +45 -0
- data/public/jqueryui/development-bundle/demos/resizable/snap-to-grid.html +42 -0
- data/public/jqueryui/development-bundle/demos/resizable/synchronous-resize.html +49 -0
- data/public/jqueryui/development-bundle/demos/resizable/textarea.html +41 -0
- data/public/jqueryui/development-bundle/demos/resizable/visual-feedback.html +43 -0
- data/public/jqueryui/development-bundle/demos/selectable/default.html +50 -0
- data/public/jqueryui/development-bundle/demos/selectable/display-grid.html +55 -0
- data/public/jqueryui/development-bundle/demos/selectable/index.html +20 -0
- data/public/jqueryui/development-bundle/demos/selectable/serialize.html +61 -0
- data/public/jqueryui/development-bundle/demos/sortable/connect-lists-through-tabs.html +78 -0
- data/public/jqueryui/development-bundle/demos/sortable/connect-lists.html +58 -0
- data/public/jqueryui/development-bundle/demos/sortable/default.html +51 -0
- data/public/jqueryui/development-bundle/demos/sortable/delay-start.html +67 -0
- data/public/jqueryui/development-bundle/demos/sortable/display-grid.html +54 -0
- data/public/jqueryui/development-bundle/demos/sortable/empty-lists.html +69 -0
- data/public/jqueryui/development-bundle/demos/sortable/index.html +26 -0
- data/public/jqueryui/development-bundle/demos/sortable/items.html +70 -0
- data/public/jqueryui/development-bundle/demos/sortable/placeholder.html +56 -0
- data/public/jqueryui/development-bundle/demos/sortable/portlets.html +96 -0
- data/public/jqueryui/development-bundle/docs/dialog.html +1698 -0
- data/public/jqueryui/development-bundle/docs/draggable.html +1577 -0
- data/public/jqueryui/development-bundle/docs/droppable.html +829 -0
- data/public/jqueryui/development-bundle/docs/position.html +245 -0
- data/public/jqueryui/development-bundle/docs/resizable.html +1201 -0
- data/public/jqueryui/development-bundle/docs/selectable.html +848 -0
- data/public/jqueryui/development-bundle/docs/sortable.html +1953 -0
- data/public/jqueryui/development-bundle/external/jquery.bgiframe-2.1.2.js +39 -0
- data/public/jqueryui/development-bundle/external/jquery.cookie.js +89 -0
- data/public/jqueryui/development-bundle/external/jquery.metadata.js +122 -0
- data/public/jqueryui/development-bundle/external/qunit.css +225 -0
- data/public/jqueryui/development-bundle/external/qunit.js +1448 -0
- data/public/jqueryui/development-bundle/jquery-1.7.1.js +9266 -0
- data/public/jqueryui/development-bundle/themes/base/images/ui-bg_flat_0_aaaaaa_40x100.png +0 -0
- data/public/jqueryui/development-bundle/themes/base/images/ui-bg_flat_75_ffffff_40x100.png +0 -0
- data/public/jqueryui/development-bundle/themes/base/images/ui-bg_glass_55_fbf9ee_1x400.png +0 -0
- data/public/jqueryui/development-bundle/themes/base/images/ui-bg_glass_65_ffffff_1x400.png +0 -0
- data/public/jqueryui/development-bundle/themes/base/images/ui-bg_glass_75_dadada_1x400.png +0 -0
- data/public/jqueryui/development-bundle/themes/base/images/ui-bg_glass_75_e6e6e6_1x400.png +0 -0
- data/public/jqueryui/development-bundle/themes/base/images/ui-bg_glass_95_fef1ec_1x400.png +0 -0
- data/public/jqueryui/development-bundle/themes/base/images/ui-bg_highlight-soft_75_cccccc_1x100.png +0 -0
- data/public/jqueryui/development-bundle/themes/base/images/ui-icons_222222_256x240.png +0 -0
- data/public/jqueryui/development-bundle/themes/base/images/ui-icons_2e83ff_256x240.png +0 -0
- data/public/jqueryui/development-bundle/themes/base/images/ui-icons_454545_256x240.png +0 -0
- data/public/jqueryui/development-bundle/themes/base/images/ui-icons_888888_256x240.png +0 -0
- data/public/jqueryui/development-bundle/themes/base/images/ui-icons_cd0a0a_256x240.png +0 -0
- data/public/jqueryui/development-bundle/themes/base/jquery.ui.all.css +11 -0
- data/public/jqueryui/development-bundle/themes/base/jquery.ui.base.css +4 -0
- data/public/jqueryui/development-bundle/themes/base/jquery.ui.core.css +38 -0
- data/public/jqueryui/development-bundle/themes/base/jquery.ui.dialog.css +21 -0
- data/public/jqueryui/development-bundle/themes/base/jquery.ui.resizable.css +20 -0
- data/public/jqueryui/development-bundle/themes/base/jquery.ui.selectable.css +10 -0
- data/public/jqueryui/development-bundle/themes/base/jquery.ui.theme.css +247 -0
- data/public/jqueryui/development-bundle/themes/ui-lightness/images/ui-bg_diagonals-thick_18_b81900_40x40.png +0 -0
- data/public/jqueryui/development-bundle/themes/ui-lightness/images/ui-bg_diagonals-thick_20_666666_40x40.png +0 -0
- data/public/jqueryui/development-bundle/themes/ui-lightness/images/ui-bg_flat_10_000000_40x100.png +0 -0
- data/public/jqueryui/development-bundle/themes/ui-lightness/images/ui-bg_glass_100_f6f6f6_1x400.png +0 -0
- data/public/jqueryui/development-bundle/themes/ui-lightness/images/ui-bg_glass_100_fdf5ce_1x400.png +0 -0
- data/public/jqueryui/development-bundle/themes/ui-lightness/images/ui-bg_glass_65_ffffff_1x400.png +0 -0
- data/public/jqueryui/development-bundle/themes/ui-lightness/images/ui-bg_gloss-wave_35_f6a828_500x100.png +0 -0
- data/public/jqueryui/development-bundle/themes/ui-lightness/images/ui-bg_highlight-soft_100_eeeeee_1x100.png +0 -0
- data/public/jqueryui/development-bundle/themes/ui-lightness/images/ui-bg_highlight-soft_75_ffe45c_1x100.png +0 -0
- data/public/jqueryui/development-bundle/themes/ui-lightness/images/ui-icons_222222_256x240.png +0 -0
- data/public/jqueryui/development-bundle/themes/ui-lightness/images/ui-icons_228ef1_256x240.png +0 -0
- data/public/jqueryui/development-bundle/themes/ui-lightness/images/ui-icons_ef8c08_256x240.png +0 -0
- data/public/jqueryui/development-bundle/themes/ui-lightness/images/ui-icons_ffd27a_256x240.png +0 -0
- data/public/jqueryui/development-bundle/themes/ui-lightness/images/ui-icons_ffffff_256x240.png +0 -0
- data/public/jqueryui/development-bundle/themes/ui-lightness/jquery-ui-1.8.18.custom.css +336 -0
- data/public/jqueryui/development-bundle/themes/ui-lightness/jquery.ui.all.css +11 -0
- data/public/jqueryui/development-bundle/themes/ui-lightness/jquery.ui.base.css +4 -0
- data/public/jqueryui/development-bundle/themes/ui-lightness/jquery.ui.core.css +38 -0
- data/public/jqueryui/development-bundle/themes/ui-lightness/jquery.ui.dialog.css +21 -0
- data/public/jqueryui/development-bundle/themes/ui-lightness/jquery.ui.resizable.css +20 -0
- data/public/jqueryui/development-bundle/themes/ui-lightness/jquery.ui.selectable.css +10 -0
- data/public/jqueryui/development-bundle/themes/ui-lightness/jquery.ui.theme.css +249 -0
- data/public/jqueryui/development-bundle/ui/jquery-ui-1.8.18.custom.js +5206 -0
- data/public/jqueryui/development-bundle/ui/jquery.ui.core.js +319 -0
- data/public/jqueryui/development-bundle/ui/jquery.ui.dialog.js +878 -0
- data/public/jqueryui/development-bundle/ui/jquery.ui.draggable.js +825 -0
- data/public/jqueryui/development-bundle/ui/jquery.ui.droppable.js +296 -0
- data/public/jqueryui/development-bundle/ui/jquery.ui.mouse.js +162 -0
- data/public/jqueryui/development-bundle/ui/jquery.ui.position.js +298 -0
- data/public/jqueryui/development-bundle/ui/jquery.ui.resizable.js +808 -0
- data/public/jqueryui/development-bundle/ui/jquery.ui.selectable.js +267 -0
- data/public/jqueryui/development-bundle/ui/jquery.ui.sortable.js +1081 -0
- data/public/jqueryui/development-bundle/ui/jquery.ui.widget.js +272 -0
- data/public/jqueryui/development-bundle/ui/minified/jquery.ui.core.min.js +9 -0
- data/public/jqueryui/development-bundle/ui/minified/jquery.ui.dialog.min.js +18 -0
- data/public/jqueryui/development-bundle/ui/minified/jquery.ui.draggable.min.js +14 -0
- data/public/jqueryui/development-bundle/ui/minified/jquery.ui.droppable.min.js +15 -0
- data/public/jqueryui/development-bundle/ui/minified/jquery.ui.mouse.min.js +12 -0
- data/public/jqueryui/development-bundle/ui/minified/jquery.ui.position.min.js +9 -0
- data/public/jqueryui/development-bundle/ui/minified/jquery.ui.resizable.min.js +14 -0
- data/public/jqueryui/development-bundle/ui/minified/jquery.ui.selectable.min.js +14 -0
- data/public/jqueryui/development-bundle/ui/minified/jquery.ui.sortable.min.js +14 -0
- data/public/jqueryui/development-bundle/ui/minified/jquery.ui.widget.min.js +9 -0
- data/public/jqueryui/development-bundle/version.txt +1 -0
- data/public/jqueryui/js/jquery-1.7.1.min.js +4 -0
- data/public/jqueryui/js/jquery-ui-1.8.18.custom.min.js +119 -0
- data/public/robots.txt +5 -0
- data/public/stylesheets/custom.css +91 -0
- data/public/stylesheets/custom.css~ +82 -0
- data/public/stylesheets/elements.css +315 -0
- data/public/stylesheets/elements.css~ +307 -0
- data/public/stylesheets/login.css +137 -0
- data/public/stylesheets/login.css~ +137 -0
- data/public/stylesheets/screen.css +224 -0
- data/public/stylesheets/screen.css~ +224 -0
- data/script/rails +6 -0
- data/test/fixtures/bolt/groups.yml +7 -0
- data/test/fixtures/bolt/users_groups.yml +9 -0
- data/test/fixtures/media.yml +13 -0
- data/test/fixtures/media_images.yml +9 -0
- data/test/functional/bolt/groups_controller_test.rb +49 -0
- data/test/functional/bolt/users_groups_controller_test.rb +49 -0
- data/test/functional/media_controller_test.rb +49 -0
- data/test/performance/browsing_test.rb +12 -0
- data/test/test_helper.rb +13 -0
- data/test/unit/bolt/group_test.rb +7 -0
- data/test/unit/bolt/users_group_test.rb +7 -0
- data/test/unit/helpers/bolt/groups_helper_test.rb +4 -0
- data/test/unit/helpers/bolt/users_groups_helper_test.rb +4 -0
- data/test/unit/helpers/media_helper_test.rb +4 -0
- data/test/unit/media_images_test.rb +7 -0
- data/test/unit/medium_test.rb +7 -0
- 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>$("#selectable").selectable();
|
32
|
+
</pre>
|
33
|
+
<p></div><div id="source" class="tabs-container">
|
34
|
+
</p>
|
35
|
+
<pre><!DOCTYPE html>
|
36
|
+
<html>
|
37
|
+
<head>
|
38
|
+
<link href="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8/themes/base/jquery-ui.css" rel="stylesheet" type="text/css"/>
|
39
|
+
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.5/jquery.min.js"></script>
|
40
|
+
<script src="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8/jquery-ui.min.js"></script>
|
41
|
+
<style type="text/css">
|
42
|
+
#selectable .ui-selecting {
|
43
|
+
background: silver;
|
44
|
+
}
|
45
|
+
#selectable .ui-selected {
|
46
|
+
background: gray;
|
47
|
+
}
|
48
|
+
</style>
|
49
|
+
|
50
|
+
<script>
|
51
|
+
$(document).ready(function() {
|
52
|
+
$("#selectable").selectable();
|
53
|
+
});
|
54
|
+
</script>
|
55
|
+
</head>
|
56
|
+
<body style="font-size:62.5%;">
|
57
|
+
|
58
|
+
<ul id="selectable">
|
59
|
+
<li>Item 1</li>
|
60
|
+
<li>Item 2</li>
|
61
|
+
<li>Item 3</li>
|
62
|
+
<li>Item 4</li>
|
63
|
+
<li>Item 5</li>
|
64
|
+
</ul>
|
65
|
+
|
66
|
+
</body>
|
67
|
+
</html>
|
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>$( ".selector" ).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>$( ".selector" ).bind( "selectablecreate", 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>$( ".selector" ).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>$( ".selector" ).bind( "selectableselected", 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>$( ".selector" ).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>$( ".selector" ).bind( "selectableselecting", 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>$( ".selector" ).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>$( ".selector" ).bind( "selectablestart", 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>$( ".selector" ).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>$( ".selector" ).bind( "selectablestop", 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>$( ".selector" ).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>$( ".selector" ).bind( "selectableunselected", 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>$( ".selector" ).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>$( ".selector" ).bind( "selectableunselecting", 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
|
+
<ul class="<strong>ui-selectable</strong>"><br />
|
824
|
+
   <li class="<strong>ui-selectee</strong>"></li><br />
|
825
|
+
   <li class="<strong>ui-selectee</strong>"></li><br />
|
826
|
+
   <li class="<strong>ui-selectee</strong>"></li><br />
|
827
|
+
</ul>
|
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 /><ul><br />
|
831
|
+
   <li></li><br />
|
832
|
+
   <li></li><br />
|
833
|
+
   <li></li><br />
|
834
|
+
</ul>.
|
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 -->
|