From 2ac5449a6a81308c44443d3ec0b070f089e8e382 Mon Sep 17 00:00:00 2001 From: Marcin Gosz Date: Fri, 6 Jan 2012 23:21:19 +0000 Subject: [PATCH] First commit --- README | 1 + additems/additem.php | 23 + additems/index.php | 0 gerry.sql | 81 + includes/config.php | 9 + includes/database.php | 85 + includes/functions.php | 28 + includes/initialise.php | 24 + includes/item.php | 247 + includes/session.php | 68 + includes/user.php | 171 + jquery-drag-drop/_notes/dwsync.xml | 1 + jquery-drag-drop/connect.php | 9 + jquery-drag-drop/dragdrop.sql | 19 + jquery-drag-drop/index.php | 81 + jquery-drag-drop/updateList.php | 15 + .../images/ui-bg_flat_0_aaaaaa_40x100.png | Bin 0 -> 180 bytes .../images/ui-bg_flat_75_ffffff_40x100.png | Bin 0 -> 178 bytes .../images/ui-bg_glass_55_fbf9ee_1x400.png | Bin 0 -> 120 bytes .../images/ui-bg_glass_65_ffffff_1x400.png | Bin 0 -> 105 bytes .../images/ui-bg_glass_75_dadada_1x400.png | Bin 0 -> 159 bytes .../images/ui-bg_glass_75_e6e6e6_1x400.png | Bin 0 -> 110 bytes .../images/ui-bg_glass_95_fef1ec_1x400.png | Bin 0 -> 119 bytes .../ui-bg_highlight-soft_75_cccccc_1x100.png | Bin 0 -> 101 bytes .../images/ui-icons_222222_256x240.png | Bin 0 -> 4369 bytes .../images/ui-icons_2e83ff_256x240.png | Bin 0 -> 4369 bytes .../images/ui-icons_454545_256x240.png | Bin 0 -> 4369 bytes .../images/ui-icons_888888_256x240.png | Bin 0 -> 4369 bytes .../images/ui-icons_cd0a0a_256x240.png | Bin 0 -> 4369 bytes .../smoothness/jquery-ui-1.8.16.custom.css | 290 + .../development-bundle/AUTHORS.txt | 30 + .../development-bundle/GPL-LICENSE.txt | 278 + .../development-bundle/MIT-LICENSE.txt | 25 + .../development-bundle/demos/demos.css | 334 + .../demos/draggable/constrain-movement.html | 69 + .../demos/draggable/cursor-style.html | 49 + .../demos/draggable/default.html | 39 + .../demos/draggable/delay-start.html | 45 + .../demos/draggable/events.html | 77 + .../demos/draggable/handle.html | 50 + .../demos/draggable/index.html | 28 + .../demos/draggable/revert.html | 44 + .../demos/draggable/scroll.html | 51 + .../demos/draggable/snap-to.html | 68 + .../demos/draggable/sortable.html | 57 + .../demos/draggable/visual-feedback.html | 77 + .../demos/images/calendar.gif | Bin 0 -> 269 bytes .../demos/images/demo-config-on-tile.gif | Bin 0 -> 172 bytes .../demos/images/demo-config-on.gif | Bin 0 -> 335 bytes .../demos/images/demo-spindown-closed.gif | Bin 0 -> 103 bytes .../demos/images/demo-spindown-open.gif | Bin 0 -> 105 bytes .../demos/images/icon-docs-info.gif | Bin 0 -> 206 bytes .../demos/images/pbar-ani.gif | Bin 0 -> 7970 bytes .../development-bundle/demos/index.html | 322 + .../sortable/connect-lists-through-tabs.html | 78 + .../demos/sortable/connect-lists.html | 58 + .../demos/sortable/default.html | 51 + .../demos/sortable/delay-start.html | 67 + .../demos/sortable/display-grid.html | 54 + .../demos/sortable/empty-lists.html | 69 + .../demos/sortable/index.html | 26 + .../demos/sortable/items.html | 70 + .../demos/sortable/placeholder.html | 56 + .../demos/sortable/portlets.html | 96 + .../development-bundle/docs/draggable.html | 1577 +++ .../development-bundle/docs/sortable.html | 1953 ++++ .../external/jquery.bgiframe-2.1.2.js | 39 + .../external/jquery.cookie.js | 89 + .../external/jquery.metadata.js | 122 + .../development-bundle/external/qunit.css | 225 + .../development-bundle/external/qunit.js | 1448 +++ .../development-bundle/jquery-1.6.2.js | 8981 +++++++++++++++++ .../images/ui-bg_flat_0_aaaaaa_40x100.png | Bin 0 -> 180 bytes .../images/ui-bg_flat_75_ffffff_40x100.png | Bin 0 -> 178 bytes .../images/ui-bg_glass_55_fbf9ee_1x400.png | Bin 0 -> 120 bytes .../images/ui-bg_glass_65_ffffff_1x400.png | Bin 0 -> 105 bytes .../images/ui-bg_glass_75_dadada_1x400.png | Bin 0 -> 111 bytes .../images/ui-bg_glass_75_e6e6e6_1x400.png | Bin 0 -> 110 bytes .../images/ui-bg_glass_95_fef1ec_1x400.png | Bin 0 -> 119 bytes .../ui-bg_highlight-soft_75_cccccc_1x100.png | Bin 0 -> 101 bytes .../base/images/ui-icons_222222_256x240.png | Bin 0 -> 4369 bytes .../base/images/ui-icons_2e83ff_256x240.png | Bin 0 -> 4369 bytes .../base/images/ui-icons_454545_256x240.png | Bin 0 -> 4369 bytes .../base/images/ui-icons_888888_256x240.png | Bin 0 -> 4369 bytes .../base/images/ui-icons_cd0a0a_256x240.png | Bin 0 -> 4369 bytes .../themes/base/jquery.ui.all.css | 11 + .../themes/base/jquery.ui.base.css | 1 + .../themes/base/jquery.ui.core.css | 41 + .../themes/base/jquery.ui.theme.css | 247 + .../images/ui-bg_flat_0_aaaaaa_40x100.png | Bin 0 -> 180 bytes .../images/ui-bg_flat_75_ffffff_40x100.png | Bin 0 -> 178 bytes .../images/ui-bg_glass_55_fbf9ee_1x400.png | Bin 0 -> 120 bytes .../images/ui-bg_glass_65_ffffff_1x400.png | Bin 0 -> 105 bytes .../images/ui-bg_glass_75_dadada_1x400.png | Bin 0 -> 159 bytes .../images/ui-bg_glass_75_e6e6e6_1x400.png | Bin 0 -> 110 bytes .../images/ui-bg_glass_95_fef1ec_1x400.png | Bin 0 -> 119 bytes .../ui-bg_highlight-soft_75_cccccc_1x100.png | Bin 0 -> 101 bytes .../images/ui-icons_222222_256x240.png | Bin 0 -> 4369 bytes .../images/ui-icons_2e83ff_256x240.png | Bin 0 -> 4369 bytes .../images/ui-icons_454545_256x240.png | Bin 0 -> 4369 bytes .../images/ui-icons_888888_256x240.png | Bin 0 -> 4369 bytes .../images/ui-icons_cd0a0a_256x240.png | Bin 0 -> 4369 bytes .../smoothness/jquery-ui-1.8.16.custom.css | 290 + .../themes/smoothness/jquery.ui.all.css | 11 + .../themes/smoothness/jquery.ui.base.css | 1 + .../themes/smoothness/jquery.ui.core.css | 41 + .../themes/smoothness/jquery.ui.theme.css | 249 + .../ui/jquery-ui-1.8.16.custom.js | 2646 +++++ .../development-bundle/ui/jquery.ui.core.js | 314 + .../ui/jquery.ui.draggable.js | 825 ++ .../development-bundle/ui/jquery.ui.mouse.js | 162 + .../ui/jquery.ui.sortable.js | 1077 ++ .../development-bundle/ui/jquery.ui.widget.js | 268 + .../ui/minified/jquery.ui.core.min.js | 18 + .../ui/minified/jquery.ui.draggable.min.js | 50 + .../ui/minified/jquery.ui.mouse.min.js | 17 + .../ui/minified/jquery.ui.sortable.min.js | 60 + .../ui/minified/jquery.ui.widget.min.js | 15 + .../development-bundle/version.txt | 1 + jquery-ui-1.8.16.custom/index.html | 257 + .../js/jquery-1.6.2.min.js | 18 + .../js/jquery-ui-1.8.16.custom.min.js | 161 + public/admin/additem.php | 58 + public/admin/adduser.php | 49 + public/admin/deleteitems.php | 14 + public/admin/deleteusers.php | 14 + public/admin/index.php | 37 + public/admin/listitems.php | 43 + public/admin/listusers.php | 36 + public/admin/login.php | 53 + public/admin/sortitems.php | 14 + public/css/main.css | 7 + public/images/plakat-4.jpg | Bin 0 -> 84910 bytes public/images/zamek.jpg | Bin 0 -> 258818 bytes public/index.php | 24 + public/js/custom.js | 9 + public/js/jquery-ui.js | 161 + public/js/jquery.js | 18 + public/layouts/admin_footer.php | 0 public/layouts/admin_header.php | 9 + 140 files changed, 25181 insertions(+) create mode 100644 README create mode 100755 additems/additem.php create mode 100755 additems/index.php create mode 100644 gerry.sql create mode 100755 includes/config.php create mode 100755 includes/database.php create mode 100755 includes/functions.php create mode 100755 includes/initialise.php create mode 100755 includes/item.php create mode 100755 includes/session.php create mode 100755 includes/user.php create mode 100755 jquery-drag-drop/_notes/dwsync.xml create mode 100755 jquery-drag-drop/connect.php create mode 100755 jquery-drag-drop/dragdrop.sql create mode 100755 jquery-drag-drop/index.php create mode 100755 jquery-drag-drop/updateList.php create mode 100755 jquery-ui-1.8.16.custom/css/smoothness/images/ui-bg_flat_0_aaaaaa_40x100.png create mode 100755 jquery-ui-1.8.16.custom/css/smoothness/images/ui-bg_flat_75_ffffff_40x100.png create mode 100755 jquery-ui-1.8.16.custom/css/smoothness/images/ui-bg_glass_55_fbf9ee_1x400.png create mode 100755 jquery-ui-1.8.16.custom/css/smoothness/images/ui-bg_glass_65_ffffff_1x400.png create mode 100755 jquery-ui-1.8.16.custom/css/smoothness/images/ui-bg_glass_75_dadada_1x400.png create mode 100755 jquery-ui-1.8.16.custom/css/smoothness/images/ui-bg_glass_75_e6e6e6_1x400.png create mode 100755 jquery-ui-1.8.16.custom/css/smoothness/images/ui-bg_glass_95_fef1ec_1x400.png create mode 100755 jquery-ui-1.8.16.custom/css/smoothness/images/ui-bg_highlight-soft_75_cccccc_1x100.png create mode 100755 jquery-ui-1.8.16.custom/css/smoothness/images/ui-icons_222222_256x240.png create mode 100755 jquery-ui-1.8.16.custom/css/smoothness/images/ui-icons_2e83ff_256x240.png create mode 100755 jquery-ui-1.8.16.custom/css/smoothness/images/ui-icons_454545_256x240.png create mode 100755 jquery-ui-1.8.16.custom/css/smoothness/images/ui-icons_888888_256x240.png create mode 100755 jquery-ui-1.8.16.custom/css/smoothness/images/ui-icons_cd0a0a_256x240.png create mode 100755 jquery-ui-1.8.16.custom/css/smoothness/jquery-ui-1.8.16.custom.css create mode 100755 jquery-ui-1.8.16.custom/development-bundle/AUTHORS.txt create mode 100755 jquery-ui-1.8.16.custom/development-bundle/GPL-LICENSE.txt create mode 100755 jquery-ui-1.8.16.custom/development-bundle/MIT-LICENSE.txt create mode 100755 jquery-ui-1.8.16.custom/development-bundle/demos/demos.css create mode 100755 jquery-ui-1.8.16.custom/development-bundle/demos/draggable/constrain-movement.html create mode 100755 jquery-ui-1.8.16.custom/development-bundle/demos/draggable/cursor-style.html create mode 100755 jquery-ui-1.8.16.custom/development-bundle/demos/draggable/default.html create mode 100755 jquery-ui-1.8.16.custom/development-bundle/demos/draggable/delay-start.html create mode 100755 jquery-ui-1.8.16.custom/development-bundle/demos/draggable/events.html create mode 100755 jquery-ui-1.8.16.custom/development-bundle/demos/draggable/handle.html create mode 100755 jquery-ui-1.8.16.custom/development-bundle/demos/draggable/index.html create mode 100755 jquery-ui-1.8.16.custom/development-bundle/demos/draggable/revert.html create mode 100755 jquery-ui-1.8.16.custom/development-bundle/demos/draggable/scroll.html create mode 100755 jquery-ui-1.8.16.custom/development-bundle/demos/draggable/snap-to.html create mode 100755 jquery-ui-1.8.16.custom/development-bundle/demos/draggable/sortable.html create mode 100755 jquery-ui-1.8.16.custom/development-bundle/demos/draggable/visual-feedback.html create mode 100755 jquery-ui-1.8.16.custom/development-bundle/demos/images/calendar.gif create mode 100755 jquery-ui-1.8.16.custom/development-bundle/demos/images/demo-config-on-tile.gif create mode 100755 jquery-ui-1.8.16.custom/development-bundle/demos/images/demo-config-on.gif create mode 100755 jquery-ui-1.8.16.custom/development-bundle/demos/images/demo-spindown-closed.gif create mode 100755 jquery-ui-1.8.16.custom/development-bundle/demos/images/demo-spindown-open.gif create mode 100755 jquery-ui-1.8.16.custom/development-bundle/demos/images/icon-docs-info.gif create mode 100755 jquery-ui-1.8.16.custom/development-bundle/demos/images/pbar-ani.gif create mode 100755 jquery-ui-1.8.16.custom/development-bundle/demos/index.html create mode 100755 jquery-ui-1.8.16.custom/development-bundle/demos/sortable/connect-lists-through-tabs.html create mode 100755 jquery-ui-1.8.16.custom/development-bundle/demos/sortable/connect-lists.html create mode 100755 jquery-ui-1.8.16.custom/development-bundle/demos/sortable/default.html create mode 100755 jquery-ui-1.8.16.custom/development-bundle/demos/sortable/delay-start.html create mode 100755 jquery-ui-1.8.16.custom/development-bundle/demos/sortable/display-grid.html create mode 100755 jquery-ui-1.8.16.custom/development-bundle/demos/sortable/empty-lists.html create mode 100755 jquery-ui-1.8.16.custom/development-bundle/demos/sortable/index.html create mode 100755 jquery-ui-1.8.16.custom/development-bundle/demos/sortable/items.html create mode 100755 jquery-ui-1.8.16.custom/development-bundle/demos/sortable/placeholder.html create mode 100755 jquery-ui-1.8.16.custom/development-bundle/demos/sortable/portlets.html create mode 100755 jquery-ui-1.8.16.custom/development-bundle/docs/draggable.html create mode 100755 jquery-ui-1.8.16.custom/development-bundle/docs/sortable.html create mode 100755 jquery-ui-1.8.16.custom/development-bundle/external/jquery.bgiframe-2.1.2.js create mode 100755 jquery-ui-1.8.16.custom/development-bundle/external/jquery.cookie.js create mode 100755 jquery-ui-1.8.16.custom/development-bundle/external/jquery.metadata.js create mode 100755 jquery-ui-1.8.16.custom/development-bundle/external/qunit.css create mode 100755 jquery-ui-1.8.16.custom/development-bundle/external/qunit.js create mode 100755 jquery-ui-1.8.16.custom/development-bundle/jquery-1.6.2.js create mode 100755 jquery-ui-1.8.16.custom/development-bundle/themes/base/images/ui-bg_flat_0_aaaaaa_40x100.png create mode 100755 jquery-ui-1.8.16.custom/development-bundle/themes/base/images/ui-bg_flat_75_ffffff_40x100.png create mode 100755 jquery-ui-1.8.16.custom/development-bundle/themes/base/images/ui-bg_glass_55_fbf9ee_1x400.png create mode 100755 jquery-ui-1.8.16.custom/development-bundle/themes/base/images/ui-bg_glass_65_ffffff_1x400.png create mode 100755 jquery-ui-1.8.16.custom/development-bundle/themes/base/images/ui-bg_glass_75_dadada_1x400.png create mode 100755 jquery-ui-1.8.16.custom/development-bundle/themes/base/images/ui-bg_glass_75_e6e6e6_1x400.png create mode 100755 jquery-ui-1.8.16.custom/development-bundle/themes/base/images/ui-bg_glass_95_fef1ec_1x400.png create mode 100755 jquery-ui-1.8.16.custom/development-bundle/themes/base/images/ui-bg_highlight-soft_75_cccccc_1x100.png create mode 100755 jquery-ui-1.8.16.custom/development-bundle/themes/base/images/ui-icons_222222_256x240.png create mode 100755 jquery-ui-1.8.16.custom/development-bundle/themes/base/images/ui-icons_2e83ff_256x240.png create mode 100755 jquery-ui-1.8.16.custom/development-bundle/themes/base/images/ui-icons_454545_256x240.png create mode 100755 jquery-ui-1.8.16.custom/development-bundle/themes/base/images/ui-icons_888888_256x240.png create mode 100755 jquery-ui-1.8.16.custom/development-bundle/themes/base/images/ui-icons_cd0a0a_256x240.png create mode 100755 jquery-ui-1.8.16.custom/development-bundle/themes/base/jquery.ui.all.css create mode 100755 jquery-ui-1.8.16.custom/development-bundle/themes/base/jquery.ui.base.css create mode 100755 jquery-ui-1.8.16.custom/development-bundle/themes/base/jquery.ui.core.css create mode 100755 jquery-ui-1.8.16.custom/development-bundle/themes/base/jquery.ui.theme.css create mode 100755 jquery-ui-1.8.16.custom/development-bundle/themes/smoothness/images/ui-bg_flat_0_aaaaaa_40x100.png create mode 100755 jquery-ui-1.8.16.custom/development-bundle/themes/smoothness/images/ui-bg_flat_75_ffffff_40x100.png create mode 100755 jquery-ui-1.8.16.custom/development-bundle/themes/smoothness/images/ui-bg_glass_55_fbf9ee_1x400.png create mode 100755 jquery-ui-1.8.16.custom/development-bundle/themes/smoothness/images/ui-bg_glass_65_ffffff_1x400.png create mode 100755 jquery-ui-1.8.16.custom/development-bundle/themes/smoothness/images/ui-bg_glass_75_dadada_1x400.png create mode 100755 jquery-ui-1.8.16.custom/development-bundle/themes/smoothness/images/ui-bg_glass_75_e6e6e6_1x400.png create mode 100755 jquery-ui-1.8.16.custom/development-bundle/themes/smoothness/images/ui-bg_glass_95_fef1ec_1x400.png create mode 100755 jquery-ui-1.8.16.custom/development-bundle/themes/smoothness/images/ui-bg_highlight-soft_75_cccccc_1x100.png create mode 100755 jquery-ui-1.8.16.custom/development-bundle/themes/smoothness/images/ui-icons_222222_256x240.png create mode 100755 jquery-ui-1.8.16.custom/development-bundle/themes/smoothness/images/ui-icons_2e83ff_256x240.png create mode 100755 jquery-ui-1.8.16.custom/development-bundle/themes/smoothness/images/ui-icons_454545_256x240.png create mode 100755 jquery-ui-1.8.16.custom/development-bundle/themes/smoothness/images/ui-icons_888888_256x240.png create mode 100755 jquery-ui-1.8.16.custom/development-bundle/themes/smoothness/images/ui-icons_cd0a0a_256x240.png create mode 100755 jquery-ui-1.8.16.custom/development-bundle/themes/smoothness/jquery-ui-1.8.16.custom.css create mode 100755 jquery-ui-1.8.16.custom/development-bundle/themes/smoothness/jquery.ui.all.css create mode 100755 jquery-ui-1.8.16.custom/development-bundle/themes/smoothness/jquery.ui.base.css create mode 100755 jquery-ui-1.8.16.custom/development-bundle/themes/smoothness/jquery.ui.core.css create mode 100755 jquery-ui-1.8.16.custom/development-bundle/themes/smoothness/jquery.ui.theme.css create mode 100755 jquery-ui-1.8.16.custom/development-bundle/ui/jquery-ui-1.8.16.custom.js create mode 100755 jquery-ui-1.8.16.custom/development-bundle/ui/jquery.ui.core.js create mode 100755 jquery-ui-1.8.16.custom/development-bundle/ui/jquery.ui.draggable.js create mode 100755 jquery-ui-1.8.16.custom/development-bundle/ui/jquery.ui.mouse.js create mode 100755 jquery-ui-1.8.16.custom/development-bundle/ui/jquery.ui.sortable.js create mode 100755 jquery-ui-1.8.16.custom/development-bundle/ui/jquery.ui.widget.js create mode 100755 jquery-ui-1.8.16.custom/development-bundle/ui/minified/jquery.ui.core.min.js create mode 100755 jquery-ui-1.8.16.custom/development-bundle/ui/minified/jquery.ui.draggable.min.js create mode 100755 jquery-ui-1.8.16.custom/development-bundle/ui/minified/jquery.ui.mouse.min.js create mode 100755 jquery-ui-1.8.16.custom/development-bundle/ui/minified/jquery.ui.sortable.min.js create mode 100755 jquery-ui-1.8.16.custom/development-bundle/ui/minified/jquery.ui.widget.min.js create mode 100755 jquery-ui-1.8.16.custom/development-bundle/version.txt create mode 100755 jquery-ui-1.8.16.custom/index.html create mode 100755 jquery-ui-1.8.16.custom/js/jquery-1.6.2.min.js create mode 100755 jquery-ui-1.8.16.custom/js/jquery-ui-1.8.16.custom.min.js create mode 100755 public/admin/additem.php create mode 100755 public/admin/adduser.php create mode 100644 public/admin/deleteitems.php create mode 100755 public/admin/deleteusers.php create mode 100755 public/admin/index.php create mode 100755 public/admin/listitems.php create mode 100755 public/admin/listusers.php create mode 100755 public/admin/login.php create mode 100755 public/admin/sortitems.php create mode 100755 public/css/main.css create mode 100755 public/images/plakat-4.jpg create mode 100755 public/images/zamek.jpg create mode 100755 public/index.php create mode 100755 public/js/custom.js create mode 100755 public/js/jquery-ui.js create mode 100755 public/js/jquery.js create mode 100755 public/layouts/admin_footer.php create mode 100755 public/layouts/admin_header.php diff --git a/README b/README new file mode 100644 index 0000000..df1ecef --- /dev/null +++ b/README @@ -0,0 +1 @@ +This file was created by JetBrains PhpStorm 3.0 for binding GitHub repository \ No newline at end of file diff --git a/additems/additem.php b/additems/additem.php new file mode 100755 index 0000000..a386eef --- /dev/null +++ b/additems/additem.php @@ -0,0 +1,23 @@ +Połączenie z bazą danych nie powiodło się: " . mysql_error() ); +} +$db_select = mysql_select_db("gerry", $connection); +if (!$db_select) { + die("Nie znaleziono bazy danych: " . mysql_error() ); +} + +// add new item +if (isset($_POST[position]) && isset($_POST[link_txt]) && isset($_POST[link_url]) && isset($_POST[text])) { + $position = mysql_real_escape_string($_POST[position]); + $link_txt = mysql_real_escape_string($_POST[link_txt]); + $link_url = mysql_real_escape_string($_POST[link_url]); + $text = mysql_real_escape_string($_POST[text]); + + mysql_query("INSERT INTO items (position, link-txt, link-url, text) VALUES('{$position}', '{$link_txt}', '{$link_url}', '{$text}')"); +} +mysql_close($connection); +header("Location: index.php"); +?> \ No newline at end of file diff --git a/additems/index.php b/additems/index.php new file mode 100755 index 0000000..e69de29 diff --git a/gerry.sql b/gerry.sql new file mode 100644 index 0000000..e131d4e --- /dev/null +++ b/gerry.sql @@ -0,0 +1,81 @@ +-- MySQL dump 10.13 Distrib 5.1.54, for debian-linux-gnu (x86_64) +-- +-- Host: localhost Database: gerry +-- ------------------------------------------------------ +-- Server version 5.1.54-1ubuntu4 + +/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */; +/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */; +/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */; +/*!40101 SET NAMES utf8 */; +/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */; +/*!40103 SET TIME_ZONE='+00:00' */; +/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */; +/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */; +/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */; +/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */; + +-- +-- Table structure for table `items` +-- + +DROP TABLE IF EXISTS `items`; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!40101 SET character_set_client = utf8 */; +CREATE TABLE `items` ( + `id` int(10) NOT NULL AUTO_INCREMENT, + `position` int(10) NOT NULL, + `link_txt` varchar(512) NOT NULL, + `link_url` varchar(512) NOT NULL, + `item_text` text NOT NULL, + `filename` varchar(50) NOT NULL, + `size` int(12) NOT NULL, + PRIMARY KEY (`id`) +) ENGINE=MyISAM AUTO_INCREMENT=9 DEFAULT CHARSET=utf8; +/*!40101 SET character_set_client = @saved_cs_client */; + +-- +-- Dumping data for table `items` +-- + +LOCK TABLES `items` WRITE; +/*!40000 ALTER TABLE `items` DISABLE KEYS */; +INSERT INTO `items` VALUES (7,0,'asdf asdf','sadfasdf','asdf sdf sdf','zamek.jpg',258818),(8,0,'rrr aaa sss','sdf sdfs sdf','sdf sdf sdf sdf','plakat-4.jpg',84910); +/*!40000 ALTER TABLE `items` ENABLE KEYS */; +UNLOCK TABLES; + +-- +-- Table structure for table `users` +-- + +DROP TABLE IF EXISTS `users`; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!40101 SET character_set_client = utf8 */; +CREATE TABLE `users` ( + `id` int(11) NOT NULL AUTO_INCREMENT, + `username` varchar(20) NOT NULL, + `password` varchar(32) NOT NULL, + PRIMARY KEY (`id`) +) ENGINE=MyISAM AUTO_INCREMENT=9 DEFAULT CHARSET=latin2; +/*!40101 SET character_set_client = @saved_cs_client */; + +-- +-- Dumping data for table `users` +-- + +LOCK TABLES `users` WRITE; +/*!40000 ALTER TABLE `users` DISABLE KEYS */; +INSERT INTO `users` VALUES (1,'admin','21232f297a57a5a743894a0e4a801fc3'),(8,'goszu','1a2d9606d9a30d8219b0541c47538f16'); +/*!40000 ALTER TABLE `users` ENABLE KEYS */; +UNLOCK TABLES; +/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */; + +/*!40101 SET SQL_MODE=@OLD_SQL_MODE */; +/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */; +/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */; +/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */; +/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */; +/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */; +/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */; + +-- Dump completed on 2012-01-06 23:01:34 diff --git a/includes/config.php b/includes/config.php new file mode 100755 index 0000000..62c1c55 --- /dev/null +++ b/includes/config.php @@ -0,0 +1,9 @@ + diff --git a/includes/database.php b/includes/database.php new file mode 100755 index 0000000..26edc31 --- /dev/null +++ b/includes/database.php @@ -0,0 +1,85 @@ +open_connection(); + $this->magic_quotes_active = get_magic_quotes_gpc(); + $this->real_escape_string_exists = function_exists( "mysql_real_escape_string" ); + } + + public function open_connection() { + $this->connection = mysql_connect(DB_SERVER, DB_USER, DB_PASS); + if (!$this->connection) { + die("Database connection failed: " . mysql_error()); + } else { + $db_select = mysql_select_db(DB_NAME, $this->connection); + if(!$db_select) { + die("Database connection failed: " . mysql_error()); + } + } + } + + public function close_connection() { + if(isset($this->connection)) { + mysql_close($this->connection); + unset($this->connection); + } + } + + public function query($sql) { + $this->last_query = $sql; + $result = mysql_query($sql, $this->connection); + $this->confirm_query($result); + return $result; + } + + public function escape_value( $value ) { + if( $this->real_escape_string_exists ) { // PHP v4.3.0 or higher + // undo any magic quote effects so mysql_real_escape_string can do the work + if( $this->magic_quotes_active ) { $value = stripslashes( $value ); } + $value = mysql_real_escape_string( $value ); + } else { // before PHP v4.3.0 + // if magic quotes aren't already on then add slashes manually + if( !$this->magic_quotes_active ) { $value = addslashes( $value ); } + // if magic quotes are active, then the slashes already exist + } + return $value; + } + + // "database-neutral" methods + public function fetch_array($result_set) { + return mysql_fetch_array($result_set); + } + + public function num_rows($result_set) { + return mysql_num_rows($result_set); + } + + public function insert_id() { + // get the last id inserted over the current db connection + return mysql_insert_id($this->connection); + } + + public function affected_rows() { + return mysql_affected_rows($this->connection); + } + + private function confirm_query($result) { + if (!$result) { + $output = "Database query failed: " . mysql_error() . "
"; + //$output .= "Last SQL query: " . $this->last_query; + die( $output ); + } + } +} + +$database = new MySQLDatabase; +$db =& $database; +?> \ No newline at end of file diff --git a/includes/functions.php b/includes/functions.php new file mode 100755 index 0000000..231592d --- /dev/null +++ b/includes/functions.php @@ -0,0 +1,28 @@ +{$message}

"; + } else { + return "test
"; + } +} + +function redirect_to( $location = NULL ) { + if ($location != NULL) { + header("Location: {$location}"); + exit; + } +} + +?> \ No newline at end of file diff --git a/includes/initialise.php b/includes/initialise.php new file mode 100755 index 0000000..7aef62e --- /dev/null +++ b/includes/initialise.php @@ -0,0 +1,24 @@ + \ No newline at end of file diff --git a/includes/item.php b/includes/item.php new file mode 100755 index 0000000..1ffad4b --- /dev/null +++ b/includes/item.php @@ -0,0 +1,247 @@ + "No errors.", + UPLOAD_ERR_INI_SIZE => "Larger than upload_max_filesize.", + UPLOAD_ERR_FORM_SIZE => "Larger than form MAX_FILE_SIZE.", + UPLOAD_ERR_PARTIAL => "Partial upload.", + UPLOAD_ERR_NO_FILE => "No file.", + UPLOAD_ERR_NO_TMP_DIR => "No temporary directory.", + UPLOAD_ERR_CANT_WRITE => "Can't write to disk.", + UPLOAD_ERR_EXTENSION => "File upload stopped by extension." + ); + + + // Pass in $_FILE(['uploaded_file']) as an argument + public function attach_file($file) { + // Perform error checking on the form parameters + if(!$file || empty($file) || !is_array($file)) { + // error: nothing uploaded or wrong argument usage + $this->errors[] = "No file was uploaded."; + return false; + } elseif($file['error'] != 0) { + // error: report what PHP says went wrong + $this->errors[] = $this->upload_errors[$file['error']]; + return false; + } else { + // Set object attributes to the form parameters. + $this->temp_path = $file['tmp_name']; + $this->filename = basename($file['name']); + $this->size = $file['size']; + // Don't worry about saving anything to the database yet. + return true; + + } + } + + public function save() { + // A new record won't have an id yet. + if(isset($this->id)) { + // Really just to text info + $this->update(); + } else { + // Make sure there are no errors + // Can't save if there are pre-existing errors + if(!empty($this->errors)) { return false; } + + // Can't save without filename and temp location + if(empty($this->filename) || empty($this->temp_path)) { + $this->errors[] = "The file location was not available."; + return false; + } + + // Determine the target_path + $target_path = SITE_ROOT .DS. 'public' .DS. $this->upload_dir .DS. $this->filename; + + // Make sure a file doesn't already exist in the target location + if(file_exists($target_path)) { + $this->errors[] = "The file {$this->filename} already exists."; + return false; + } + + // Attempt to move the file + if(move_uploaded_file($this->temp_path, $target_path)) { + // Success + // Save a corresponding entry to the database + if($this->create()) { + // We are done with temp_path, the file isn't there anymore + unset($this->temp_path); + return true; + } + } else { + // File was not moved. + $this->errors[] = "The file upload failed, possibly due to incorrect permissions on the upload folder."; + return false; + } + } + } + + public function destroy() { + // First remove the database entry + if($this->delete()) { + // then remove the file + // Note that even though the database entry is gone, this object + // is still around (which lets us use $this->image_path()). + $target_path = SITE_ROOT.DS.'public'.DS.$this->image_path(); + return unlink($target_path) ? true : false; + } else { + // database delete failed + return false; + } + } + public function image_path() { + return $this->upload_dir.DS.$this->filename; + } + + public function size_as_text() { + if($this->size < 1024) { + return "{$this->size} bytes"; + } elseif($this->size < 1048576) { + $size_kb = round($this->size/1024); + return "{$size_kb} KB"; + } else { + $size_mb = round($this->size/1048576, 1); + return "{$size_mb} MB"; + } + } + + // Common Database Methods + public static function find_all() { + return self::find_by_sql("SELECT * FROM ".self::$table_name); + } + + public static function find_by_id($id=0) { + $result_array = self::find_by_sql("SELECT * FROM ".self::$table_name." WHERE id={$id} LIMIT 1"); + return !empty($result_array) ? array_shift($result_array) : false; + } + + public static function find_by_sql($sql="") { + global $database; + $result_set = $database->query($sql); + $object_array = array(); + while ($row = $database->fetch_array($result_set)) { + $object_array[] = self::instantiate($row); + } + return $object_array; + } + + private static function instantiate($record) { + // Could check that $record exists and is an array + $object = new self; + + // More dynamic, short-form approach: + foreach($record as $attribute=>$value){ + if($object->has_attribute($attribute)) { + $object->$attribute = $value; + } + } + return $object; + } + + private function has_attribute($attribute) { + // We don't care about the value, we just want to know if the key exists + // Will return true or false + return array_key_exists($attribute, $this->attributes()); + } + + protected function attributes() { + // return an array of attribute names and their values + $attributes = array(); + foreach(self::$db_fields as $field) { + if(property_exists($this, $field)) { + $attributes[$field] = $this->$field; + } + } + return $attributes; + } + + protected function sanitized_attributes() { + global $database; + $clean_attributes = array(); + // sanitize the values before submitting + // Note: does not alter the actual value of each attribute + foreach($this->attributes() as $key => $value){ + $clean_attributes[$key] = $database->escape_value($value); + } + return $clean_attributes; + } + + public function create() { + global $database; + // Don't forget your SQL syntax and good habits: + // - INSERT INTO table (key, key) VALUES ('value', 'value') + // - single-quotes around all values + // - escape all values to prevent SQL injection + $attributes = $this->sanitized_attributes(); + $sql = "INSERT INTO ".self::$table_name." ("; + $sql .= join(", ", array_keys($attributes)); + $sql .= ") VALUES ('"; + $sql .= join("', '", array_values($attributes)); + $sql .= "')"; + if($database->query($sql)) { + $this->id = $database->insert_id(); + return true; + } else { + return false; + } + } + + public function update() { + global $database; + // Don't forget your SQL syntax and good habits: + // - UPDATE table SET key='value', key='value' WHERE condition + // - single-quotes around all values + // - escape all values to prevent SQL injection + $attributes = $this->sanitized_attributes(); + $attribute_pairs = array(); + foreach($attributes as $key => $value) { + $attribute_pairs[] = "{$key}='{$value}'"; + } + $sql = "UPDATE ".self::$table_name." SET "; + $sql .= join(", ", $attribute_pairs); + $sql .= " WHERE id=". $database->escape_value($this->id); + $database->query($sql); + return ($database->affected_rows() == 1) ? true : false; + } + + public function delete() { + global $database; + // Don't forget your SQL syntax and good habits: + // - DELETE FROM table WHERE condition LIMIT 1 + // - escape all values to prevent SQL injection + // - use LIMIT 1 + $sql = "DELETE FROM ".self::$table_name; + $sql .= " WHERE id=". $database->escape_value($this->id); + $sql .= " LIMIT 1"; + $database->query($sql); + return ($database->affected_rows() == 1) ? true : false; + + // NB: After deleting, the instance of User still + // exists, even though the database entry does not. + // This can be useful, as in: + // echo $user->first_name . " was deleted"; + // but, for example, we can't call $user->update() + // after calling $user->delete(). + } + +} + +?> \ No newline at end of file diff --git a/includes/session.php b/includes/session.php new file mode 100755 index 0000000..ba646f7 --- /dev/null +++ b/includes/session.php @@ -0,0 +1,68 @@ +check_message(); + $this->check_login(); + } + + public function is_logged_in() { + return $this->logged_in; + } + + public function login($user) { + if($user) { + $this->user_id = $_SESSION['user_id'] = $user->id; + $this->logged_in = true; + } + } + + public function logout() { + unset($_SESSION['user_id']); + unset($this->user_id); + $this->logged_in = false; + } + + private function check_login() { + if(isset($_SESSION['user_id'])) { + $this->user_id = $_SESSION['user_id']; + $this->logged_in = true; + } else { + unset($this->user_id); + $this->logged_in = false; + } + } + public function message($msg="") { + if(!empty($msg)) { + // then this is "set message" + // make sure you understand why $this->message=$msg wouldn't work + $_SESSION['message'] = $msg; + } else { + // then this is "get message" + return $this->message; + } + } + + private function check_message() { + // Is there a message stored in the session? + if(isset($_SESSION['message'])) { + // Add it as an attribute and erase the stored version + $this->message = $_SESSION['message']; + unset($_SESSION['message']); + } else { + $this->message = ""; + } + } + +} + +$session = new Session(); + +?> \ No newline at end of file diff --git a/includes/user.php b/includes/user.php new file mode 100755 index 0000000..4ce8c83 --- /dev/null +++ b/includes/user.php @@ -0,0 +1,171 @@ +escape_value($username); + $password = $database->escape_value($password); + + $sql = "SELECT * FROM users "; + $sql .= "WHERE username = '{$username}' "; + $sql .= "AND password = '{$password}' "; + $sql .= "LIMIT 1"; + $result_array = self::find_by_sql($sql); + return !empty($result_array) ? array_shift($result_array) : false; + } + + public static function find_by_username($username="") { + global $database; + $username = $database->escape_value($username); + + $sql = "SELECT * FROM users "; + $sql .= "WHERE username = '{$username}' "; + $sql .= "LIMIT 1"; + $result_array = self::find_by_sql($sql); + return !empty($result_array) ? array_shift($result_array) : false; + } + + // Common Database Methods + public static function find_all() { + return self::find_by_sql("SELECT * FROM ".self::$table_name); + } + + public static function find_by_id($id=0) { + $result_array = self::find_by_sql("SELECT * FROM ".self::$table_name." WHERE id={$id} LIMIT 1"); + return !empty($result_array) ? array_shift($result_array) : false; + } + + public static function find_by_sql($sql="") { + global $database; + $result_set = $database->query($sql); + $object_array = array(); + while ($row = $database->fetch_array($result_set)) { + $object_array[] = self::instantiate($row); + } + return $object_array; + } + + private static function instantiate($record) { + // Could check that $record exists and is an array + $object = new self; + // Simple, long-form approach: + // $object->id = $record['id']; + // $object->username = $record['username']; + // $object->password = $record['password']; + // $object->first_name = $record['first_name']; + // $object->last_name = $record['last_name']; + + // More dynamic, short-form approach: + foreach($record as $attribute=>$value){ + if($object->has_attribute($attribute)) { + $object->$attribute = $value; + } + } + return $object; + } + + private function has_attribute($attribute) { + // We don't care about the value, we just want to know if the key exists + // Will return true or false + return array_key_exists($attribute, $this->attributes()); + } + + protected function attributes() { + // return an array of attribute names and their values + $attributes = array(); + foreach(self::$db_fields as $field) { + if(property_exists($this, $field)) { + $attributes[$field] = $this->$field; + } + } + return $attributes; + } + + protected function sanitized_attributes() { + global $database; + $clean_attributes = array(); + // sanitize the values before submitting + // Note: does not alter the actual value of each attribute + foreach($this->attributes() as $key => $value){ + $clean_attributes[$key] = $database->escape_value($value); + } + return $clean_attributes; + } + + public function save() { + // A new record won't have an id yet. + return isset($this->id) ? $this->update() : $this->create(); + } + + public function create() { + global $database; + // Don't forget your SQL syntax and good habits: + // - INSERT INTO table (key, key) VALUES ('value', 'value') + // - single-quotes around all values + // - escape all values to prevent SQL injection + $attributes = $this->sanitized_attributes(); + $sql = "INSERT INTO ".self::$table_name." ("; + $sql .= join(", ", array_keys($attributes)); + $sql .= ") VALUES ('"; + $sql .= join("', '", array_values($attributes)); + $sql .= "')"; + if($database->query($sql)) { + $this->id = $database->insert_id(); + return true; + } else { + return false; + } + } + + public function update() { + global $database; + // Don't forget your SQL syntax and good habits: + // - UPDATE table SET key='value', key='value' WHERE condition + // - single-quotes around all values + // - escape all values to prevent SQL injection + $attributes = $this->sanitized_attributes(); + $attribute_pairs = array(); + foreach($attributes as $key => $value) { + $attribute_pairs[] = "{$key}='{$value}'"; + } + $sql = "UPDATE ".self::$table_name." SET "; + $sql .= join(", ", $attribute_pairs); + $sql .= " WHERE id=". $database->escape_value($this->id); + $database->query($sql); + return ($database->affected_rows() == 1) ? true : false; + } + + public function delete() { + global $database; + // Don't forget your SQL syntax and good habits: + // - DELETE FROM table WHERE condition LIMIT 1 + // - escape all values to prevent SQL injection + // - use LIMIT 1 + $sql = "DELETE FROM ".self::$table_name; + $sql .= " WHERE id=". $database->escape_value($this->id); + $sql .= " LIMIT 1"; + $database->query($sql); + return ($database->affected_rows() == 1) ? true : false; + + // NB: After deleting, the instance of User still + // exists, even though the database entry does not. + // This can be useful, as in: + // echo $user->first_name . " was deleted"; + // but, for example, we can't call $user->update() + // after calling $user->delete(). + } + +} + +?> \ No newline at end of file diff --git a/jquery-drag-drop/_notes/dwsync.xml b/jquery-drag-drop/_notes/dwsync.xml new file mode 100755 index 0000000..37089f6 --- /dev/null +++ b/jquery-drag-drop/_notes/dwsync.xml @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/jquery-drag-drop/connect.php b/jquery-drag-drop/connect.php new file mode 100755 index 0000000..cea84cb --- /dev/null +++ b/jquery-drag-drop/connect.php @@ -0,0 +1,9 @@ + \ No newline at end of file diff --git a/jquery-drag-drop/dragdrop.sql b/jquery-drag-drop/dragdrop.sql new file mode 100755 index 0000000..6322100 --- /dev/null +++ b/jquery-drag-drop/dragdrop.sql @@ -0,0 +1,19 @@ +SET NAMES latin1; +SET FOREIGN_KEY_CHECKS = 0; + +CREATE TABLE `dragdrop` ( + `id` int(11) NOT NULL auto_increment, + `text` varchar(255) default NULL, + `listorder` int(11) default NULL, + PRIMARY KEY (`id`) +) ENGINE=MyISAM AUTO_INCREMENT=8 DEFAULT CHARSET=latin1; + +insert into `dragdrop` values('1','Go Shopping','1'), + ('2','Take the dog for a walk','2'), + ('3','Go swimming','3'), + ('4','Go to the Gym','4'), + ('5','Pick up the wife from work','5'), + ('6','Wash the car','6'), + ('7','Take the kids to school','7'); + +SET FOREIGN_KEY_CHECKS = 1; diff --git a/jquery-drag-drop/index.php b/jquery-drag-drop/index.php new file mode 100755 index 0000000..6ae6d87 --- /dev/null +++ b/jquery-drag-drop/index.php @@ -0,0 +1,81 @@ + + + + +Papermashup.com | JQuery Drag and Drop Demo + + + + + + + + +
+
+ +
+
    + +
  • +
    +
  • + +
+
+
+ + diff --git a/jquery-drag-drop/updateList.php b/jquery-drag-drop/updateList.php new file mode 100755 index 0000000..c2c417c --- /dev/null +++ b/jquery-drag-drop/updateList.php @@ -0,0 +1,15 @@ + \ No newline at end of file diff --git a/jquery-ui-1.8.16.custom/css/smoothness/images/ui-bg_flat_0_aaaaaa_40x100.png b/jquery-ui-1.8.16.custom/css/smoothness/images/ui-bg_flat_0_aaaaaa_40x100.png new file mode 100755 index 0000000000000000000000000000000000000000..5b5dab2ab7b1c50dea9cfe73dc5a269a92d2d4b4 GIT binary patch literal 180 zcmeAS@N?(olHy`uVBq!ia0vp^8bF-F!3HG1q!d*FscKIb$B>N1x91EQ4=4yQ7#`R^ z$vje}bP0l+XkK DSH>_4 literal 0 HcmV?d00001 diff --git a/jquery-ui-1.8.16.custom/css/smoothness/images/ui-bg_flat_75_ffffff_40x100.png b/jquery-ui-1.8.16.custom/css/smoothness/images/ui-bg_flat_75_ffffff_40x100.png new file mode 100755 index 0000000000000000000000000000000000000000..ac8b229af950c29356abf64a6c4aa894575445f0 GIT binary patch literal 178 zcmeAS@N?(olHy`uVBq!ia0vp^8bF-F!3HG1q!d*FsY*{5$B>N1x91EQ4=4yQYz+E8 zPo9&<{J;c_6SHRil>2s{Zw^OT)6@jj2u|u!(plXsM>LJD`vD!n;OXk;vd$@?2>^GI BH@yG= literal 0 HcmV?d00001 diff --git a/jquery-ui-1.8.16.custom/css/smoothness/images/ui-bg_glass_55_fbf9ee_1x400.png b/jquery-ui-1.8.16.custom/css/smoothness/images/ui-bg_glass_55_fbf9ee_1x400.png new file mode 100755 index 0000000000000000000000000000000000000000..ad3d6346e00f246102f72f2e026ed0491988b394 GIT binary patch literal 120 zcmeAS@N?(olHy`uVBq!ia0vp^j6gJjgAK^akKnour0hLi978O6-<~(*I$*%ybaDOn z{W;e!B}_MSUQoPXhYd^Y6RUoS1yepnPx`2Kz)7OXQG!!=-jY=F+d2OOy?#DnJ32>z UEim$g7SJdLPgg&ebxsLQ09~*s;{X5v literal 0 HcmV?d00001 diff --git a/jquery-ui-1.8.16.custom/css/smoothness/images/ui-bg_glass_65_ffffff_1x400.png b/jquery-ui-1.8.16.custom/css/smoothness/images/ui-bg_glass_65_ffffff_1x400.png new file mode 100755 index 0000000000000000000000000000000000000000..42ccba269b6e91bef12ad0fa18be651b5ef0ee68 GIT binary patch literal 105 zcmeAS@N?(olHy`uVBq!ia0vp^j6gJjgAK^akKnouqzpV=978O6-=0?FV^9z|eBtf= z|7WztIJ;WT>{+tN>ySr~=F{k$>;_x^_y?afmf9pRKH0)6?eSP?3s5hEr>mdKI;Vst E0O;M1& literal 0 HcmV?d00001 diff --git a/jquery-ui-1.8.16.custom/css/smoothness/images/ui-bg_glass_75_dadada_1x400.png b/jquery-ui-1.8.16.custom/css/smoothness/images/ui-bg_glass_75_dadada_1x400.png new file mode 100755 index 0000000000000000000000000000000000000000..1d43b47e608e15b5fecdb75918178142c80fc53a GIT binary patch literal 159 zcmeAS@N?(olHy`uVBq!ia0vp^j6gJjgAGVZ#9R3S1=2iS978O6-(KkLDcI7TBVw{vDV26o)#~38k_!`W=^oo1w6ixmPC4R1b Tyd6G3lNdZ*{an^LB{Ts5`idse literal 0 HcmV?d00001 diff --git a/jquery-ui-1.8.16.custom/css/smoothness/images/ui-bg_highlight-soft_75_cccccc_1x100.png b/jquery-ui-1.8.16.custom/css/smoothness/images/ui-bg_highlight-soft_75_cccccc_1x100.png new file mode 100755 index 0000000000000000000000000000000000000000..7c9fa6c6edcfcdd3e5b77e6f547b719e6fc66e30 GIT binary patch literal 101 zcmeAS@N?(olHy`uVBq!ia0vp^j6j^i!3HGVb)pi0l#Zv1V~E7mPmYTG^FX}c% zlGE{DS1Q;~I7-6ze&TN@+F-xsI6sd%SwK#*O5K|pDRZqEy< zJg0Nd8F@!OxqElm`~U#piM22@u@8B<moyKE%ct`B(jysxK+1m?G)UyIFs1t0}L zemGR&?jGaM1YQblj?v&@0iXS#fi-VbR9zLEnHLP?xQ|=%Ihrc7^yPWR!tW$yH!zrw z#I2}_!JnT^(qk)VgJr`NGdPtT^dmQIZc%=6nTAyJDXk+^3}wUOilJuwq>s=T_!9V) zr1)DT6VQ2~rgd@!Jlrte3}}m~j}juCS`J4(d-5+e-3@EzzTJNCE2z)w(kJ90z*QE) zBtnV@4mM>jTrZZ*$01SnGov0&=A-JrX5Ge%Pce1Vj}=5YQqBD^W@n4KmFxxpFK`uH zP;(xKV+6VJ2|g+?_Lct7`uElL<&jzGS8Gfva2+=8A@#V+xsAj9|Dkg)vL5yhX@~B= zN2KZSAUD%QH`x>H+@Ou(D1~Pyv#0nc&$!1kI?IO01yw3jD0@80qvc?T*Nr8?-%rC8 z@5$|WY?Hqp`ixmEkzeJTz_`_wsSRi1%Zivd`#+T{Aib6-rf$}M8sz6v zb6ERbr-SniO2wbOv!M4)nb}6UVzoVZEh5kQWh_5x4rYy3c!871NeaM(_p=4(kbS6U#x<*k8Wg^KHs2ttCz<+pBxQ$Z zQMv;kVm5_fF_vH`Mzrq$Y&6u?j6~ftIV0Yg)Nw7JysIN_ z-_n*K_v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C^9ane7_KW*#^vMIoeQdpJqmPp%%px3GIftbwESu#+vPyI*YTuJ6+4`z{s? zpkv~0x4c_PFH`-tqafw5)>4AuQ78SkZ!$8}INLK;Egr;2tS18hEO5=t;QDmZ-qu?I zG+=DN`nR72Xto{{bJp||`k}-2G;5#xg8E~xgz22)^_Z;=K|4@(E&5J)SY2of=olcw z5)@L)_Ntcm!*5nEy0M9v0`S33;pO4TN;>4(Z+19p_0>u#e-vE zXCU(6gAvu~I7Cw(xd%0e59MNLw^U37ZDbsBrj%eDCexw8a3G`nTcXVNL6{B7Hj@i& zbVB{;ApEtHk76q08DJ48dSxd$C(;$K6=FpU<~l9pVoT9arW^Vu{%Bcn4`eIpkOVC| z$)AKYG_`ypM{0@BUb3^9lqi_c?ONH|4UJMJWDowMVjacycX7}9g={O7swOB+{;+?; zjBo!9?+nd)ie#x5IbFW-zBOo0c4q@9wGVt5;pNt`=-~Zgcw#*`m($6ibxtZ`H=e=} zF#GZ~5$%AUn};8U#tRem0J(JTR}d4vR(dgK2ML~lZsPhayJ2h1%sD4FVst| zKF)+@`iNzLRjg4=K8@**0=5cE>%?FDc({I^+g9USk<8$&^qD~@%W0i4b|yMG*p4`N zh}I!ltTRI8Ex$+@V{02Br%xq#O?UlhO{r8WsaZnZCZq0MK9%AXU%MDLT;3=0A9(BV z9VxxxJd7jo$hw3q;3o?yBLmA=azBUrd9>-<_ANs0n3?-Ic*6&ytb@H~?0E(*d>T5n z-HiH2jsDf6uWhID%#n>SzOqrFCPDfUcu5QPd?<(=w6pv1BE#nsxS{n!UnC9qAha1< z;3cpZ9A-e$+Y)%b;w@!!YRA9p%Kf9IHGGg^{+p`mh;q8i7}&e@V3EQaMsItEMS&=X plT@$;k0WcB_jb;cn%_Idz4HO$QU*abf4}+wi?e96N>fbq{{i|W0@(ln literal 0 HcmV?d00001 diff --git a/jquery-ui-1.8.16.custom/css/smoothness/images/ui-icons_2e83ff_256x240.png b/jquery-ui-1.8.16.custom/css/smoothness/images/ui-icons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R5%w2{5+sEakXXHazJp6~LP2QKDx zpkvZrkDOa+A4BbqqX6ls&O)5-Q7`qkZ_?6~c-wQ9tseNtET;nhEOL^`*naKwcMX;R zbto&a;oTR0s;vjfj3wigUg)Sj)!OHQfZoJwAsWYI1A4ntz>X=W4s|y?tUk1r=>#Ct zf+?hq^>rQ3$KNboG$UhCdEmp{qAR13DK$f0ES7kAG~7q+g!jfVq`1b5+c62N^0%~o zKw91o@Wv;0EW*7fINAX3O~L-V{`;xB0q()#^HKZOlLrXVL*Dtw-$SUp8*_J{r( zW`6r`cz0yZQ#f0#*y+m64{bs7GP|2V$phf42rswJB?s@9qf;Bfc^pm-ZS#^5dkG{u zzv;l&B$NYcegSqAnjnPN1?17VUQbPummcWry((85IFB(pFQNGN{hhN$Fv?~l_fr?| z9=%dK(+;kZ(8=mwptjwC-ikBD$Z{l2++~*8wq5ynF<+PNlZI7ba5V#fg~L}kE;UH5 zJ;{P(`G{tNl&z5rUiH~e{I>GT8~9&*(J;Myx9z5P!db!F8RTII^I7c)HU=ss*bYB` zgwiIMZ_q>KEC$4lFm+Afvu6^$X1jm1rB*4H)-EIO5Rvz_p24?OkJ zovD4{-1KA6*oL?a;3qR7GZRB!cE5oAdA#M@{w+fGgsJ-lSmQ^-?8E&Q%tbmjd=@gZ z(}Mg*jsDf6Z)|7s%@9pc-tuw5W&zqUXjv2bVkC%-X?O3F72W4EsIl#1e>Mdz=X4k*_>VxCu_2?jjg16N*5fwC-36OW&;Sz}@jMn}hgJdEd pO;bST+>R{W-aENZYk%(=^(_R5N$LmL{Qc?!%+I4tt4z=_{|902Wu5>4 literal 0 HcmV?d00001 diff --git a/jquery-ui-1.8.16.custom/css/smoothness/images/ui-icons_454545_256x240.png b/jquery-ui-1.8.16.custom/css/smoothness/images/ui-icons_454545_256x240.png new file mode 100755 index 0000000000000000000000000000000000000000..59bd45b907c4fd965697774ce8c5fc6b2fd9c105 GIT binary patch literal 4369 zcmd^?`8O2)_s3^p#%>toqJ#RmwV2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)4IgBf|E8)sqMYtB2KH_}SfsFq(c9i(Q6S3U oBo%DI*Kv;w;*%(i9W@f3_WCF#rGn literal 0 HcmV?d00001 diff --git a/jquery-ui-1.8.16.custom/css/smoothness/images/ui-icons_cd0a0a_256x240.png b/jquery-ui-1.8.16.custom/css/smoothness/images/ui-icons_cd0a0a_256x240.png new file mode 100755 index 0000000000000000000000000000000000000000..2ab019b73ec11a485fa09378f3a0e155194f6a5d GIT binary patch literal 4369 zcmd^?`8O2)_s3@pGmLE*`#M>&Z`mr_kcwz5Nh&gy7G+@45H9p05OJ)J0CH2owMSaGIN$+5!N; z<11j56?ANg=9hMl-IBGX-T8hf$N$b*H?$f4Xt&I`oABt1nR=k%#z{{*a!Axm|t}hCz zJg0Ln7;M4Zjx{$mwhMW+kWN;|j>qTx_-zNX!GzqEZRa}QF8_0yk6+=w}$QD^&hM4%OkT=uh$q9;5u~NL-I+NQyaVc|3l+iWI5~|(hA-G z08i8AMr@{uY_cWTxo^y|Qyb33mlZLvc7H2Zm~>mB7&=-1X^@|D z&0*~i?GBE&NM(Pv&Vt^zWu_bD3e|R?wTL{cSFwD^Ij9v%g=aLY@1U2Bxn#Te*{>%D zOOW-O-bfnJ7T8jd<*>8`Z2DsFQi~S$%^npJwXam5>>p zMd}QEjM)@~##n$LXpz1Hkl|2UGXi-JFFePXBWL+-5f%!S>L#KL3>Vl0w#d^21Jn<~_7q zWx^Xg1(>PsPGO&cu{S;(pRQ;=Vw2J<9NdQVWx<+g-`ia=Q@puS)75M+?u>DTa95e9 zt#1T?#a)uWC>Mia!K6>g|InPW{&Kp9$tC_3*;R_Xsz6^Eu|xW1$6j#0?XLs7^l+%O zlxddE)h^|=K(2UqS*0ECuDe0ic|H_^t*VOoTCKx0Qmn_^LyJ|b8l$Jvl3{2=3x8&7 z$1ik&YG>w#@x@y~$r`fhlUDo;yXecc6$`30m`3K8s{k8G&3RVp8n#|l6h(Xw`Axw9 z%6Y^J6k0P@4YAuSd%q7=eg)&u8EMoEm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7uliAq-O6~(+MR>V(EZTd&9G+MY&gF2lZ=I8j*o`OC z`AxrmOGMeD=H_9Cq47clT|h34>-EI=%;E!my;o&wU(aKV&PymBzrV9q2uA62XS@JrjKYANZAU>;8mag#BU?Nv`+ZVhlAPV`HF_gKY_O zhbV2L`8qvR&f=@M5vH~geD+L&*L2s<)|5)clA0yt9TM{X)iWtx@wJO_!{vR#|AD6t z*OAg2&P_i8jjW5y0DdtOGcqvrCHD*1Uq_q1ZQmngPnf!2fHizH%sSX>#$2Rh!>1ur z+s(*-)abDuePc6~XNG8m@|KMXHVM#G4?~+V z1z!An!D0GD-7WqXE8ddUXLkI%u01$fTEhhy + + + + jQuery UI Draggable - Constrain movement + + + + + + + + + + + + +

+ +

Constrain movement along an axis:

+ +
+

I can be dragged only vertically

+
+ +
+

I can be dragged only horizontally

+
+ +

Or to within another DOM element:

+
+
+

I'm contained within the box

+
+ +
+

I'm contained within the box's parent

+
+ +
+

I'm contained within my parent

+
+
+ +
+ + + +
+

Constrain the movement of each draggable by defining the boundaries of the draggable area. Set the axis option to limit the draggable's path to the x- or y-axis, or use the containment option to specify a parent DOM element or a jQuery selector, like 'document.'

+
+ + + diff --git a/jquery-ui-1.8.16.custom/development-bundle/demos/draggable/cursor-style.html b/jquery-ui-1.8.16.custom/development-bundle/demos/draggable/cursor-style.html new file mode 100755 index 0000000..beca90b --- /dev/null +++ b/jquery-ui-1.8.16.custom/development-bundle/demos/draggable/cursor-style.html @@ -0,0 +1,49 @@ + + + + + jQuery UI Draggable - Cursor style + + + + + + + + + + + + +
+ +
+

I will always stick to the center (relative to the mouse)

+
+ +
+

My cursor is at left -5 and top -5

+
+ +
+

My cursor position is only controlled for the 'bottom' value

+
+ +
+ + + +
+

Position the cursor while dragging the object. By default the cursor appears in the center of the dragged object; use the cursorAt option to specify another location relative to the draggable (specify a pixel value from the top, right, bottom, and/or left). Customize the cursor's appearance by supplying the cursor option with a valid CSS cursor value: default, move, pointer, crosshair, etc.

+
+ + + diff --git a/jquery-ui-1.8.16.custom/development-bundle/demos/draggable/default.html b/jquery-ui-1.8.16.custom/development-bundle/demos/draggable/default.html new file mode 100755 index 0000000..f488c85 --- /dev/null +++ b/jquery-ui-1.8.16.custom/development-bundle/demos/draggable/default.html @@ -0,0 +1,39 @@ + + + + + jQuery UI Draggable - Default functionality + + + + + + + + + + + + +
+ +
+

Drag me around

+
+ +
+ + + +
+

Enable draggable functionality on any DOM element. Move the draggable object by clicking on it with the mouse and dragging it anywhere within the viewport.

+
+ + + diff --git a/jquery-ui-1.8.16.custom/development-bundle/demos/draggable/delay-start.html b/jquery-ui-1.8.16.custom/development-bundle/demos/draggable/delay-start.html new file mode 100755 index 0000000..0c5533d --- /dev/null +++ b/jquery-ui-1.8.16.custom/development-bundle/demos/draggable/delay-start.html @@ -0,0 +1,45 @@ + + + + + jQuery UI Draggable - Delay start + + + + + + + + + + + + +
+ +
+

Only if you drag me by 20 pixels, the dragging will start

+
+ +
+

Regardless of the distance, you have to drag and wait for 1000ms before dragging starts

+
+ +
+ + + +
+

Delay the start of dragging for a number of milliseconds with the delay option; prevent dragging until the cursor is held down and dragged a specifed number of pixels with the distance option.

+
+ + + diff --git a/jquery-ui-1.8.16.custom/development-bundle/demos/draggable/events.html b/jquery-ui-1.8.16.custom/development-bundle/demos/draggable/events.html new file mode 100755 index 0000000..fa0f676 --- /dev/null +++ b/jquery-ui-1.8.16.custom/development-bundle/demos/draggable/events.html @@ -0,0 +1,77 @@ + + + + + jQuery UI Draggable - Events + + + + + + + + + + + + +
+ +
+ +

Drag me to trigger the chain of events.

+ +
    +
  • "start" invoked 0x
  • +
  • "drag" invoked 0x
  • +
  • "stop" invoked 0x
  • +
+
+ +
+ + + +
+

Layer functionality onto the draggable using the start, drag, and stop events. Start is fired at the start of the drag; drag during the drag; and stop when dragging stops.

+
+ + + diff --git a/jquery-ui-1.8.16.custom/development-bundle/demos/draggable/handle.html b/jquery-ui-1.8.16.custom/development-bundle/demos/draggable/handle.html new file mode 100755 index 0000000..29d9b96 --- /dev/null +++ b/jquery-ui-1.8.16.custom/development-bundle/demos/draggable/handle.html @@ -0,0 +1,50 @@ + + + + + jQuery UI Draggable - Handles + + + + + + + + + + + + +
+ +
+

I can be dragged only by this handle

+
+ +
+

You can drag me around…

+

…but you can't drag me by this handle.

+
+ + + +
+ + + +
+

Allow dragging only when the cursor is over a specific part of the draggable. Use the handle option to specify the jQuery selector of an element (or group of elements) used to drag the object.

+

Or prevent dragging when the cursor is over a specific element (or group of elements) within the draggable. Use the cancel option to specify a jQuery selector over which to "cancel" draggable functionality.

+
+ + + diff --git a/jquery-ui-1.8.16.custom/development-bundle/demos/draggable/index.html b/jquery-ui-1.8.16.custom/development-bundle/demos/draggable/index.html new file mode 100755 index 0000000..0beda8e --- /dev/null +++ b/jquery-ui-1.8.16.custom/development-bundle/demos/draggable/index.html @@ -0,0 +1,28 @@ + + + + + jQuery UI Draggable Demos + + + + +
+ + + diff --git a/jquery-ui-1.8.16.custom/development-bundle/demos/draggable/revert.html b/jquery-ui-1.8.16.custom/development-bundle/demos/draggable/revert.html new file mode 100755 index 0000000..dca0827 --- /dev/null +++ b/jquery-ui-1.8.16.custom/development-bundle/demos/draggable/revert.html @@ -0,0 +1,44 @@ + + + + + jQuery UI Draggable - Revert position + + + + + + + + + + + + +
+ +
+

Revert the original

+
+ +
+

Revert the helper

+
+ +
+ + + +
+

Return the draggable (or it's helper) to its original location when dragging stops with the boolean revert option.

+
+ + + diff --git a/jquery-ui-1.8.16.custom/development-bundle/demos/draggable/scroll.html b/jquery-ui-1.8.16.custom/development-bundle/demos/draggable/scroll.html new file mode 100755 index 0000000..6279865 --- /dev/null +++ b/jquery-ui-1.8.16.custom/development-bundle/demos/draggable/scroll.html @@ -0,0 +1,51 @@ + + + + + jQuery UI Draggable - Auto-scroll + + + + + + + + + + + + +
+ +
+

Scroll set to true, default settings

+
+ +
+

scrollSensitivity set to 100

+
+ +
+

scrollSpeed set to 100

+
+ +
+ +
+ + + +
+

Automatically scroll the document when the draggable is moved beyond the viewport. Set the scroll option to true to enable auto-scrolling, and fine-tune when scrolling is triggered and its speed with the scrollSensitivity and scrollSpeed options.

+
+ + + diff --git a/jquery-ui-1.8.16.custom/development-bundle/demos/draggable/snap-to.html b/jquery-ui-1.8.16.custom/development-bundle/demos/draggable/snap-to.html new file mode 100755 index 0000000..0d0eab0 --- /dev/null +++ b/jquery-ui-1.8.16.custom/development-bundle/demos/draggable/snap-to.html @@ -0,0 +1,68 @@ + + + + + jQuery UI Draggable - Snap to element or grid + + + + + + + + + + + + +
+ +
+

I'm a snap target

+
+ +
+ +
+

Default (snap: true), snaps to all other draggable elements

+
+ +
+

I only snap to the big box

+
+ +
+

I only snap to the outer edges of the big box

+
+ +
+

I snap to a 20 x 20 grid

+
+ +
+

I snap to a 80 x 80 grid

+
+ +
+ + + +
+

Snap the draggable to the inner or outer boundaries of a DOM element. Use the snap, snapMode (inner, outer, both), and snapTolerance (distance in pixels the draggable must be from the element when snapping is invoked) options.

+

Or snap the draggable to a grid. Set the dimensions of grid cells (height and width in pixels) with the grid option.

+
+ + + diff --git a/jquery-ui-1.8.16.custom/development-bundle/demos/draggable/sortable.html b/jquery-ui-1.8.16.custom/development-bundle/demos/draggable/sortable.html new file mode 100755 index 0000000..f4a1348 --- /dev/null +++ b/jquery-ui-1.8.16.custom/development-bundle/demos/draggable/sortable.html @@ -0,0 +1,57 @@ + + + + + jQuery UI Draggable + Sortable + + + + + + + + + + + + + +
+ +
    +
  • Drag me down
  • +
+ +
    +
  • Item 1
  • +
  • Item 2
  • +
  • Item 3
  • +
  • Item 4
  • +
  • Item 5
  • +
+ +
+ + + +
+

Draggables are built to interact seamlessly with sortables.

+
+ + + diff --git a/jquery-ui-1.8.16.custom/development-bundle/demos/draggable/visual-feedback.html b/jquery-ui-1.8.16.custom/development-bundle/demos/draggable/visual-feedback.html new file mode 100755 index 0000000..8a4ecc2 --- /dev/null +++ b/jquery-ui-1.8.16.custom/development-bundle/demos/draggable/visual-feedback.html @@ -0,0 +1,77 @@ + + + + + jQuery UI Draggable - Visual feedback + + + + + + + + + + + + +
+ +

With helpers:

+ +
+

Original

+
+ +
+

Semi-transparent clone

+
+ +
+

Custom helper (in combination with cursorAt)

+
+ +

Stacked:

+
+
+

We are draggables..

+
+ +
+

..whose z-indexes are controlled automatically..

+
+ +
+

..with the stack option.

+
+
+ +
+ + + +
+

Provide feedback to users as they drag an object in the form of a helper. The helper option accepts the values 'original' (the draggable object moves with the cursor), 'clone' (a duplicate of the draggable moves with the cursor), or a function that returns a DOM element (that element is shown near the cursor during drag). Control the helper's transparency with the opacity option.

+

To clarify which draggable is in play, bring the draggable in motion to front. Use the zIndex option to set a higher z-index for the helper, if in play, or use the stack option to ensure that the last item dragged will appear on top of others in the same group on drag stop.

+
+ + + diff --git a/jquery-ui-1.8.16.custom/development-bundle/demos/images/calendar.gif b/jquery-ui-1.8.16.custom/development-bundle/demos/images/calendar.gif new file mode 100755 index 0000000000000000000000000000000000000000..d0abaa7c0b892e781b6f553453a0027efea014b9 GIT binary patch literal 269 zcmZ?wbhEHb6kyoJ#dt% zaYstuiRe5}O|8;NEA%ba6j)5k7TbN(gNwC&D)Y{1Cu2PhDy(ymnp7_1Ai(k{X>FbJ zg$yQ1aX#U+v{)u7c4kS5=DdO;0Y*k<=8BdGnYaWYcOkak83LIJ0`39}`h<8zSFc^O QT3n!+Z|k=0I}{nL0T`orxBvhE literal 0 HcmV?d00001 diff --git a/jquery-ui-1.8.16.custom/development-bundle/demos/images/demo-config-on-tile.gif b/jquery-ui-1.8.16.custom/development-bundle/demos/images/demo-config-on-tile.gif new file mode 100755 index 0000000000000000000000000000000000000000..a96b5bf33adfb9673d05a917b229771725998ef4 GIT binary patch literal 172 zcmZ?wbh9u|WMW8R_#(*gZL<821$y77DSw}({(Xk(&lMIwmzw;Tr~7lY&9Ak#-=-@5 zTyFMbk-^VZR^R7pf1j=SYn}a%#YPN7109e`kX;O{h6*ZuDVg&!R;^nzQ-$M_iR(t4 mHbGY&VV3sh!yhYn*jSnz76dTNyRf3fYi-o}8*fZl7_0%-_c%cS literal 0 HcmV?d00001 diff --git a/jquery-ui-1.8.16.custom/development-bundle/demos/images/demo-config-on.gif b/jquery-ui-1.8.16.custom/development-bundle/demos/images/demo-config-on.gif new file mode 100755 index 0000000000000000000000000000000000000000..e3b6d7c0f723648fcd5d7b23b470d4c58d4d9b13 GIT binary patch literal 335 zcmZ?wbh9u|9ihti+ z`}^$F&$R(RS2_MzY5!xf#ozl|f9@&%`*8b@g=YWW-Tbl4`tQrLKlhgY|NsBT0zC$b zfey$7kY60wN*tyXc<4y=pI9>Kp`^w9qon8M+tBFjE&7LNqe`~^&c hj7yd-aS~HzTfN$aL6m!=ySilew(UE1MmjQB0{}?lkB$HU literal 0 HcmV?d00001 diff --git a/jquery-ui-1.8.16.custom/development-bundle/demos/images/demo-spindown-closed.gif b/jquery-ui-1.8.16.custom/development-bundle/demos/images/demo-spindown-closed.gif new file mode 100755 index 0000000000000000000000000000000000000000..ad4bd3781b52d9681013c66b341a674ca6df1153 GIT binary patch literal 103 zcmZ?wbhEHbWMg1w_{_!7+uOTu-@bM0*3FwYueG&x*|KH#?%jL;{{6Xg=W1(f|NsBb tfC?0Uvam8Ra53nBgh6IFu!smKxQ6ahxiR|)quW;AhsPMh3j+ihtN~u^Bk%wK literal 0 HcmV?d00001 diff --git a/jquery-ui-1.8.16.custom/development-bundle/demos/images/demo-spindown-open.gif b/jquery-ui-1.8.16.custom/development-bundle/demos/images/demo-spindown-open.gif new file mode 100755 index 0000000000000000000000000000000000000000..e1c60aa558ebc4701d66d89c893b9185d92926ae GIT binary patch literal 105 zcmZ?wbhEHbWM^Pw*v!Rn?%cV3`}VC{w{G6Nd9AIj%a$#>ckkZ&_wRdqduwZJ|NsBb vfC?0UvM@3*a53nBgh6I7u!spPwVb$6c!g7Y5WAt|d?6L5pNhxD85yhrk)R_C literal 0 HcmV?d00001 diff --git a/jquery-ui-1.8.16.custom/development-bundle/demos/images/icon-docs-info.gif b/jquery-ui-1.8.16.custom/development-bundle/demos/images/icon-docs-info.gif new file mode 100755 index 0000000000000000000000000000000000000000..ea6d2bece713351eb4b8eef968c3891322093624 GIT binary patch literal 206 zcmV;<05ShZNk%v~VGIBa0Q4RJ%*@R7_4VN3;PmwL{r&yf+1cCM+w$`A>+9?2=;-h7 z@9ysI$;rv(<>l$=>G${d&(F`))YSg|{@B>q`uh6q?d|I7>d45*%F4?7`}@t!&CAQn z$H&M2|Ns2_`~Uy|EC2ui01N;O000G3U?+A;;#l4&4hH9PlQjmATUD-xbW-z*uR@0M zD&{K0i&CV#aF7g)R3yb*78$^1E81=k5(@?p5k<6-R7SATxHTIrC!x8wbZ*v@K{&uuGO{zD#}sBs{#pf=imr8 zgxrMFkPC7`?u3Ng0l}@cTea)BMX99Ks&u8xz8_TTY=Pa*_K)ri`6n}ZXTJHK-}$`R zjtvQVD{>WTF6!P)l$R0q&|UV>T;?_B4{1&h$xc6%#SIDedIfP_!Qr90u!nV99@d3< z8C!<_!a$)=i-zFc@9qoVx_QsLYgVk9`qaoz`*-c}-4=N!5`3ro{>mR{g6BcO8bgN6g#(N*h=(8Ry_j$qar7JQ1Zb=xU``H3Hwfpd;He+-i zAv0;`3cC5~%5R*}4VOG}#^8ge`UeJ?Cwm_arDvp~Q*sE&_{`kQY$An}SDaQ*ScrzG zRWv$-T2@Z1WY#d*<(S3`7;deA#S=HT@P)N-i&7#JDq6LTQWZm^YlV$+v$n&^Y`2SN zqZa)fpsAC*xk*Ev-k}=e9QHjD!wQI*72l^_MR(uxxz=0^0EV7jkYK&|RN=-&vyW|C zpS2_EUh=+>$ne;^_8vb>ju-$CB_A!k?0mDP+aSje?ndy#J=FuWz68bYVy2YQ@&|IgY4%saFtvX`y-*)C01}XS9*rXq@maaKIV8%t)Vvaq0TLQQ z5qG&qgi^j;)BBPt~|luk1)&z3^@DIudxMThjzu@r8#29 zV0bVEVemY`fJ)8E%gP}Yp3BWI%`Pe$VW^_AAxZ_2%B-hx*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<}vfW~~ zxgAa|3}m-U(mg)Oa?CIZB8g<*$A2b_NTSctYp*`bNO)!{$cX=*(4P5adzMIA^9~e* z$Mz-5qGihyUW^T(dU~Z-0vEpO=o@Iev%z>XNq%DG6x0*9kAIiMayl7}XU~L68RaYv zj@$4K2E%Jak7)Z(k|-ONM2p;HYc+RR>>j5}2YYN?7o|Pp=j8u@L_h3_GT@09yQQ;H GZ~qHVLrA>< literal 0 HcmV?d00001 diff --git a/jquery-ui-1.8.16.custom/development-bundle/demos/index.html b/jquery-ui-1.8.16.custom/development-bundle/demos/index.html new file mode 100755 index 0000000..bb2458c --- /dev/null +++ b/jquery-ui-1.8.16.custom/development-bundle/demos/index.html @@ -0,0 +1,322 @@ + + + + + jQuery UI Demos + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+
Interactions
+
Draggable
+ + + +
Sortable
+
Widgets
+ + + + + + + + +
Effects
+
Color Animation
+
Toggle Class
+
Add Class
+
Remove Class
+
Switch Class
+
Effect
+
Toggle
+
Hide
+
Show
+
Utilities
+ +
Widget
+
About jQuery UI
+
Getting Started
+
Upgrade Guide
+
Changelog
+
Roadmap
+
Subversion Access
+
UI Developer Guidelines
+
Theming
+
Theming jQuery UI
+
jQuery UI CSS Framework
+
ThemeRoller application
+
Theme Switcher Widget
+ +
+
+ +
+ +

Instructions

+

+ These demos showcase some common uses of each jQuery UI plugin. Simply copy and paste code from the demos to get started. Have fun playing with them. +

+ +
+ +
+ + diff --git a/jquery-ui-1.8.16.custom/development-bundle/demos/sortable/connect-lists-through-tabs.html b/jquery-ui-1.8.16.custom/development-bundle/demos/sortable/connect-lists-through-tabs.html new file mode 100755 index 0000000..4489ab0 --- /dev/null +++ b/jquery-ui-1.8.16.custom/development-bundle/demos/sortable/connect-lists-through-tabs.html @@ -0,0 +1,78 @@ + + + + + jQuery UI Sortable - Connect lists with Tabs + + + + + + + + + + + + + +
+ +
+ +
+
    +
  • Item 1
  • +
  • Item 2
  • +
  • Item 3
  • +
  • Item 4
  • +
  • Item 5
  • +
+
+
+
    +
  • Item 1
  • +
  • Item 2
  • +
  • Item 3
  • +
  • Item 4
  • +
  • Item 5
  • +
+
+
+ +
+ + + +
+

Sort items from one list into another and vice versa, by dropping the list item on the appropriate tab above.

+
+ + + diff --git a/jquery-ui-1.8.16.custom/development-bundle/demos/sortable/connect-lists.html b/jquery-ui-1.8.16.custom/development-bundle/demos/sortable/connect-lists.html new file mode 100755 index 0000000..e3674da --- /dev/null +++ b/jquery-ui-1.8.16.custom/development-bundle/demos/sortable/connect-lists.html @@ -0,0 +1,58 @@ + + + + + jQuery UI Sortable - Connect lists + + + + + + + + + + + +
+ +
    +
  • Item 1
  • +
  • Item 2
  • +
  • Item 3
  • +
  • Item 4
  • +
  • Item 5
  • +
+ +
    +
  • Item 1
  • +
  • Item 2
  • +
  • Item 3
  • +
  • Item 4
  • +
  • Item 5
  • +
+ +
+ + + +
+

+ Sort items from one list into another and vice versa, by passing a selector into + the connectWith option. The simplest way to do this is to + group all related lists with a CSS class, and then pass that class into the + sortable function (i.e., connectWith: '.myclass'). +

+
+ + + diff --git a/jquery-ui-1.8.16.custom/development-bundle/demos/sortable/default.html b/jquery-ui-1.8.16.custom/development-bundle/demos/sortable/default.html new file mode 100755 index 0000000..6b09aeb --- /dev/null +++ b/jquery-ui-1.8.16.custom/development-bundle/demos/sortable/default.html @@ -0,0 +1,51 @@ + + + + + jQuery UI Sortable - Default functionality + + + + + + + + + + + +
+ +
    +
  • Item 1
  • +
  • Item 2
  • +
  • Item 3
  • +
  • Item 4
  • +
  • Item 5
  • +
  • Item 6
  • +
  • Item 7
  • +
+ +
+ + + +
+

+ Enable a group of DOM elements to be sortable. Click on and drag an + element to a new spot within the list, and the other items will adjust to + fit. By default, sortable items share draggable properties. +

+
+ + + diff --git a/jquery-ui-1.8.16.custom/development-bundle/demos/sortable/delay-start.html b/jquery-ui-1.8.16.custom/development-bundle/demos/sortable/delay-start.html new file mode 100755 index 0000000..ac4acb5 --- /dev/null +++ b/jquery-ui-1.8.16.custom/development-bundle/demos/sortable/delay-start.html @@ -0,0 +1,67 @@ + + + + + jQuery UI Sortable - Delay start + + + + + + + + + + + +
+ +

Time delay of 300ms:

+ +
    +
  • Item 1
  • +
  • Item 2
  • +
  • Item 3
  • +
  • Item 4
  • +
+ +

Distance delay of 15px:

+ +
    +
  • Item 1
  • +
  • Item 2
  • +
  • Item 3
  • +
  • Item 4
  • +
+ +
+ + + +
+

+ Prevent accidental sorting either by delay (time) or distance. Set a number of + milliseconds the element needs to be dragged before sorting starts + with the delay option. Set a distance in pixels the element + needs to be dragged before sorting starts with the distance + option. +

+
+ + + diff --git a/jquery-ui-1.8.16.custom/development-bundle/demos/sortable/display-grid.html b/jquery-ui-1.8.16.custom/development-bundle/demos/sortable/display-grid.html new file mode 100755 index 0000000..3eecb6f --- /dev/null +++ b/jquery-ui-1.8.16.custom/development-bundle/demos/sortable/display-grid.html @@ -0,0 +1,54 @@ + + + + + jQuery UI Sortable - Display as grid + + + + + + + + + + + +
+ +
    +
  • 1
  • +
  • 2
  • +
  • 3
  • +
  • 4
  • +
  • 5
  • +
  • 6
  • +
  • 7
  • +
  • 8
  • +
  • 9
  • +
  • 10
  • +
  • 11
  • +
  • 12
  • +
+ +
+ + + +
+

+ To arrange sortable items as a grid, give them identical dimensions and + float them using CSS. +

+
+ + + diff --git a/jquery-ui-1.8.16.custom/development-bundle/demos/sortable/empty-lists.html b/jquery-ui-1.8.16.custom/development-bundle/demos/sortable/empty-lists.html new file mode 100755 index 0000000..b202716 --- /dev/null +++ b/jquery-ui-1.8.16.custom/development-bundle/demos/sortable/empty-lists.html @@ -0,0 +1,69 @@ + + + + + jQuery UI Sortable - Handle empty lists + + + + + + + + + + + +
+ +
    +
  • Can be dropped..
  • +
  • ..on an empty list
  • +
  • Item 3
  • +
  • Item 4
  • +
  • Item 5
  • +
+ +
    +
  • Cannot be dropped..
  • +
  • ..on an empty list
  • +
  • Item 3
  • +
  • Item 4
  • +
  • Item 5
  • +
+ +
    +
+ +
+ +
+ + + +
+

+ Prevent all items in a list from being dropped into a separate, empty list + using the dropOnEmpty option set to false. By default, + sortable items can be dropped on empty lists. +

+
+ + + diff --git a/jquery-ui-1.8.16.custom/development-bundle/demos/sortable/index.html b/jquery-ui-1.8.16.custom/development-bundle/demos/sortable/index.html new file mode 100755 index 0000000..b307ef7 --- /dev/null +++ b/jquery-ui-1.8.16.custom/development-bundle/demos/sortable/index.html @@ -0,0 +1,26 @@ + + + + + jQuery UI Sortable Demos + + + + + + + + diff --git a/jquery-ui-1.8.16.custom/development-bundle/demos/sortable/items.html b/jquery-ui-1.8.16.custom/development-bundle/demos/sortable/items.html new file mode 100755 index 0000000..596b0cd --- /dev/null +++ b/jquery-ui-1.8.16.custom/development-bundle/demos/sortable/items.html @@ -0,0 +1,70 @@ + + + + + jQuery UI Sortable - Include / exclude items + + + + + + + + + + + +
+ +

Specify which items are sortable:

+ +
    +
  • Item 1
  • +
  • (I'm not sortable or a drop target)
  • +
  • (I'm not sortable or a drop target)
  • +
  • Item 4
  • +
+ +

Cancel sorting (but keep as drop targets):

+ +
    +
  • Item 1
  • +
  • (I'm not sortable)
  • +
  • (I'm not sortable)
  • +
  • Item 4
  • +
+ +
+ + + +
+

+ Specify which items are eligible to sort by passing a jQuery selector into + the items option. Items excluded from this option are not + sortable, nor are they valid targets for sortable items. +

+

+ To only prevent sorting on certain items, pass a jQuery selector into the + cancel option. Cancelled items remain valid sort targets for + others. +

+
+ + + diff --git a/jquery-ui-1.8.16.custom/development-bundle/demos/sortable/placeholder.html b/jquery-ui-1.8.16.custom/development-bundle/demos/sortable/placeholder.html new file mode 100755 index 0000000..88fcd52 --- /dev/null +++ b/jquery-ui-1.8.16.custom/development-bundle/demos/sortable/placeholder.html @@ -0,0 +1,56 @@ + + + + + jQuery UI Sortable - Drop placeholder + + + + + + + + + + + +
+ +
    +
  • Item 1
  • +
  • Item 2
  • +
  • Item 3
  • +
  • Item 4
  • +
  • Item 5
  • +
  • Item 6
  • +
  • Item 7
  • +
+ +
+ + + +
+

+ When dragging a sortable item to a new location, other items will make room + for the that item by shifting to allow white space between them. Pass a + class into the placeholder option to style that space to + be visible. Use the boolean forcePlaceholderSize option + to set dimensions on the placeholder. +

+
+ + + diff --git a/jquery-ui-1.8.16.custom/development-bundle/demos/sortable/portlets.html b/jquery-ui-1.8.16.custom/development-bundle/demos/sortable/portlets.html new file mode 100755 index 0000000..bdb2c3a --- /dev/null +++ b/jquery-ui-1.8.16.custom/development-bundle/demos/sortable/portlets.html @@ -0,0 +1,96 @@ + + + + + jQuery UI Sortable - Portlets + + + + + + + + + + + +
+ +
+ +
+
Feeds
+
Lorem ipsum dolor sit amet, consectetuer adipiscing elit
+
+ +
+
News
+
Lorem ipsum dolor sit amet, consectetuer adipiscing elit
+
+ +
+ +
+ +
+
Shopping
+
Lorem ipsum dolor sit amet, consectetuer adipiscing elit
+
+ +
+ +
+ +
+
Links
+
Lorem ipsum dolor sit amet, consectetuer adipiscing elit
+
+ +
+
Images
+
Lorem ipsum dolor sit amet, consectetuer adipiscing elit
+
+ +
+ +
+ + + +
+

+ Enable portlets (styled divs) as sortables and use the connectWith + option to allow sorting between columns. +

+
+ + + diff --git a/jquery-ui-1.8.16.custom/development-bundle/docs/draggable.html b/jquery-ui-1.8.16.custom/development-bundle/docs/draggable.html new file mode 100755 index 0000000..51f87f6 --- /dev/null +++ b/jquery-ui-1.8.16.custom/development-bundle/docs/draggable.html @@ -0,0 +1,1577 @@ + + +
+

jQuery UI Draggable

+
+

Overview

+
+

The jQuery UI Draggable plugin makes selected elements draggable by mouse.

+

Draggable elements gets a class of ui-draggable. During drag the element also gets a class of ui-draggable-dragging. If you want not just drag, but drag-and-drop, see the jQuery UI Droppable plugin, which provides a drop target for draggables.

+

All callbacks (start, stop, drag) receive two arguments: The original browser event and a prepared ui object, view below for a documentation of this object (if you name your second argument 'ui'):

+
    +
  • ui.helper - the jQuery object representing the helper that's being dragged
  • +
  • ui.position - current position of the helper as { top, left } object, relative to the offset element
  • +
  • ui.offset - current absolute position of the helper as { top, left } object, relative to page
  • +
+


+

+

To manipulate the position of a draggable during drag, you can either use a wrapper as the draggable helper and position the wrapped element with absolute positioning, or you can correct internal values like so: $(this).data('draggable').offset.click.top -= x.

+
+
+

Dependencies

+
    +
  • UI Core
  • +
  • UI Widget
  • +
  • UI Mouse
  • +
+
+
+

Example

+
+ +

+Initialize a draggable with default options.
+

+
$("#draggable").draggable();
+
+

+

+
<!DOCTYPE html>
+<html>
+<head>
+  <link href="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8/themes/base/jquery-ui.css" rel="stylesheet" type="text/css"/>
+  <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.5/jquery.min.js"></script>
+  <script src="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8/jquery-ui.min.js"></script>
+  <style type="text/css">
+    #draggable { width: 100px; height: 70px; background: silver; }
+  </style>
+  <script>
+  $(document).ready(function() {
+    $("#draggable").draggable();
+  });
+  </script>
+</head>
+<body style="font-size:62.5%;">
+  
+<div id="draggable">Drag me</div>
+
+</body>
+</html>
+
+

+

+
+
+
+

Options

+
    + +
  • +
    +

    disabled

    +
    +
    Type:
    +
    Boolean
    + +
    Default:
    +
    false
    + +
    +
    +
    +

    Disables (true) or enables (false) the draggable. Can be set when initialising (first creating) the draggable.

    +
    +
    +

    Code examples

    +
    + +
    + Initialize a draggable with the disabled option specified. +
    +
    +
    $( ".selector" ).draggable({ disabled: true });
    +
    + + +
    + Get or set the disabled option, after init. +
    +
    +
    //getter
    +var disabled = $( ".selector" ).draggable( "option", "disabled" );
    +//setter
    +$( ".selector" ).draggable( "option", "disabled", true );
    +
    + +
    +
    +
  • + + +
  • +
    +

    addClasses

    +
    +
    Type:
    +
    Boolean
    + +
    Default:
    +
    true
    + +
    +
    +
    +

    If set to false, will prevent the ui-draggable class from being added. This may be desired as a performance optimization when calling .draggable() init on many hundreds of elements.

    +
    +
    +

    Code examples

    +
    + +
    + Initialize a draggable with the addClasses option specified. +
    +
    +
    $( ".selector" ).draggable({ addClasses: false });
    +
    + + +
    + Get or set the addClasses option, after init. +
    +
    +
    //getter
    +var addClasses = $( ".selector" ).draggable( "option", "addClasses" );
    +//setter
    +$( ".selector" ).draggable( "option", "addClasses", false );
    +
    + +
    +
    +
  • + + +
  • +
    +

    appendTo

    +
    +
    Type:
    +
    Element, Selector
    + +
    Default:
    +
    'parent'
    + +
    +
    +
    +

    The element passed to or selected by the appendTo option will be used as the draggable helper's container during dragging. By default, the helper is appended to the same container as the draggable.

    +
    +
    +

    Code examples

    +
    + +
    + Initialize a draggable with the appendTo option specified. +
    +
    +
    $( ".selector" ).draggable({ appendTo: 'body' });
    +
    + + +
    + Get or set the appendTo option, after init. +
    +
    +
    //getter
    +var appendTo = $( ".selector" ).draggable( "option", "appendTo" );
    +//setter
    +$( ".selector" ).draggable( "option", "appendTo", 'body' );
    +
    + +
    +
    +
  • + + +
  • +
    +

    axis

    +
    +
    Type:
    +
    String
    + +
    Default:
    +
    false
    + +
    +
    +
    +

    Constrains dragging to either the horizontal (x) or vertical (y) axis. Possible values: 'x', 'y'.

    +
    +
    +

    Code examples

    +
    + +
    + Initialize a draggable with the axis option specified. +
    +
    +
    $( ".selector" ).draggable({ axis: 'x' });
    +
    + + +
    + Get or set the axis option, after init. +
    +
    +
    //getter
    +var axis = $( ".selector" ).draggable( "option", "axis" );
    +//setter
    +$( ".selector" ).draggable( "option", "axis", 'x' );
    +
    + +
    +
    +
  • + + +
  • +
    +

    cancel

    +
    +
    Type:
    +
    Selector
    + +
    Default:
    +
    ':input,option'
    + +
    +
    +
    +

    Prevents dragging from starting on specified elements.

    +
    +
    +

    Code examples

    +
    + +
    + Initialize a draggable with the cancel option specified. +
    +
    +
    $( ".selector" ).draggable({ cancel: 'button' });
    +
    + + +
    + Get or set the cancel option, after init. +
    +
    +
    //getter
    +var cancel = $( ".selector" ).draggable( "option", "cancel" );
    +//setter
    +$( ".selector" ).draggable( "option", "cancel", 'button' );
    +
    + +
    +
    +
  • + + +
  • +
    +

    connectToSortable

    +
    +
    Type:
    +
    Selector
    + +
    Default:
    +
    false
    + +
    +
    +
    +

    Allows the draggable to be dropped onto the specified sortables. If this option is used (helper must be set to 'clone' in order to work flawlessly), a draggable can be dropped onto a sortable list and then becomes part of it. +

    Note: Specifying this option as an array of selectors has been removed.

    +
    +
    +

    Code examples

    +
    + +
    + Initialize a draggable with the connectToSortable option specified. +
    +
    +
    $( ".selector" ).draggable({ connectToSortable: 'ul#myList' });
    +
    + + +
    + Get or set the connectToSortable option, after init. +
    +
    +
    //getter
    +var connectToSortable = $( ".selector" ).draggable( "option", "connectToSortable" );
    +//setter
    +$( ".selector" ).draggable( "option", "connectToSortable", 'ul#myList' );
    +
    + +
    +
    +
  • + + +
  • +
    +

    containment

    +
    +
    Type:
    +
    Selector, Element, String, Array
    + +
    Default:
    +
    false
    + +
    +
    +
    +

    Constrains dragging to within the bounds of the specified element or region. Possible string values: 'parent', 'document', 'window', [x1, y1, x2, y2].

    +
    +
    +

    Code examples

    +
    + +
    + Initialize a draggable with the containment option specified. +
    +
    +
    $( ".selector" ).draggable({ containment: 'parent' });
    +
    + + +
    + Get or set the containment option, after init. +
    +
    +
    //getter
    +var containment = $( ".selector" ).draggable( "option", "containment" );
    +//setter
    +$( ".selector" ).draggable( "option", "containment", 'parent' );
    +
    + +
    +
    +
  • + + +
  • +
    +

    cursor

    +
    +
    Type:
    +
    String
    + +
    Default:
    +
    'auto'
    + +
    +
    +
    +

    The css cursor during the drag operation.

    +
    +
    +

    Code examples

    +
    + +
    + Initialize a draggable with the cursor option specified. +
    +
    +
    $( ".selector" ).draggable({ cursor: 'crosshair' });
    +
    + + +
    + Get or set the cursor option, after init. +
    +
    +
    //getter
    +var cursor = $( ".selector" ).draggable( "option", "cursor" );
    +//setter
    +$( ".selector" ).draggable( "option", "cursor", 'crosshair' );
    +
    + +
    +
    +
  • + + +
  • +
    +

    cursorAt

    +
    +
    Type:
    +
    Object
    + +
    Default:
    +
    false
    + +
    +
    +
    +

    Sets the offset of the dragging helper relative to the mouse cursor. Coordinates can be given as a hash using a combination of one or two keys: { top, left, right, bottom }.

    +
    +
    +

    Code examples

    +
    + +
    + Initialize a draggable with the cursorAt option specified. +
    +
    +
    $( ".selector" ).draggable({ cursorAt: { left: 5 } });
    +
    + + +
    + Get or set the cursorAt option, after init. +
    +
    +
    //getter
    +var cursorAt = $( ".selector" ).draggable( "option", "cursorAt" );
    +//setter
    +$( ".selector" ).draggable( "option", "cursorAt", { left: 5 } );
    +
    + +
    +
    +
  • + + +
  • +
    +

    delay

    +
    +
    Type:
    +
    Integer
    + +
    Default:
    +
    0
    + +
    +
    +
    +

    Time in milliseconds after mousedown until dragging should start. This option can be used to prevent unwanted drags when clicking on an element.

    +
    +
    +

    Code examples

    +
    + +
    + Initialize a draggable with the delay option specified. +
    +
    +
    $( ".selector" ).draggable({ delay: 500 });
    +
    + + +
    + Get or set the delay option, after init. +
    +
    +
    //getter
    +var delay = $( ".selector" ).draggable( "option", "delay" );
    +//setter
    +$( ".selector" ).draggable( "option", "delay", 500 );
    +
    + +
    +
    +
  • + + +
  • +
    +

    distance

    +
    +
    Type:
    +
    Integer
    + +
    Default:
    +
    1
    + +
    +
    +
    +

    Distance in pixels after mousedown the mouse must move before dragging should start. This option can be used to prevent unwanted drags when clicking on an element.

    +
    +
    +

    Code examples

    +
    + +
    + Initialize a draggable with the distance option specified. +
    +
    +
    $( ".selector" ).draggable({ distance: 30 });
    +
    + + +
    + Get or set the distance option, after init. +
    +
    +
    //getter
    +var distance = $( ".selector" ).draggable( "option", "distance" );
    +//setter
    +$( ".selector" ).draggable( "option", "distance", 30 );
    +
    + +
    +
    +
  • + + +
  • +
    +

    grid

    +
    +
    Type:
    +
    Array
    + +
    Default:
    +
    false
    + +
    +
    +
    +

    Snaps the dragging helper to a grid, every x and y pixels. Array values: [x, y]

    +
    +
    +

    Code examples

    +
    + +
    + Initialize a draggable with the grid option specified. +
    +
    +
    $( ".selector" ).draggable({ grid: [50, 20] });
    +
    + + +
    + Get or set the grid option, after init. +
    +
    +
    //getter
    +var grid = $( ".selector" ).draggable( "option", "grid" );
    +//setter
    +$( ".selector" ).draggable( "option", "grid", [50, 20] );
    +
    + +
    +
    +
  • + + +
  • +
    +

    handle

    +
    +
    Type:
    +
    Element, Selector
    + +
    Default:
    +
    false
    + +
    +
    +
    +

    If specified, restricts drag start click to the specified element(s).

    +
    +
    +

    Code examples

    +
    + +
    + Initialize a draggable with the handle option specified. +
    +
    +
    $( ".selector" ).draggable({ handle: 'h2' });
    +
    + + +
    + Get or set the handle option, after init. +
    +
    +
    //getter
    +var handle = $( ".selector" ).draggable( "option", "handle" );
    +//setter
    +$( ".selector" ).draggable( "option", "handle", 'h2' );
    +
    + +
    +
    +
  • + + +
  • +
    +

    helper

    +
    +
    Type:
    +
    String, Function
    + +
    Default:
    +
    'original'
    + +
    +
    +
    +

    Allows for a helper element to be used for dragging display. Possible values: 'original', 'clone', Function. If a function is specified, it must return a DOMElement.

    +
    +
    +

    Code examples

    +
    + +
    + Initialize a draggable with the helper option specified. +
    +
    +
    $( ".selector" ).draggable({ helper: 'clone' });
    +
    + + +
    + Get or set the helper option, after init. +
    +
    +
    //getter
    +var helper = $( ".selector" ).draggable( "option", "helper" );
    +//setter
    +$( ".selector" ).draggable( "option", "helper", 'clone' );
    +
    + +
    +
    +
  • + + +
  • +
    +

    iframeFix

    +
    +
    Type:
    +
    Boolean, Selector
    + +
    Default:
    +
    false
    + +
    +
    +
    +

    Prevent iframes from capturing the mousemove events during a drag. Useful in combination with cursorAt, or in any case, if the mouse cursor is not over the helper. If set to true, transparent overlays will be placed over all iframes on the page. If a selector is supplied, the matched iframes will have an overlay placed over them.

    +
    +
    +

    Code examples

    +
    + +
    + Initialize a draggable with the iframeFix option specified. +
    +
    +
    $( ".selector" ).draggable({ iframeFix: true });
    +
    + + +
    + Get or set the iframeFix option, after init. +
    +
    +
    //getter
    +var iframeFix = $( ".selector" ).draggable( "option", "iframeFix" );
    +//setter
    +$( ".selector" ).draggable( "option", "iframeFix", true );
    +
    + +
    +
    +
  • + + +
  • +
    +

    opacity

    +
    +
    Type:
    +
    Float
    + +
    Default:
    +
    false
    + +
    +
    +
    +

    Opacity for the helper while being dragged.

    +
    +
    +

    Code examples

    +
    + +
    + Initialize a draggable with the opacity option specified. +
    +
    +
    $( ".selector" ).draggable({ opacity: 0.35 });
    +
    + + +
    + Get or set the opacity option, after init. +
    +
    +
    //getter
    +var opacity = $( ".selector" ).draggable( "option", "opacity" );
    +//setter
    +$( ".selector" ).draggable( "option", "opacity", 0.35 );
    +
    + +
    +
    +
  • + + +
  • +
    +

    refreshPositions

    +
    +
    Type:
    +
    Boolean
    + +
    Default:
    +
    false
    + +
    +
    +
    +

    If set to true, all droppable positions are calculated on every mousemove. Caution: This solves issues on highly dynamic pages, but dramatically decreases performance.

    +
    +
    +

    Code examples

    +
    + +
    + Initialize a draggable with the refreshPositions option specified. +
    +
    +
    $( ".selector" ).draggable({ refreshPositions: true });
    +
    + + +
    + Get or set the refreshPositions option, after init. +
    +
    +
    //getter
    +var refreshPositions = $( ".selector" ).draggable( "option", "refreshPositions" );
    +//setter
    +$( ".selector" ).draggable( "option", "refreshPositions", true );
    +
    + +
    +
    +
  • + + +
  • +
    +

    revert

    +
    +
    Type:
    +
    Boolean, String
    + +
    Default:
    +
    false
    + +
    +
    +
    +

    If set to true, the element will return to its start position when dragging stops. Possible string values: 'valid', 'invalid'. If set to invalid, revert will only occur if the draggable has not been dropped on a droppable. For valid, it's the other way around.

    +
    +
    +

    Code examples

    +
    + +
    + Initialize a draggable with the revert option specified. +
    +
    +
    $( ".selector" ).draggable({ revert: true });
    +
    + + +
    + Get or set the revert option, after init. +
    +
    +
    //getter
    +var revert = $( ".selector" ).draggable( "option", "revert" );
    +//setter
    +$( ".selector" ).draggable( "option", "revert", true );
    +
    + +
    +
    +
  • + + +
  • +
    +

    revertDuration

    +
    +
    Type:
    +
    Integer
    + +
    Default:
    +
    500
    + +
    +
    +
    +

    The duration of the revert animation, in milliseconds. Ignored if revert is false.

    +
    +
    +

    Code examples

    +
    + +
    + Initialize a draggable with the revertDuration option specified. +
    +
    +
    $( ".selector" ).draggable({ revertDuration: 1000 });
    +
    + + +
    + Get or set the revertDuration option, after init. +
    +
    +
    //getter
    +var revertDuration = $( ".selector" ).draggable( "option", "revertDuration" );
    +//setter
    +$( ".selector" ).draggable( "option", "revertDuration", 1000 );
    +
    + +
    +
    +
  • + + +
  • +
    +

    scope

    +
    +
    Type:
    +
    String
    + +
    Default:
    +
    'default'
    + +
    +
    +
    +

    Used to group sets of draggable and droppable items, in addition to droppable's accept option. A draggable with the same scope value as a droppable will be accepted by the droppable.

    +
    +
    +

    Code examples

    +
    + +
    + Initialize a draggable with the scope option specified. +
    +
    +
    $( ".selector" ).draggable({ scope: 'tasks' });
    +
    + + +
    + Get or set the scope option, after init. +
    +
    +
    //getter
    +var scope = $( ".selector" ).draggable( "option", "scope" );
    +//setter
    +$( ".selector" ).draggable( "option", "scope", 'tasks' );
    +
    + +
    +
    +
  • + + +
  • +
    +

    scroll

    +
    +
    Type:
    +
    Boolean
    + +
    Default:
    +
    true
    + +
    +
    +
    +

    If set to true, container auto-scrolls while dragging.

    +
    +
    +

    Code examples

    +
    + +
    + Initialize a draggable with the scroll option specified. +
    +
    +
    $( ".selector" ).draggable({ scroll: false });
    +
    + + +
    + Get or set the scroll option, after init. +
    +
    +
    //getter
    +var scroll = $( ".selector" ).draggable( "option", "scroll" );
    +//setter
    +$( ".selector" ).draggable( "option", "scroll", false );
    +
    + +
    +
    +
  • + + +
  • +
    +

    scrollSensitivity

    +
    +
    Type:
    +
    Integer
    + +
    Default:
    +
    20
    + +
    +
    +
    +

    Distance in pixels from the edge of the viewport after which the viewport should scroll. Distance is relative to pointer, not the draggable.

    +
    +
    +

    Code examples

    +
    + +
    + Initialize a draggable with the scrollSensitivity option specified. +
    +
    +
    $( ".selector" ).draggable({ scrollSensitivity: 40 });
    +
    + + +
    + Get or set the scrollSensitivity option, after init. +
    +
    +
    //getter
    +var scrollSensitivity = $( ".selector" ).draggable( "option", "scrollSensitivity" );
    +//setter
    +$( ".selector" ).draggable( "option", "scrollSensitivity", 40 );
    +
    + +
    +
    +
  • + + +
  • +
    +

    scrollSpeed

    +
    +
    Type:
    +
    Integer
    + +
    Default:
    +
    20
    + +
    +
    +
    +

    The speed at which the window should scroll once the mouse pointer gets within the scrollSensitivity distance.

    +
    +
    +

    Code examples

    +
    + +
    + Initialize a draggable with the scrollSpeed option specified. +
    +
    +
    $( ".selector" ).draggable({ scrollSpeed: 40 });
    +
    + + +
    + Get or set the scrollSpeed option, after init. +
    +
    +
    //getter
    +var scrollSpeed = $( ".selector" ).draggable( "option", "scrollSpeed" );
    +//setter
    +$( ".selector" ).draggable( "option", "scrollSpeed", 40 );
    +
    + +
    +
    +
  • + + +
  • +
    +

    snap

    +
    +
    Type:
    +
    Boolean, Selector
    + +
    Default:
    +
    false
    + +
    +
    +
    +

    If set to a selector or to true (equivalent to '.ui-draggable'), the draggable will snap to the edges of the selected elements when near an edge of the element.

    +
    +
    +

    Code examples

    +
    + +
    + Initialize a draggable with the snap option specified. +
    +
    +
    $( ".selector" ).draggable({ snap: true });
    +
    + + +
    + Get or set the snap option, after init. +
    +
    +
    //getter
    +var snap = $( ".selector" ).draggable( "option", "snap" );
    +//setter
    +$( ".selector" ).draggable( "option", "snap", true );
    +
    + +
    +
    +
  • + + +
  • +
    +

    snapMode

    +
    +
    Type:
    +
    String
    + +
    Default:
    +
    'both'
    + +
    +
    +
    +

    Determines which edges of snap elements the draggable will snap to. Ignored if snap is false. Possible values: 'inner', 'outer', 'both'

    +
    +
    +

    Code examples

    +
    + +
    + Initialize a draggable with the snapMode option specified. +
    +
    +
    $( ".selector" ).draggable({ snapMode: 'outer' });
    +
    + + +
    + Get or set the snapMode option, after init. +
    +
    +
    //getter
    +var snapMode = $( ".selector" ).draggable( "option", "snapMode" );
    +//setter
    +$( ".selector" ).draggable( "option", "snapMode", 'outer' );
    +
    + +
    +
    +
  • + + +
  • +
    +

    snapTolerance

    +
    +
    Type:
    +
    Integer
    + +
    Default:
    +
    20
    + +
    +
    +
    +

    The distance in pixels from the snap element edges at which snapping should occur. Ignored if snap is false.

    +
    +
    +

    Code examples

    +
    + +
    + Initialize a draggable with the snapTolerance option specified. +
    +
    +
    $( ".selector" ).draggable({ snapTolerance: 40 });
    +
    + + +
    + Get or set the snapTolerance option, after init. +
    +
    +
    //getter
    +var snapTolerance = $( ".selector" ).draggable( "option", "snapTolerance" );
    +//setter
    +$( ".selector" ).draggable( "option", "snapTolerance", 40 );
    +
    + +
    +
    +
  • + + +
  • +
    +

    stack

    +
    +
    Type:
    +
    Selector
    + +
    Default:
    +
    false
    + +
    +
    +
    +

    Controls the z-Index of the set of elements that match the selector, always brings to front the dragged item. Very useful in things like window managers.

    +
    +
    +

    Code examples

    +
    + +
    + Initialize a draggable with the stack option specified. +
    +
    +
    $( ".selector" ).draggable({ stack: ".products" });
    +
    + + +
    + Get or set the stack option, after init. +
    +
    +
    //getter
    +var stack = $( ".selector" ).draggable( "option", "stack" );
    +//setter
    +$( ".selector" ).draggable( "option", "stack", ".products" );
    +
    + +
    +
    +
  • + + +
  • +
    +

    zIndex

    +
    +
    Type:
    +
    Integer
    + +
    Default:
    +
    false
    + +
    +
    +
    +

    z-index for the helper while being dragged.

    +
    +
    +

    Code examples

    +
    + +
    + Initialize a draggable with the zIndex option specified. +
    +
    +
    $( ".selector" ).draggable({ zIndex: 2700 });
    +
    + + +
    + Get or set the zIndex option, after init. +
    +
    +
    //getter
    +var zIndex = $( ".selector" ).draggable( "option", "zIndex" );
    +//setter
    +$( ".selector" ).draggable( "option", "zIndex", 2700 );
    +
    + +
    +
    +
  • + +
+
+
+

Events

+
    + +
  • +
    +

    create

    +
    +
    Type:
    +
    dragcreate
    +
    +
    +
    +

    This event is triggered when draggable is created.

    +
    +
    +

    Code examples

    +
    + +
    + Supply a callback function to handle the create event as an init option. +
    +
    +
    $( ".selector" ).draggable({
    +   create: function(event, ui) { ... }
    +});
    +
    + + +
    + Bind to the create event by type: dragcreate. +
    +
    +
    $( ".selector" ).bind( "dragcreate", function(event, ui) {
    +  ...
    +});
    +
    + +
    +
    +
  • + + +
  • +
    +

    start

    +
    +
    Type:
    +
    dragstart
    +
    +
    +
    +

    This event is triggered when dragging starts.

    +
    +
    +

    Code examples

    +
    + +
    + Supply a callback function to handle the start event as an init option. +
    +
    +
    $( ".selector" ).draggable({
    +   start: function(event, ui) { ... }
    +});
    +
    + + +
    + Bind to the start event by type: dragstart. +
    +
    +
    $( ".selector" ).bind( "dragstart", function(event, ui) {
    +  ...
    +});
    +
    + +
    +
    +
  • + + +
  • +
    +

    drag

    +
    +
    Type:
    +
    drag
    +
    +
    +
    +

    This event is triggered when the mouse is moved during the dragging.

    +
    +
    +

    Code examples

    +
    + +
    + Supply a callback function to handle the drag event as an init option. +
    +
    +
    $( ".selector" ).draggable({
    +   drag: function(event, ui) { ... }
    +});
    +
    + + +
    + Bind to the drag event by type: drag. +
    +
    +
    $( ".selector" ).bind( "drag", function(event, ui) {
    +  ...
    +});
    +
    + +
    +
    +
  • + + +
  • +
    +

    stop

    +
    +
    Type:
    +
    dragstop
    +
    +
    +
    +

    This event is triggered when dragging stops.

    +
    +
    +

    Code examples

    +
    + +
    + Supply a callback function to handle the stop event as an init option. +
    +
    +
    $( ".selector" ).draggable({
    +   stop: function(event, ui) { ... }
    +});
    +
    + + +
    + Bind to the stop event by type: dragstop. +
    +
    +
    $( ".selector" ).bind( "dragstop", function(event, ui) {
    +  ...
    +});
    +
    + +
    +
    +
  • + +
+
+
+

Methods

+
    + +
  • +
    +

    destroy

    +
    +
    Signature:
    +
    .draggable( "destroy" + + + + + + + +)
    +
    +
    +
    +

    Remove the draggable functionality completely. This will return the element back to its pre-init state.

    +
    +
  • + + +
  • +
    +

    disable

    +
    +
    Signature:
    +
    .draggable( "disable" + + + + + + + +)
    +
    +
    +
    +

    Disable the draggable.

    +
    +
  • + + +
  • +
    +

    enable

    +
    +
    Signature:
    +
    .draggable( "enable" + + + + + + + +)
    +
    +
    +
    +

    Enable the draggable.

    +
    +
  • + + +
  • +
    +

    option

    +
    +
    Signature:
    +
    .draggable( "option" + +, optionName + +, [value] + + + +)
    +
    +
    +
    +

    Get or set any draggable option. If no value is specified, will act as a getter.

    +
    +
  • + + +
  • +
    +

    option

    +
    +
    Signature:
    +
    .draggable( "option" + +, options + + + + + +)
    +
    +
    +
    +

    Set multiple draggable options at once by providing an options object.

    +
    +
  • + + +
  • +
    +

    widget

    +
    +
    Signature:
    +
    .draggable( "widget" + + + + + + + +)
    +
    +
    +
    +

    Returns the .ui-draggable element.

    +
    +
  • + + +
+
+
+

Theming

+

The jQuery UI Draggable 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. +

+

If a deeper level of customization is needed, there are widget-specific classes referenced within the jquery.ui.draggable.css stylesheet that can be modified. These classes are highlighed in bold below. +

+ +

Sample markup with jQuery UI CSS Framework classes

+ <div class="ui-draggable"></div> +

+ + Note: This is a sample of markup generated by the draggable plugin, not markup you should use to create a draggable. The only markup needed for that is <div></div>. + +

+ +
+
+ +

+ + diff --git a/jquery-ui-1.8.16.custom/development-bundle/docs/sortable.html b/jquery-ui-1.8.16.custom/development-bundle/docs/sortable.html new file mode 100755 index 0000000..888c4e9 --- /dev/null +++ b/jquery-ui-1.8.16.custom/development-bundle/docs/sortable.html @@ -0,0 +1,1953 @@ + + +
+

jQuery UI Sortable

+
+

Overview

+
+

The jQuery UI Sortable plugin makes selected elements sortable by dragging with the mouse.

+

All callbacks receive two arguments: The original browser event and a prepared ui object, view below for a documentation of this object (if you name your second argument 'ui'):

+
    +
  • ui.helper - the current helper element (most often a clone of the item)
  • +
  • ui.position - current position of the helper
  • +
  • ui.offset - current absolute position of the helper
  • +
  • ui.item - the current dragged element
  • +
  • ui.placeholder - the placeholder (if you defined one)
  • +
  • ui.sender - the sortable where the item comes from (only exists if you move from one connected list to another)
  • +
+
+
+

Dependencies

+
    +
  • UI Core
  • +
  • UI Widget
  • +
  • UI Mouse
  • +
+
+
+

Example

+
+ +

+A simple jQuery UI Sortable.
+

+
$("#sortable").sortable();
+
+

+

+
<!DOCTYPE html>
+<html>
+<head>
+  <link href="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8/themes/base/jquery-ui.css" rel="stylesheet" type="text/css"/>
+  <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.5/jquery.min.js"></script>
+  <script src="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8/jquery-ui.min.js"></script>
+  
+  <script>
+  $(document).ready(function() {
+    $("#sortable").sortable();
+  });
+  </script>
+</head>
+<body style="font-size:62.5%;">
+  
+<ul id="sortable">
+<li>Item 1</li>
+<li>Item 2</li>
+<li>Item 3</li>
+<li>Item 4</li>
+<li>Item 5</li>
+</ul>
+
+</body>
+</html>
+
+

+

+
+
+
+

Options

+
    + +
  • +
    +

    disabled

    +
    +
    Type:
    +
    Boolean
    + +
    Default:
    +
    false
    + +
    +
    +
    +

    Disables (true) or enables (false) the sortable. Can be set when initialising (first creating) the sortable.

    +
    +
    +

    Code examples

    +
    + +
    + Initialize a sortable with the disabled option specified. +
    +
    +
    $( ".selector" ).sortable({ disabled: true });
    +
    + + +
    + Get or set the disabled option, after init. +
    +
    +
    //getter
    +var disabled = $( ".selector" ).sortable( "option", "disabled" );
    +//setter
    +$( ".selector" ).sortable( "option", "disabled", true );
    +
    + +
    +
    +
  • + + +
  • +
    +

    appendTo

    +
    +
    Type:
    +
    String
    + +
    Default:
    +
    'parent'
    + +
    +
    +
    +

    Defines where the helper that moves with the mouse is being appended to during the drag (for example, to resolve overlap/zIndex issues).

    +
    +
    +

    Code examples

    +
    + +
    + Initialize a sortable with the appendTo option specified. +
    +
    +
    $( ".selector" ).sortable({ appendTo: 'body' });
    +
    + + +
    + Get or set the appendTo option, after init. +
    +
    +
    //getter
    +var appendTo = $( ".selector" ).sortable( "option", "appendTo" );
    +//setter
    +$( ".selector" ).sortable( "option", "appendTo", 'body' );
    +
    + +
    +
    +
  • + + +
  • +
    +

    axis

    +
    +
    Type:
    +
    String
    + +
    Default:
    +
    false
    + +
    +
    +
    +

    If defined, the items can be dragged only horizontally or vertically. Possible values:'x', 'y'.

    +
    +
    +

    Code examples

    +
    + +
    + Initialize a sortable with the axis option specified. +
    +
    +
    $( ".selector" ).sortable({ axis: 'x' });
    +
    + + +
    + Get or set the axis option, after init. +
    +
    +
    //getter
    +var axis = $( ".selector" ).sortable( "option", "axis" );
    +//setter
    +$( ".selector" ).sortable( "option", "axis", 'x' );
    +
    + +
    +
    +
  • + + +
  • +
    +

    cancel

    +
    +
    Type:
    +
    Selector
    + +
    Default:
    +
    ':input,button'
    + +
    +
    +
    +

    Prevents sorting if you start on elements matching the selector.

    +
    +
    +

    Code examples

    +
    + +
    + Initialize a sortable with the cancel option specified. +
    +
    +
    $( ".selector" ).sortable({ cancel: 'button' });
    +
    + + +
    + Get or set the cancel option, after init. +
    +
    +
    //getter
    +var cancel = $( ".selector" ).sortable( "option", "cancel" );
    +//setter
    +$( ".selector" ).sortable( "option", "cancel", 'button' );
    +
    + +
    +
    +
  • + + +
  • +
    +

    connectWith

    +
    +
    Type:
    +
    Selector
    + +
    Default:
    +
    false
    + +
    +
    +
    +

    Takes a jQuery selector with items that also have sortables applied. If used, the sortable is now connected to the other one-way, so you can drag from this sortable to the other.

    +
    +
    +

    Code examples

    +
    + +
    + Initialize a sortable with the connectWith option specified. +
    +
    +
    $( ".selector" ).sortable({ connectWith: '.otherlist' });
    +
    + + +
    + Get or set the connectWith option, after init. +
    +
    +
    //getter
    +var connectWith = $( ".selector" ).sortable( "option", "connectWith" );
    +//setter
    +$( ".selector" ).sortable( "option", "connectWith", '.otherlist' );
    +
    + +
    +
    +
  • + + +
  • +
    +

    containment

    +
    +
    Type:
    +
    Element, String, Selector
    + +
    Default:
    +
    false
    + +
    +
    +
    +

    Constrains dragging to within the bounds of the specified element - can be a DOM element, 'parent', 'document', 'window', or a jQuery selector. +

    Note: the element specified for containment must have a calculated width and height (though it need not be explicit), so for example, if you have float:left sortable children and specify containment:'parent' be sure to have float:left on the sortable/parent container as well or it will have height: 0, causing undefined behavior.

    +
    +
    +

    Code examples

    +
    + +
    + Initialize a sortable with the containment option specified. +
    +
    +
    $( ".selector" ).sortable({ containment: 'parent' });
    +
    + + +
    + Get or set the containment option, after init. +
    +
    +
    //getter
    +var containment = $( ".selector" ).sortable( "option", "containment" );
    +//setter
    +$( ".selector" ).sortable( "option", "containment", 'parent' );
    +
    + +
    +
    +
  • + + +
  • +
    +

    cursor

    +
    +
    Type:
    +
    String
    + +
    Default:
    +
    'auto'
    + +
    +
    +
    +

    Defines the cursor that is being shown while sorting.

    +
    +
    +

    Code examples

    +
    + +
    + Initialize a sortable with the cursor option specified. +
    +
    +
    $( ".selector" ).sortable({ cursor: 'crosshair' });
    +
    + + +
    + Get or set the cursor option, after init. +
    +
    +
    //getter
    +var cursor = $( ".selector" ).sortable( "option", "cursor" );
    +//setter
    +$( ".selector" ).sortable( "option", "cursor", 'crosshair' );
    +
    + +
    +
    +
  • + + +
  • +
    +

    cursorAt

    +
    +
    Type:
    +
    Object
    + +
    Default:
    +
    false
    + +
    +
    +
    +

    Moves the sorting element or helper so the cursor always appears to drag from the same position. Coordinates can be given as a hash using a combination of one or two keys: { top, left, right, bottom }.

    +
    +
    +

    Code examples

    +
    + +
    + Initialize a sortable with the cursorAt option specified. +
    +
    +
    $( ".selector" ).sortable({ cursorAt: 'top' });
    +
    + + +
    + Get or set the cursorAt option, after init. +
    +
    +
    //getter
    +var cursorAt = $( ".selector" ).sortable( "option", "cursorAt" );
    +//setter
    +$( ".selector" ).sortable( "option", "cursorAt", 'top' );
    +
    + +
    +
    +
  • + + +
  • +
    +

    delay

    +
    +
    Type:
    +
    Integer
    + +
    Default:
    +
    0
    + +
    +
    +
    +

    Time in milliseconds to define when the sorting should start. It helps preventing unwanted drags when clicking on an element.

    +
    +
    +

    Code examples

    +
    + +
    + Initialize a sortable with the delay option specified. +
    +
    +
    $( ".selector" ).sortable({ delay: 500 });
    +
    + + +
    + Get or set the delay option, after init. +
    +
    +
    //getter
    +var delay = $( ".selector" ).sortable( "option", "delay" );
    +//setter
    +$( ".selector" ).sortable( "option", "delay", 500 );
    +
    + +
    +
    +
  • + + +
  • +
    +

    distance

    +
    +
    Type:
    +
    Integer
    + +
    Default:
    +
    1
    + +
    +
    +
    +

    Tolerance, in pixels, for when sorting should start. If specified, sorting will not start until after mouse is dragged beyond distance. Can be used to allow for clicks on elements within a handle.

    +
    +
    +

    Code examples

    +
    + +
    + Initialize a sortable with the distance option specified. +
    +
    +
    $( ".selector" ).sortable({ distance: 30 });
    +
    + + +
    + Get or set the distance option, after init. +
    +
    +
    //getter
    +var distance = $( ".selector" ).sortable( "option", "distance" );
    +//setter
    +$( ".selector" ).sortable( "option", "distance", 30 );
    +
    + +
    +
    +
  • + + +
  • +
    +

    dropOnEmpty

    +
    +
    Type:
    +
    Boolean
    + +
    Default:
    +
    true
    + +
    +
    +
    +

    If false items from this sortable can't be dropped to an empty linked sortable.

    +
    +
    +

    Code examples

    +
    + +
    + Initialize a sortable with the dropOnEmpty option specified. +
    +
    +
    $( ".selector" ).sortable({ dropOnEmpty: false });
    +
    + + +
    + Get or set the dropOnEmpty option, after init. +
    +
    +
    //getter
    +var dropOnEmpty = $( ".selector" ).sortable( "option", "dropOnEmpty" );
    +//setter
    +$( ".selector" ).sortable( "option", "dropOnEmpty", false );
    +
    + +
    +
    +
  • + + +
  • +
    +

    forceHelperSize

    +
    +
    Type:
    +
    Boolean
    + +
    Default:
    +
    false
    + +
    +
    +
    +

    If true, forces the helper to have a size.

    +
    +
    +

    Code examples

    +
    + +
    + Initialize a sortable with the forceHelperSize option specified. +
    +
    +
    $( ".selector" ).sortable({ forceHelperSize: true });
    +
    + + +
    + Get or set the forceHelperSize option, after init. +
    +
    +
    //getter
    +var forceHelperSize = $( ".selector" ).sortable( "option", "forceHelperSize" );
    +//setter
    +$( ".selector" ).sortable( "option", "forceHelperSize", true );
    +
    + +
    +
    +
  • + + +
  • +
    +

    forcePlaceholderSize

    +
    +
    Type:
    +
    Boolean
    + +
    Default:
    +
    false
    + +
    +
    +
    +

    If true, forces the placeholder to have a size.

    +
    +
    +

    Code examples

    +
    + +
    + Initialize a sortable with the forcePlaceholderSize option specified. +
    +
    +
    $( ".selector" ).sortable({ forcePlaceholderSize: true });
    +
    + + +
    + Get or set the forcePlaceholderSize option, after init. +
    +
    +
    //getter
    +var forcePlaceholderSize = $( ".selector" ).sortable( "option", "forcePlaceholderSize" );
    +//setter
    +$( ".selector" ).sortable( "option", "forcePlaceholderSize", true );
    +
    + +
    +
    +
  • + + +
  • +
    +

    grid

    +
    +
    Type:
    +
    Array
    + +
    Default:
    +
    false
    + +
    +
    +
    +

    Snaps the sorting element or helper to a grid, every x and y pixels. Array values: [x, y]

    +
    +
    +

    Code examples

    +
    + +
    + Initialize a sortable with the grid option specified. +
    +
    +
    $( ".selector" ).sortable({ grid: [50, 20] });
    +
    + + +
    + Get or set the grid option, after init. +
    +
    +
    //getter
    +var grid = $( ".selector" ).sortable( "option", "grid" );
    +//setter
    +$( ".selector" ).sortable( "option", "grid", [50, 20] );
    +
    + +
    +
    +
  • + + +
  • +
    +

    handle

    +
    +
    Type:
    +
    Selector, Element
    + +
    Default:
    +
    false
    + +
    +
    +
    +

    Restricts sort start click to the specified element.

    +
    +
    +

    Code examples

    +
    + +
    + Initialize a sortable with the handle option specified. +
    +
    +
    $( ".selector" ).sortable({ handle: 'h2' });
    +
    + + +
    + Get or set the handle option, after init. +
    +
    +
    //getter
    +var handle = $( ".selector" ).sortable( "option", "handle" );
    +//setter
    +$( ".selector" ).sortable( "option", "handle", 'h2' );
    +
    + +
    +
    +
  • + + +
  • +
    +

    helper

    +
    +
    Type:
    +
    String, Function
    + +
    Default:
    +
    'original'
    + +
    +
    +
    +

    Allows for a helper element to be used for dragging display. The supplied function receives the event and the element being sorted, and should return a DOMElement to be used as a custom proxy helper. Possible values: 'original', 'clone'

    +
    +
    +

    Code examples

    +
    + +
    + Initialize a sortable with the helper option specified. +
    +
    +
    $( ".selector" ).sortable({ helper: 'clone' });
    +
    + + +
    + Get or set the helper option, after init. +
    +
    +
    //getter
    +var helper = $( ".selector" ).sortable( "option", "helper" );
    +//setter
    +$( ".selector" ).sortable( "option", "helper", 'clone' );
    +
    + +
    +
    +
  • + + +
  • +
    +

    items

    +
    +
    Type:
    +
    Selector
    + +
    Default:
    +
    '> *'
    + +
    +
    +
    +

    Specifies which items inside the element should be sortable.

    +
    +
    +

    Code examples

    +
    + +
    + Initialize a sortable with the items option specified. +
    +
    +
    $( ".selector" ).sortable({ items: 'li' });
    +
    + + +
    + Get or set the items option, after init. +
    +
    +
    //getter
    +var items = $( ".selector" ).sortable( "option", "items" );
    +//setter
    +$( ".selector" ).sortable( "option", "items", 'li' );
    +
    + +
    +
    +
  • + + +
  • +
    +

    opacity

    +
    +
    Type:
    +
    Float
    + +
    Default:
    +
    false
    + +
    +
    +
    +

    Defines the opacity of the helper while sorting. From 0.01 to 1

    +
    +
    +

    Code examples

    +
    + +
    + Initialize a sortable with the opacity option specified. +
    +
    +
    $( ".selector" ).sortable({ opacity: 0.6 });
    +
    + + +
    + Get or set the opacity option, after init. +
    +
    +
    //getter
    +var opacity = $( ".selector" ).sortable( "option", "opacity" );
    +//setter
    +$( ".selector" ).sortable( "option", "opacity", 0.6 );
    +
    + +
    +
    +
  • + + +
  • +
    +

    placeholder

    +
    +
    Type:
    +
    String
    + +
    Default:
    +
    false
    + +
    +
    +
    +

    Class that gets applied to the otherwise white space.

    +
    +
    +

    Code examples

    +
    + +
    + Initialize a sortable with the placeholder option specified. +
    +
    +
    $( ".selector" ).sortable({ placeholder: 'ui-state-highlight' });
    +
    + + +
    + Get or set the placeholder option, after init. +
    +
    +
    //getter
    +var placeholder = $( ".selector" ).sortable( "option", "placeholder" );
    +//setter
    +$( ".selector" ).sortable( "option", "placeholder", 'ui-state-highlight' );
    +
    + +
    +
    +
  • + + +
  • +
    +

    revert

    +
    +
    Type:
    +
    Boolean/Integer
    + +
    Default:
    +
    false
    + +
    +
    +
    +

    If set to true, the item will be reverted to its new DOM position with a smooth animation. Optionally, it can also be set to a number that controls the duration of the animation in ms.

    +
    +
    +

    Code examples

    +
    + +
    + Initialize a sortable with the revert option specified. +
    +
    +
    $( ".selector" ).sortable({ revert: true });
    +
    + + +
    + Get or set the revert option, after init. +
    +
    +
    //getter
    +var revert = $( ".selector" ).sortable( "option", "revert" );
    +//setter
    +$( ".selector" ).sortable( "option", "revert", true );
    +
    + +
    +
    +
  • + + +
  • +
    +

    scroll

    +
    +
    Type:
    +
    Boolean
    + +
    Default:
    +
    true
    + +
    +
    +
    +

    If set to true, the page scrolls when coming to an edge.

    +
    +
    +

    Code examples

    +
    + +
    + Initialize a sortable with the scroll option specified. +
    +
    +
    $( ".selector" ).sortable({ scroll: false });
    +
    + + +
    + Get or set the scroll option, after init. +
    +
    +
    //getter
    +var scroll = $( ".selector" ).sortable( "option", "scroll" );
    +//setter
    +$( ".selector" ).sortable( "option", "scroll", false );
    +
    + +
    +
    +
  • + + +
  • +
    +

    scrollSensitivity

    +
    +
    Type:
    +
    Integer
    + +
    Default:
    +
    20
    + +
    +
    +
    +

    Defines how near the mouse must be to an edge to start scrolling.

    +
    +
    +

    Code examples

    +
    + +
    + Initialize a sortable with the scrollSensitivity option specified. +
    +
    +
    $( ".selector" ).sortable({ scrollSensitivity: 40 });
    +
    + + +
    + Get or set the scrollSensitivity option, after init. +
    +
    +
    //getter
    +var scrollSensitivity = $( ".selector" ).sortable( "option", "scrollSensitivity" );
    +//setter
    +$( ".selector" ).sortable( "option", "scrollSensitivity", 40 );
    +
    + +
    +
    +
  • + + +
  • +
    +

    scrollSpeed

    +
    +
    Type:
    +
    Integer
    + +
    Default:
    +
    20
    + +
    +
    +
    +

    The speed at which the window should scroll once the mouse pointer gets within the scrollSensitivity distance.

    +
    +
    +

    Code examples

    +
    + +
    + Initialize a sortable with the scrollSpeed option specified. +
    +
    +
    $( ".selector" ).sortable({ scrollSpeed: 40 });
    +
    + + +
    + Get or set the scrollSpeed option, after init. +
    +
    +
    //getter
    +var scrollSpeed = $( ".selector" ).sortable( "option", "scrollSpeed" );
    +//setter
    +$( ".selector" ).sortable( "option", "scrollSpeed", 40 );
    +
    + +
    +
    +
  • + + +
  • +
    +

    tolerance

    +
    +
    Type:
    +
    String
    + +
    Default:
    +
    'intersect'
    + +
    +
    +
    +

    This is the way the reordering behaves during drag. Possible values: 'intersect', 'pointer'. In some setups, 'pointer' is more natural. +

    +
      +
    • intersect: draggable overlaps the droppable at least 50%
    • +
    • pointer: mouse pointer overlaps the droppable
    • +
    +

    +
    +
    +

    Code examples

    +
    + +
    + Initialize a sortable with the tolerance option specified. +
    +
    +
    $( ".selector" ).sortable({ tolerance: 'pointer' });
    +
    + + +
    + Get or set the tolerance option, after init. +
    +
    +
    //getter
    +var tolerance = $( ".selector" ).sortable( "option", "tolerance" );
    +//setter
    +$( ".selector" ).sortable( "option", "tolerance", 'pointer' );
    +
    + +
    +
    +
  • + + +
  • +
    +

    zIndex

    +
    +
    Type:
    +
    Integer
    + +
    Default:
    +
    1000
    + +
    +
    +
    +

    Z-index for element/helper while being sorted.

    +
    +
    +

    Code examples

    +
    + +
    + Initialize a sortable with the zIndex option specified. +
    +
    +
    $( ".selector" ).sortable({ zIndex: 5 });
    +
    + + +
    + Get or set the zIndex option, after init. +
    +
    +
    //getter
    +var zIndex = $( ".selector" ).sortable( "option", "zIndex" );
    +//setter
    +$( ".selector" ).sortable( "option", "zIndex", 5 );
    +
    + +
    +
    +
  • + +
+
+
+

Events

+
    + +
  • +
    +

    create

    +
    +
    Type:
    +
    sortcreate
    +
    +
    +
    +

    This event is triggered when sortable is created.

    +
    +
    +

    Code examples

    +
    + +
    + Supply a callback function to handle the create event as an init option. +
    +
    +
    $( ".selector" ).sortable({
    +   create: function(event, ui) { ... }
    +});
    +
    + + +
    + Bind to the create event by type: sortcreate. +
    +
    +
    $( ".selector" ).bind( "sortcreate", function(event, ui) {
    +  ...
    +});
    +
    + +
    +
    +
  • + + +
  • +
    +

    start

    +
    +
    Type:
    +
    sortstart
    +
    +
    +
    +

    This event is triggered when sorting starts.

    +
    +
    +

    Code examples

    +
    + +
    + Supply a callback function to handle the start event as an init option. +
    +
    +
    $( ".selector" ).sortable({
    +   start: function(event, ui) { ... }
    +});
    +
    + + +
    + Bind to the start event by type: sortstart. +
    +
    +
    $( ".selector" ).bind( "sortstart", function(event, ui) {
    +  ...
    +});
    +
    + +
    +
    +
  • + + +
  • +
    +

    sort

    +
    +
    Type:
    +
    sort
    +
    +
    +
    +

    This event is triggered during sorting.

    +
    +
    +

    Code examples

    +
    + +
    + Supply a callback function to handle the sort event as an init option. +
    +
    +
    $( ".selector" ).sortable({
    +   sort: function(event, ui) { ... }
    +});
    +
    + + +
    + Bind to the sort event by type: sort. +
    +
    +
    $( ".selector" ).bind( "sort", function(event, ui) {
    +  ...
    +});
    +
    + +
    +
    +
  • + + +
  • +
    +

    change

    +
    +
    Type:
    +
    sortchange
    +
    +
    +
    +

    This event is triggered during sorting, but only when the DOM position has changed.

    +
    +
    +

    Code examples

    +
    + +
    + Supply a callback function to handle the change event as an init option. +
    +
    +
    $( ".selector" ).sortable({
    +   change: function(event, ui) { ... }
    +});
    +
    + + +
    + Bind to the change event by type: sortchange. +
    +
    +
    $( ".selector" ).bind( "sortchange", function(event, ui) {
    +  ...
    +});
    +
    + +
    +
    +
  • + + +
  • +
    +

    beforeStop

    +
    +
    Type:
    +
    sortbeforestop
    +
    +
    +
    +

    This event is triggered when sorting stops, but when the placeholder/helper is still available.

    +
    +
    +

    Code examples

    +
    + +
    + Supply a callback function to handle the beforeStop event as an init option. +
    +
    +
    $( ".selector" ).sortable({
    +   beforeStop: function(event, ui) { ... }
    +});
    +
    + + +
    + Bind to the beforeStop event by type: sortbeforestop. +
    +
    +
    $( ".selector" ).bind( "sortbeforestop", function(event, ui) {
    +  ...
    +});
    +
    + +
    +
    +
  • + + +
  • +
    +

    stop

    +
    +
    Type:
    +
    sortstop
    +
    +
    +
    +

    This event is triggered when sorting has stopped.

    +
    +
    +

    Code examples

    +
    + +
    + Supply a callback function to handle the stop event as an init option. +
    +
    +
    $( ".selector" ).sortable({
    +   stop: function(event, ui) { ... }
    +});
    +
    + + +
    + Bind to the stop event by type: sortstop. +
    +
    +
    $( ".selector" ).bind( "sortstop", function(event, ui) {
    +  ...
    +});
    +
    + +
    +
    +
  • + + +
  • +
    +

    update

    +
    +
    Type:
    +
    sortupdate
    +
    +
    +
    +

    This event is triggered when the user stopped sorting and the DOM position has changed.

    +
    +
    +

    Code examples

    +
    + +
    + Supply a callback function to handle the update event as an init option. +
    +
    +
    $( ".selector" ).sortable({
    +   update: function(event, ui) { ... }
    +});
    +
    + + +
    + Bind to the update event by type: sortupdate. +
    +
    +
    $( ".selector" ).bind( "sortupdate", function(event, ui) {
    +  ...
    +});
    +
    + +
    +
    +
  • + + +
  • +
    +

    receive

    +
    +
    Type:
    +
    sortreceive
    +
    +
    +
    +

    This event is triggered when a connected sortable list has received an item from another list.

    +
    +
    +

    Code examples

    +
    + +
    + Supply a callback function to handle the receive event as an init option. +
    +
    +
    $( ".selector" ).sortable({
    +   receive: function(event, ui) { ... }
    +});
    +
    + + +
    + Bind to the receive event by type: sortreceive. +
    +
    +
    $( ".selector" ).bind( "sortreceive", function(event, ui) {
    +  ...
    +});
    +
    + +
    +
    +
  • + + +
  • +
    +

    remove

    +
    +
    Type:
    +
    sortremove
    +
    +
    +
    +

    This event is triggered when a sortable item has been dragged out from the list and into another.

    +
    +
    +

    Code examples

    +
    + +
    + Supply a callback function to handle the remove event as an init option. +
    +
    +
    $( ".selector" ).sortable({
    +   remove: function(event, ui) { ... }
    +});
    +
    + + +
    + Bind to the remove event by type: sortremove. +
    +
    +
    $( ".selector" ).bind( "sortremove", function(event, ui) {
    +  ...
    +});
    +
    + +
    +
    +
  • + + +
  • +
    +

    over

    +
    +
    Type:
    +
    sortover
    +
    +
    +
    +

    This event is triggered when a sortable item is moved into a connected list.

    +
    +
    +

    Code examples

    +
    + +
    + Supply a callback function to handle the over event as an init option. +
    +
    +
    $( ".selector" ).sortable({
    +   over: function(event, ui) { ... }
    +});
    +
    + + +
    + Bind to the over event by type: sortover. +
    +
    +
    $( ".selector" ).bind( "sortover", function(event, ui) {
    +  ...
    +});
    +
    + +
    +
    +
  • + + +
  • +
    +

    out

    +
    +
    Type:
    +
    sortout
    +
    +
    +
    +

    This event is triggered when a sortable item is moved away from a connected list.

    +
    +
    +

    Code examples

    +
    + +
    + Supply a callback function to handle the out event as an init option. +
    +
    +
    $( ".selector" ).sortable({
    +   out: function(event, ui) { ... }
    +});
    +
    + + +
    + Bind to the out event by type: sortout. +
    +
    +
    $( ".selector" ).bind( "sortout", function(event, ui) {
    +  ...
    +});
    +
    + +
    +
    +
  • + + +
  • +
    +

    activate

    +
    +
    Type:
    +
    sortactivate
    +
    +
    +
    +

    This event is triggered when using connected lists, every connected list on drag start receives it.

    +
    +
    +

    Code examples

    +
    + +
    + Supply a callback function to handle the activate event as an init option. +
    +
    +
    $( ".selector" ).sortable({
    +   activate: function(event, ui) { ... }
    +});
    +
    + + +
    + Bind to the activate event by type: sortactivate. +
    +
    +
    $( ".selector" ).bind( "sortactivate", function(event, ui) {
    +  ...
    +});
    +
    + +
    +
    +
  • + + +
  • +
    +

    deactivate

    +
    +
    Type:
    +
    sortdeactivate
    +
    +
    +
    +

    This event is triggered when sorting was stopped, is propagated to all possible connected lists.

    +
    +
    +

    Code examples

    +
    + +
    + Supply a callback function to handle the deactivate event as an init option. +
    +
    +
    $( ".selector" ).sortable({
    +   deactivate: function(event, ui) { ... }
    +});
    +
    + + +
    + Bind to the deactivate event by type: sortdeactivate. +
    +
    +
    $( ".selector" ).bind( "sortdeactivate", function(event, ui) {
    +  ...
    +});
    +
    + +
    +
    +
  • + +
+
+
+

Methods

+
    + +
  • +
    +

    destroy

    +
    +
    Signature:
    +
    .sortable( "destroy" + + + + + + + +)
    +
    +
    +
    +

    Remove the sortable functionality completely. This will return the element back to its pre-init state.

    +
    +
  • + + +
  • +
    +

    disable

    +
    +
    Signature:
    +
    .sortable( "disable" + + + + + + + +)
    +
    +
    +
    +

    Disable the sortable.

    +
    +
  • + + +
  • +
    +

    enable

    +
    +
    Signature:
    +
    .sortable( "enable" + + + + + + + +)
    +
    +
    +
    +

    Enable the sortable.

    +
    +
  • + + +
  • +
    +

    option

    +
    +
    Signature:
    +
    .sortable( "option" + +, optionName + +, [value] + + + +)
    +
    +
    +
    +

    Get or set any sortable option. If no value is specified, will act as a getter.

    +
    +
  • + + +
  • +
    +

    option

    +
    +
    Signature:
    +
    .sortable( "option" + +, options + + + + + +)
    +
    +
    +
    +

    Set multiple sortable options at once by providing an options object.

    +
    +
  • + + +
  • +
    +

    widget

    +
    +
    Signature:
    +
    .sortable( "widget" + + + + + + + +)
    +
    +
    +
    +

    Returns the .ui-sortable element.

    +
    +
  • + + +
  • +
    +

    serialize

    +
    +
    Signature:
    +
    .sortable( "serialize" + +, [options] + + + + + +)
    +
    +
    +
    +

    Serializes the sortable's item id's into a form/ajax submittable string. Calling this method produces a hash that can be appended to any url to easily submit a new item order back to the server. +

    It works by default by looking at the id of each item in the format 'setname_number', and it spits out a hash like "setname[]=number&setname[]=number". +

    You can also give in a option hash as second argument to custom define how the function works. The possible options are: 'key' (replaces part1[] with whatever you want), 'attribute' (test another attribute than 'id') and 'expression' (use your own regexp). +

    If serialize returns an empty string, make sure the id attributes include an underscore. They must be in the form: "set_number" For example, a 3 element list with id attributes foo_1, foo_5, foo_2 will serialize to foo[]=1&foo[]=5&foo[]=2. You can use an underscore, equal sign or hyphen to separate the set and number. For example foo=1 or foo-1 or foo_1 all serialize to foo[]=1.

    +
    +
  • + + +
  • +
    +

    toArray

    +
    +
    Signature:
    +
    .sortable( "toArray" + + + + + + + +)
    +
    +
    +
    +

    Serializes the sortable's item id's into an array of string. If you have +

    +
    +<ul id="a_sortable"><br>
    +<li id="hello">Hello</li><br>
    +<li id="goodbye">Good bye</li><br>
    +</ul>
    +
    +

    and do +

    +
    var result = $('#a_sortable').sortable('toArray');
    +

    then +

    +
    result[0] will contain "hello" and result[1] will contain "goodbye".

    +
    +
  • + +

    +

  • +
    +

    refresh

    +
    +
    Signature:
    +
    .sortable( "refresh" + + + + + + + +)
    +
    +
    +
    +

    Refresh the sortable items. Custom trigger the reloading of all sortable items, causing new items to be recognized.

    +
    +
  • + + +
  • +
    +

    refreshPositions

    +
    +
    Signature:
    +
    .sortable( "refreshPositions" + + + + + + + +)
    +
    +
    +
    +

    Refresh the cached positions of the sortables' items. Calling this method refreshes the cached item positions of all sortables. This is usually done automatically by the script and slows down performance. Use wisely.

    +
    +
  • + + +
  • +
    +

    cancel

    +
    +
    Signature:
    +
    .sortable( "cancel" + + + + + + + +)
    +
    +
    +
    +

    Cancels a change in the current sortable and reverts it back to how it was before the current sort started. Useful in the stop and receive callback functions. +

    If the sortable item is not being moved from one connected sortable to another: +

    +
    $(this).sortable('cancel');
    +

    will cancel the change. +

    If the sortable item is being moved from one connected sortable to another: +

    +
    $(ui.sender).sortable('cancel');
    +

    will cancel the change. Useful in the 'receive' callback.

    +
    +
  • + +
+
+
+

Theming

+

The jQuery UI Sortable 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. +

+

If a deeper level of customization is needed, there are widget-specific classes referenced within the jquery.ui.sortable.css stylesheet that can be modified. These classes are highlighed in bold below. +

+ +

Sample markup with jQuery UI CSS Framework classes

+ <ul class="ui-sortable">
+   <li></li>
+   <li class="ui-sortable-helper"></li>
+   <li class="ui-sortable-placeholder"></li>
+   <li></li>
+</ul> +

+ + Note: This is a sample of markup generated by the sortable plugin, not markup you should use to create a sortable. The only markup needed for that is
<ul>
+   <li></li>
+   <li></li>
+   <li></li>
+</ul>. +
+

+ +
+
+ +

+ + diff --git a/jquery-ui-1.8.16.custom/development-bundle/external/jquery.bgiframe-2.1.2.js b/jquery-ui-1.8.16.custom/development-bundle/external/jquery.bgiframe-2.1.2.js new file mode 100755 index 0000000..5cd38bb --- /dev/null +++ b/jquery-ui-1.8.16.custom/development-bundle/external/jquery.bgiframe-2.1.2.js @@ -0,0 +1,39 @@ +/*! Copyright (c) 2010 Brandon Aaron (http://brandonaaron.net) + * Licensed under the MIT License (LICENSE.txt). + * + * Version 2.1.2 + */ + +(function($){ + +$.fn.bgiframe = ($.browser.msie && /msie 6\.0/i.test(navigator.userAgent) ? function(s) { + s = $.extend({ + top : 'auto', // auto == .currentStyle.borderTopWidth + left : 'auto', // auto == .currentStyle.borderLeftWidth + width : 'auto', // auto == offsetWidth + height : 'auto', // auto == offsetHeight + opacity : true, + src : 'javascript:false;' + }, s); + var html = '