You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@isis.apache.org by da...@apache.org on 2013/05/03 17:37:00 UTC
[47/51] [partial] ISIS-393,ISIS-394,ISIS-395: jquery UI datepicker.
http://git-wip-us.apache.org/repos/asf/isis/blob/5860833e/component/viewer/wicket/jquery-ui-1.10.2.custom/development-bundle/demos/dialog/modal-form.html
----------------------------------------------------------------------
diff --git a/component/viewer/wicket/jquery-ui-1.10.2.custom/development-bundle/demos/dialog/modal-form.html b/component/viewer/wicket/jquery-ui-1.10.2.custom/development-bundle/demos/dialog/modal-form.html
new file mode 100644
index 0000000..a9f1c63
--- /dev/null
+++ b/component/viewer/wicket/jquery-ui-1.10.2.custom/development-bundle/demos/dialog/modal-form.html
@@ -0,0 +1,157 @@
+<!doctype html>
+<html lang="en">
+<head>
+ <meta charset="utf-8">
+ <title>jQuery UI Dialog - Modal form</title>
+ <link rel="stylesheet" href="../../themes/base/jquery.ui.all.css">
+ <script src="../../jquery-1.9.1.js"></script>
+ <script src="../../ui/jquery.ui.core.js"></script>
+ <script src="../../ui/jquery.ui.widget.js"></script>
+ <script src="../../ui/jquery.ui.mouse.js"></script>
+ <script src="../../ui/jquery.ui.button.js"></script>
+ <script src="../../ui/jquery.ui.draggable.js"></script>
+ <script src="../../ui/jquery.ui.position.js"></script>
+ <script src="../../ui/jquery.ui.resizable.js"></script>
+ <script src="../../ui/jquery.ui.button.js"></script>
+ <script src="../../ui/jquery.ui.dialog.js"></script>
+ <script src="../../ui/jquery.ui.effect.js"></script>
+ <link rel="stylesheet" href="../demos.css">
+ <style>
+ body { font-size: 62.5%; }
+ label, input { display:block; }
+ input.text { margin-bottom:12px; width:95%; padding: .4em; }
+ fieldset { padding:0; border:0; margin-top:25px; }
+ h1 { font-size: 1.2em; margin: .6em 0; }
+ div#users-contain { width: 350px; margin: 20px 0; }
+ div#users-contain table { margin: 1em 0; border-collapse: collapse; width: 100%; }
+ div#users-contain table td, div#users-contain table th { border: 1px solid #eee; padding: .6em 10px; text-align: left; }
+ .ui-dialog .ui-state-error { padding: .3em; }
+ .validateTips { border: 1px solid transparent; padding: 0.3em; }
+ </style>
+ <script>
+ $(function() {
+ var name = $( "#name" ),
+ email = $( "#email" ),
+ password = $( "#password" ),
+ allFields = $( [] ).add( name ).add( email ).add( password ),
+ tips = $( ".validateTips" );
+
+ function updateTips( t ) {
+ tips
+ .text( t )
+ .addClass( "ui-state-highlight" );
+ setTimeout(function() {
+ tips.removeClass( "ui-state-highlight", 1500 );
+ }, 500 );
+ }
+
+ function checkLength( o, n, min, max ) {
+ if ( o.val().length > max || o.val().length < min ) {
+ o.addClass( "ui-state-error" );
+ updateTips( "Length of " + n + " must be between " +
+ min + " and " + max + "." );
+ return false;
+ } else {
+ return true;
+ }
+ }
+
+ function checkRegexp( o, regexp, n ) {
+ if ( !( regexp.test( o.val() ) ) ) {
+ o.addClass( "ui-state-error" );
+ updateTips( n );
+ return false;
+ } else {
+ return true;
+ }
+ }
+
+ $( "#dialog-form" ).dialog({
+ autoOpen: false,
+ height: 300,
+ width: 350,
+ modal: true,
+ buttons: {
+ "Create an account": function() {
+ var bValid = true;
+ allFields.removeClass( "ui-state-error" );
+
+ bValid = bValid && checkLength( name, "username", 3, 16 );
+ bValid = bValid && checkLength( email, "email", 6, 80 );
+ bValid = bValid && checkLength( password, "password", 5, 16 );
+
+ bValid = bValid && checkRegexp( name, /^[a-z]([0-9a-z_])+$/i, "Username may consist of a-z, 0-9, underscores, begin with a letter." );
+ // From jquery.validate.js (by joern), contributed by Scott Gonzalez: http://projects.scottsplayground.com/email_address_validation/
+ bValid = bValid && checkRegexp( email, /^((([a-z]|\d|[!#\$%&'\*\+\-\/=\?\^_`{\|}~]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])+(\.([a-z]|\d|[!#\$%&'\*\+\-\/=\?\^_`{\|}~]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])+)*)|((\x22)((((\x20|\x09)*(\x0d\x0a))?(\x20|\x09)+)?(([\x01-\x08\x0b\x0c\x0e-\x1f\x7f]|\x21|[\x23-\x5b]|[\x5d-\x7e]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(\\([\x01-\x09\x0b\x0c\x0d-\x7f]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]))))*(((\x20|\x09)*(\x0d\x0a))?(\x20|\x09)+)?(\x22)))@((([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))\.)+(([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))\.?$/i, "eg. ui@jquery.com" );
+ bValid = bValid && checkRegexp( password, /^([0-9a-zA-Z])+$/, "Password field only allow : a-z 0-9" );
+
+ if ( bValid ) {
+ $( "#users tbody" ).append( "<tr>" +
+ "<td>" + name.val() + "</td>" +
+ "<td>" + email.val() + "</td>" +
+ "<td>" + password.val() + "</td>" +
+ "</tr>" );
+ $( this ).dialog( "close" );
+ }
+ },
+ Cancel: function() {
+ $( this ).dialog( "close" );
+ }
+ },
+ close: function() {
+ allFields.val( "" ).removeClass( "ui-state-error" );
+ }
+ });
+
+ $( "#create-user" )
+ .button()
+ .click(function() {
+ $( "#dialog-form" ).dialog( "open" );
+ });
+ });
+ </script>
+</head>
+<body>
+
+<div id="dialog-form" title="Create new user">
+ <p class="validateTips">All form fields are required.</p>
+
+ <form>
+ <fieldset>
+ <label for="name">Name</label>
+ <input type="text" name="name" id="name" class="text ui-widget-content ui-corner-all" />
+ <label for="email">Email</label>
+ <input type="text" name="email" id="email" value="" class="text ui-widget-content ui-corner-all" />
+ <label for="password">Password</label>
+ <input type="password" name="password" id="password" value="" class="text ui-widget-content ui-corner-all" />
+ </fieldset>
+ </form>
+</div>
+
+
+<div id="users-contain" class="ui-widget">
+ <h1>Existing Users:</h1>
+ <table id="users" class="ui-widget ui-widget-content">
+ <thead>
+ <tr class="ui-widget-header ">
+ <th>Name</th>
+ <th>Email</th>
+ <th>Password</th>
+ </tr>
+ </thead>
+ <tbody>
+ <tr>
+ <td>John Doe</td>
+ <td>john.doe@example.com</td>
+ <td>johndoe1</td>
+ </tr>
+ </tbody>
+ </table>
+</div>
+<button id="create-user">Create new user</button>
+
+<div class="demo-description">
+<p>Use a modal dialog to require that the user enter data during a multi-step process. Embed form markup in the content area, set the <code>modal</code> option to true, and specify primary and secondary user actions with the <code>buttons</code> option.</p>
+</div>
+</body>
+</html>
http://git-wip-us.apache.org/repos/asf/isis/blob/5860833e/component/viewer/wicket/jquery-ui-1.10.2.custom/development-bundle/demos/dialog/modal-message.html
----------------------------------------------------------------------
diff --git a/component/viewer/wicket/jquery-ui-1.10.2.custom/development-bundle/demos/dialog/modal-message.html b/component/viewer/wicket/jquery-ui-1.10.2.custom/development-bundle/demos/dialog/modal-message.html
new file mode 100644
index 0000000..0a6f813
--- /dev/null
+++ b/component/viewer/wicket/jquery-ui-1.10.2.custom/development-bundle/demos/dialog/modal-message.html
@@ -0,0 +1,49 @@
+<!doctype html>
+<html lang="en">
+<head>
+ <meta charset="utf-8">
+ <title>jQuery UI Dialog - Modal message</title>
+ <link rel="stylesheet" href="../../themes/base/jquery.ui.all.css">
+ <script src="../../jquery-1.9.1.js"></script>
+ <script src="../../ui/jquery.ui.core.js"></script>
+ <script src="../../ui/jquery.ui.widget.js"></script>
+ <script src="../../ui/jquery.ui.mouse.js"></script>
+ <script src="../../ui/jquery.ui.button.js"></script>
+ <script src="../../ui/jquery.ui.draggable.js"></script>
+ <script src="../../ui/jquery.ui.position.js"></script>
+ <script src="../../ui/jquery.ui.resizable.js"></script>
+ <script src="../../ui/jquery.ui.button.js"></script>
+ <script src="../../ui/jquery.ui.dialog.js"></script>
+ <link rel="stylesheet" href="../demos.css">
+ <script>
+ $(function() {
+ $( "#dialog-message" ).dialog({
+ modal: true,
+ buttons: {
+ Ok: function() {
+ $( thisĀ ).dialog( "close" );
+ }
+ }
+ });
+ });
+ </script>
+</head>
+<body>
+
+<div id="dialog-message" title="Download complete">
+ <p>
+ <span class="ui-icon ui-icon-circle-check" style="float:left; margin:0 7px 50px 0;"></span>
+ Your files have downloaded successfully into the My Downloads folder.
+ </p>
+ <p>
+ Currently using <b>36% of your storage space</b>.
+ </p>
+</div>
+
+<p>Sed vel diam id libero <a href="http://example.com">rutrum convallis</a>. Donec aliquet leo vel magna. Phasellus rhoncus faucibus ante. Etiam bibendum, enim faucibus aliquet rhoncus, arcu felis ultricies neque, sit amet auctor elit eros a lectus.</p>
+
+<div class="demo-description">
+<p>Use a modal dialog to explicitly acknowledge information or an action before continuing their work. Set the <code>modal</code> option to true, and specify a primary action (Ok) with the <code>buttons</code> option.</p>
+</div>
+</body>
+</html>
http://git-wip-us.apache.org/repos/asf/isis/blob/5860833e/component/viewer/wicket/jquery-ui-1.10.2.custom/development-bundle/demos/dialog/modal.html
----------------------------------------------------------------------
diff --git a/component/viewer/wicket/jquery-ui-1.10.2.custom/development-bundle/demos/dialog/modal.html b/component/viewer/wicket/jquery-ui-1.10.2.custom/development-bundle/demos/dialog/modal.html
new file mode 100644
index 0000000..4579df2
--- /dev/null
+++ b/component/viewer/wicket/jquery-ui-1.10.2.custom/development-bundle/demos/dialog/modal.html
@@ -0,0 +1,38 @@
+<!doctype html>
+<html lang="en">
+<head>
+ <meta charset="utf-8">
+ <title>jQuery UI Dialog - Basic modal</title>
+ <link rel="stylesheet" href="../../themes/base/jquery.ui.all.css">
+ <script src="../../jquery-1.9.1.js"></script>
+ <script src="../../ui/jquery.ui.core.js"></script>
+ <script src="../../ui/jquery.ui.widget.js"></script>
+ <script src="../../ui/jquery.ui.mouse.js"></script>
+ <script src="../../ui/jquery.ui.draggable.js"></script>
+ <script src="../../ui/jquery.ui.position.js"></script>
+ <script src="../../ui/jquery.ui.resizable.js"></script>
+ <script src="../../ui/jquery.ui.button.js"></script>
+ <script src="../../ui/jquery.ui.dialog.js"></script>
+ <link rel="stylesheet" href="../demos.css">
+ <script>
+ $(function() {
+ $( "#dialog-modal" ).dialog({
+ height: 140,
+ modal: true
+ });
+ });
+ </script>
+</head>
+<body>
+
+<div id="dialog-modal" title="Basic modal dialog">
+ <p>Adding the modal overlay screen makes the dialog look more prominent because it dims out the page content.</p>
+</div>
+
+<p>Sed vel diam id libero <a href="http://example.com">rutrum convallis</a>. Donec aliquet leo vel magna. Phasellus rhoncus faucibus ante. Etiam bibendum, enim faucibus aliquet rhoncus, arcu felis ultricies neque, sit amet auctor elit eros a lectus.</p>
+
+<div class="demo-description">
+<p>A modal dialog prevents the user from interacting with the rest of the page until it is closed.</p>
+</div>
+</body>
+</html>
http://git-wip-us.apache.org/repos/asf/isis/blob/5860833e/component/viewer/wicket/jquery-ui-1.10.2.custom/development-bundle/demos/draggable/constrain-movement.html
----------------------------------------------------------------------
diff --git a/component/viewer/wicket/jquery-ui-1.10.2.custom/development-bundle/demos/draggable/constrain-movement.html b/component/viewer/wicket/jquery-ui-1.10.2.custom/development-bundle/demos/draggable/constrain-movement.html
new file mode 100644
index 0000000..b22e4c2
--- /dev/null
+++ b/component/viewer/wicket/jquery-ui-1.10.2.custom/development-bundle/demos/draggable/constrain-movement.html
@@ -0,0 +1,58 @@
+<!doctype html>
+<html lang="en">
+<head>
+ <meta charset="utf-8">
+ <title>jQuery UI Draggable - Constrain movement</title>
+ <link rel="stylesheet" href="../../themes/base/jquery.ui.all.css">
+ <script src="../../jquery-1.9.1.js"></script>
+ <script src="../../ui/jquery.ui.core.js"></script>
+ <script src="../../ui/jquery.ui.widget.js"></script>
+ <script src="../../ui/jquery.ui.mouse.js"></script>
+ <script src="../../ui/jquery.ui.draggable.js"></script>
+ <link rel="stylesheet" href="../demos.css">
+ <style>
+ .draggable { width: 90px; height: 90px; padding: 0.5em; float: left; margin: 0 10px 10px 0; }
+ #draggable, #draggable2 { margin-bottom:20px; }
+ #draggable { cursor: n-resize; }
+ #draggable2 { cursor: e-resize; }
+ #containment-wrapper { width: 95%; height:150px; border:2px solid #ccc; padding: 10px; }
+ h3 { clear: left; }
+ </style>
+ <script>
+ $(function() {
+ $( "#draggable" ).draggable({ axis: "y" });
+ $( "#draggable2" ).draggable({ axis: "x" });
+
+ $( "#draggable3" ).draggable({ containment: "#containment-wrapper", scroll: false });
+ $( "#draggable5" ).draggable({ containment: "parent" });
+ });
+ </script>
+</head>
+<body>
+
+<h3>Constrain movement along an axis:</h3>
+
+<div id="draggable" class="draggable ui-widget-content">
+ <p>I can be dragged only vertically</p>
+</div>
+
+<div id="draggable2" class="draggable ui-widget-content">
+ <p>I can be dragged only horizontally</p>
+</div>
+
+<h3>Or to within another DOM element:</h3>
+<div id="containment-wrapper">
+ <div id="draggable3" class="draggable ui-widget-content">
+ <p>I'm contained within the box</p>
+ </div>
+
+ <div class="draggable ui-widget-content">
+ <p id="draggable5" class="ui-widget-header">I'm contained within my parent</p>
+ </div>
+</div>
+
+<div class="demo-description">
+<p>Constrain the movement of each draggable by defining the boundaries of the draggable area. Set the <code>axis</code> option to limit the draggable's path to the x- or y-axis, or use the <code>containment</code> option to specify a parent DOM element or a jQuery selector, like 'document.'</p>
+</div>
+</body>
+</html>
http://git-wip-us.apache.org/repos/asf/isis/blob/5860833e/component/viewer/wicket/jquery-ui-1.10.2.custom/development-bundle/demos/draggable/cursor-style.html
----------------------------------------------------------------------
diff --git a/component/viewer/wicket/jquery-ui-1.10.2.custom/development-bundle/demos/draggable/cursor-style.html b/component/viewer/wicket/jquery-ui-1.10.2.custom/development-bundle/demos/draggable/cursor-style.html
new file mode 100644
index 0000000..05db5ea
--- /dev/null
+++ b/component/viewer/wicket/jquery-ui-1.10.2.custom/development-bundle/demos/draggable/cursor-style.html
@@ -0,0 +1,42 @@
+<!doctype html>
+<html lang="en">
+<head>
+ <meta charset="utf-8">
+ <title>jQuery UI Draggable - Cursor style</title>
+ <link rel="stylesheet" href="../../themes/base/jquery.ui.all.css">
+ <script src="../../jquery-1.9.1.js"></script>
+ <script src="../../ui/jquery.ui.core.js"></script>
+ <script src="../../ui/jquery.ui.widget.js"></script>
+ <script src="../../ui/jquery.ui.mouse.js"></script>
+ <script src="../../ui/jquery.ui.draggable.js"></script>
+ <link rel="stylesheet" href="../demos.css">
+ <style>
+ #draggable, #draggable2, #draggable3 { width: 100px; height: 100px; padding: 0.5em; float: left; margin: 0 10px 10px 0; }
+ </style>
+ <script>
+ $(function() {
+ $( "#draggable" ).draggable({ cursor: "move", cursorAt: { top: 56, left: 56 } });
+ $( "#draggable2" ).draggable({ cursor: "crosshair", cursorAt: { top: -5, left: -5 } });
+ $( "#draggable3" ).draggable({ cursorAt: { bottom: 0 } });
+ });
+ </script>
+</head>
+<body>
+
+<div id="draggable" class="ui-widget-content">
+ <p>I will always stick to the center (relative to the mouse)</p>
+</div>
+
+<div id="draggable2" class="ui-widget-content">
+ <p>My cursor is at left -5 and top -5</p>
+</div>
+
+<div id="draggable3" class="ui-widget-content">
+ <p>My cursor position is only controlled for the 'bottom' value</p>
+</div>
+
+<div class="demo-description">
+<p>Position the cursor while dragging the object. By default the cursor appears in the center of the dragged object; use the <code>cursorAt</code> 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 <code>cursor</code> option with a valid CSS cursor value: default, move, pointer, crosshair, etc.</p>
+</div>
+</body>
+</html>
http://git-wip-us.apache.org/repos/asf/isis/blob/5860833e/component/viewer/wicket/jquery-ui-1.10.2.custom/development-bundle/demos/draggable/default.html
----------------------------------------------------------------------
diff --git a/component/viewer/wicket/jquery-ui-1.10.2.custom/development-bundle/demos/draggable/default.html b/component/viewer/wicket/jquery-ui-1.10.2.custom/development-bundle/demos/draggable/default.html
new file mode 100644
index 0000000..3ea1640
--- /dev/null
+++ b/component/viewer/wicket/jquery-ui-1.10.2.custom/development-bundle/demos/draggable/default.html
@@ -0,0 +1,32 @@
+<!doctype html>
+<html lang="en">
+<head>
+ <meta charset="utf-8">
+ <title>jQuery UI Draggable - Default functionality</title>
+ <link rel="stylesheet" href="../../themes/base/jquery.ui.all.css">
+ <script src="../../jquery-1.9.1.js"></script>
+ <script src="../../ui/jquery.ui.core.js"></script>
+ <script src="../../ui/jquery.ui.widget.js"></script>
+ <script src="../../ui/jquery.ui.mouse.js"></script>
+ <script src="../../ui/jquery.ui.draggable.js"></script>
+ <link rel="stylesheet" href="../demos.css">
+ <style>
+ #draggable { width: 150px; height: 150px; padding: 0.5em; }
+ </style>
+ <script>
+ $(function() {
+ $( "#draggable" ).draggable();
+ });
+ </script>
+</head>
+<body>
+
+<div id="draggable" class="ui-widget-content">
+ <p>Drag me around</p>
+</div>
+
+<div class="demo-description">
+<p>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.</p>
+</div>
+</body>
+</html>
http://git-wip-us.apache.org/repos/asf/isis/blob/5860833e/component/viewer/wicket/jquery-ui-1.10.2.custom/development-bundle/demos/draggable/delay-start.html
----------------------------------------------------------------------
diff --git a/component/viewer/wicket/jquery-ui-1.10.2.custom/development-bundle/demos/draggable/delay-start.html b/component/viewer/wicket/jquery-ui-1.10.2.custom/development-bundle/demos/draggable/delay-start.html
new file mode 100644
index 0000000..413814b
--- /dev/null
+++ b/component/viewer/wicket/jquery-ui-1.10.2.custom/development-bundle/demos/draggable/delay-start.html
@@ -0,0 +1,38 @@
+<!doctype html>
+<html lang="en">
+<head>
+ <meta charset="utf-8">
+ <title>jQuery UI Draggable - Delay start</title>
+ <link rel="stylesheet" href="../../themes/base/jquery.ui.all.css">
+ <script src="../../jquery-1.9.1.js"></script>
+ <script src="../../ui/jquery.ui.core.js"></script>
+ <script src="../../ui/jquery.ui.widget.js"></script>
+ <script src="../../ui/jquery.ui.mouse.js"></script>
+ <script src="../../ui/jquery.ui.draggable.js"></script>
+ <link rel="stylesheet" href="../demos.css">
+ <style>
+ #draggable, #draggable2 { width: 120px; height: 120px; padding: 0.5em; float: left; margin: 0 10px 10px 0; }
+ </style>
+ <script>
+ $(function() {
+ $( "#draggable" ).draggable({ distance: 20 });
+ $( "#draggable2" ).draggable({ delay: 1000 });
+ $( ".ui-draggable" ).disableSelection();
+ });
+ </script>
+</head>
+<body>
+
+<div id="draggable" class="ui-widget-content">
+ <p>Only if you drag me by 20 pixels, the dragging will start</p>
+</div>
+
+<div id="draggable2" class="ui-widget-content">
+ <p>Regardless of the distance, you have to drag and wait for 1000ms before dragging starts</p>
+</div>
+
+<div class="demo-description">
+<p>Delay the start of dragging for a number of milliseconds with the <code>delay</code> option; prevent dragging until the cursor is held down and dragged a specifed number of pixels with the <code>distance</code> option. </p>
+</div>
+</body>
+</html>
http://git-wip-us.apache.org/repos/asf/isis/blob/5860833e/component/viewer/wicket/jquery-ui-1.10.2.custom/development-bundle/demos/draggable/events.html
----------------------------------------------------------------------
diff --git a/component/viewer/wicket/jquery-ui-1.10.2.custom/development-bundle/demos/draggable/events.html b/component/viewer/wicket/jquery-ui-1.10.2.custom/development-bundle/demos/draggable/events.html
new file mode 100644
index 0000000..d662e88
--- /dev/null
+++ b/component/viewer/wicket/jquery-ui-1.10.2.custom/development-bundle/demos/draggable/events.html
@@ -0,0 +1,70 @@
+<!doctype html>
+<html lang="en">
+<head>
+ <meta charset="utf-8">
+ <title>jQuery UI Draggable - Events</title>
+ <link rel="stylesheet" href="../../themes/base/jquery.ui.all.css">
+ <script src="../../jquery-1.9.1.js"></script>
+ <script src="../../ui/jquery.ui.core.js"></script>
+ <script src="../../ui/jquery.ui.widget.js"></script>
+ <script src="../../ui/jquery.ui.mouse.js"></script>
+ <script src="../../ui/jquery.ui.draggable.js"></script>
+ <link rel="stylesheet" href="../demos.css">
+ <style>
+ #draggable { width: 16em; padding: 0 1em; }
+ #draggable ul li { margin: 1em 0; padding: 0.5em 0; } * html #draggable ul li { height: 1%; }
+ #draggable ul li span.ui-icon { float: left; }
+ #draggable ul li span.count { font-weight: bold; }
+ </style>
+ <script>
+ $(function() {
+ var $start_counter = $( "#event-start" ),
+ $drag_counter = $( "#event-drag" ),
+ $stop_counter = $( "#event-stop" ),
+ counts = [ 0, 0, 0 ];
+
+ $( "#draggable" ).draggable({
+ start: function() {
+ counts[ 0 ]++;
+ updateCounterStatus( $start_counter, counts[ 0 ] );
+ },
+ drag: function() {
+ counts[ 1 ]++;
+ updateCounterStatus( $drag_counter, counts[ 1 ] );
+ },
+ stop: function() {
+ counts[ 2 ]++;
+ updateCounterStatus( $stop_counter, counts[ 2 ] );
+ }
+ });
+
+ function updateCounterStatus( $event_counter, new_count ) {
+ // first update the status visually...
+ if ( !$event_counter.hasClass( "ui-state-hover" ) ) {
+ $event_counter.addClass( "ui-state-hover" )
+ .siblings().removeClass( "ui-state-hover" );
+ }
+ // ...then update the numbers
+ $( "span.count", $event_counter ).text( new_count );
+ }
+ });
+ </script>
+</head>
+<body>
+
+<div id="draggable" class="ui-widget ui-widget-content">
+
+ <p>Drag me to trigger the chain of events.</p>
+
+ <ul class="ui-helper-reset">
+ <li id="event-start" class="ui-state-default ui-corner-all"><span class="ui-icon ui-icon-play"></span>"start" invoked <span class="count">0</span>x</li>
+ <li id="event-drag" class="ui-state-default ui-corner-all"><span class="ui-icon ui-icon-arrow-4"></span>"drag" invoked <span class="count">0</span>x</li>
+ <li id="event-stop" class="ui-state-default ui-corner-all"><span class="ui-icon ui-icon-stop"></span>"stop" invoked <span class="count">0</span>x</li>
+ </ul>
+</div>
+
+<div class="demo-description">
+<p>Layer functionality onto the draggable using the <code>start</code>, <code>drag</code>, and <code>stop</code> events. Start is fired at the start of the drag; drag during the drag; and stop when dragging stops.</p>
+</div>
+</body>
+</html>
http://git-wip-us.apache.org/repos/asf/isis/blob/5860833e/component/viewer/wicket/jquery-ui-1.10.2.custom/development-bundle/demos/draggable/handle.html
----------------------------------------------------------------------
diff --git a/component/viewer/wicket/jquery-ui-1.10.2.custom/development-bundle/demos/draggable/handle.html b/component/viewer/wicket/jquery-ui-1.10.2.custom/development-bundle/demos/draggable/handle.html
new file mode 100644
index 0000000..983b653
--- /dev/null
+++ b/component/viewer/wicket/jquery-ui-1.10.2.custom/development-bundle/demos/draggable/handle.html
@@ -0,0 +1,41 @@
+<!doctype html>
+<html lang="en">
+<head>
+ <meta charset="utf-8">
+ <title>jQuery UI Draggable - Handles</title>
+ <link rel="stylesheet" href="../../themes/base/jquery.ui.all.css">
+ <script src="../../jquery-1.9.1.js"></script>
+ <script src="../../ui/jquery.ui.core.js"></script>
+ <script src="../../ui/jquery.ui.widget.js"></script>
+ <script src="../../ui/jquery.ui.mouse.js"></script>
+ <script src="../../ui/jquery.ui.draggable.js"></script>
+ <link rel="stylesheet" href="../demos.css">
+ <style>
+ #draggable, #draggable2 { width: 100px; height: 100px; padding: 0.5em; float: left; margin: 0 10px 10px 0; }
+ #draggable p { cursor: move; }
+ </style>
+ <script>
+ $(function() {
+ $( "#draggable" ).draggable({ handle: "p" });
+ $( "#draggable2" ).draggable({ cancel: "p.ui-widget-header" });
+ $( "div, p" ).disableSelection();
+ });
+ </script>
+</head>
+<body>
+
+<div id="draggable" class="ui-widget-content">
+ <p class="ui-widget-header">I can be dragged only by this handle</p>
+</div>
+
+<div id="draggable2" class="ui-widget-content">
+ <p>You can drag me around…</p>
+ <p class="ui-widget-header">…but you can't drag me by this handle.</p>
+</div>
+
+<div class="demo-description">
+<p>Allow dragging only when the cursor is over a specific part of the draggable. Use the <code>handle</code> option to specify the jQuery selector of an element (or group of elements) used to drag the object.</p>
+<p>Or prevent dragging when the cursor is over a specific element (or group of elements) within the draggable. Use the <code>cancel</code> option to specify a jQuery selector over which to "cancel" draggable functionality.</p>
+</div>
+</body>
+</html>
http://git-wip-us.apache.org/repos/asf/isis/blob/5860833e/component/viewer/wicket/jquery-ui-1.10.2.custom/development-bundle/demos/draggable/index.html
----------------------------------------------------------------------
diff --git a/component/viewer/wicket/jquery-ui-1.10.2.custom/development-bundle/demos/draggable/index.html b/component/viewer/wicket/jquery-ui-1.10.2.custom/development-bundle/demos/draggable/index.html
new file mode 100644
index 0000000..9385068
--- /dev/null
+++ b/component/viewer/wicket/jquery-ui-1.10.2.custom/development-bundle/demos/draggable/index.html
@@ -0,0 +1,24 @@
+<!doctype html>
+<html lang="en">
+<head>
+ <meta charset="utf-8">
+ <title>jQuery UI Draggable Demos</title>
+</head>
+<body>
+
+<ul>
+ <li><a href="default.html">Default functionality</a></li>
+ <li><a href="events.html">Events</a></li>
+ <li><a href="constrain-movement.html">Constrain movement</a></li>
+ <li><a href="delay-start.html">Delay start</a></li>
+ <li><a href="snap-to.html">Snap to element or grid</a></li>
+ <li><a href="scroll.html">Auto-scroll</a></li>
+ <li><a href="revert.html">Revert position</a></li>
+ <li><a href="visual-feedback.html">Visual feedback</a></li>
+ <li><a href="handle.html">Drag handle</a></li>
+ <li><a href="cursor-style.html">Cursor style</a></li>
+ <li><a href="sortable.html">Draggable + Sortable</a></li>
+</ul>
+
+</body>
+</html>
http://git-wip-us.apache.org/repos/asf/isis/blob/5860833e/component/viewer/wicket/jquery-ui-1.10.2.custom/development-bundle/demos/draggable/revert.html
----------------------------------------------------------------------
diff --git a/component/viewer/wicket/jquery-ui-1.10.2.custom/development-bundle/demos/draggable/revert.html b/component/viewer/wicket/jquery-ui-1.10.2.custom/development-bundle/demos/draggable/revert.html
new file mode 100644
index 0000000..8bedc06
--- /dev/null
+++ b/component/viewer/wicket/jquery-ui-1.10.2.custom/development-bundle/demos/draggable/revert.html
@@ -0,0 +1,37 @@
+<!doctype html>
+<html lang="en">
+<head>
+ <meta charset="utf-8">
+ <title>jQuery UI Draggable - Revert position</title>
+ <link rel="stylesheet" href="../../themes/base/jquery.ui.all.css">
+ <script src="../../jquery-1.9.1.js"></script>
+ <script src="../../ui/jquery.ui.core.js"></script>
+ <script src="../../ui/jquery.ui.widget.js"></script>
+ <script src="../../ui/jquery.ui.mouse.js"></script>
+ <script src="../../ui/jquery.ui.draggable.js"></script>
+ <link rel="stylesheet" href="../demos.css">
+ <style>
+ #draggable, #draggable2 { width: 100px; height: 100px; padding: 0.5em; float: left; margin: 0 10px 10px 0; }
+ </style>
+ <script>
+ $(function() {
+ $( "#draggable" ).draggable({ revert: true });
+ $( "#draggable2" ).draggable({ revert: true, helper: "clone" });
+ });
+ </script>
+</head>
+<body>
+
+<div id="draggable" class="ui-widget-content">
+ <p>Revert the original</p>
+</div>
+
+<div id="draggable2" class="ui-widget-content">
+ <p>Revert the helper</p>
+</div>
+
+<div class="demo-description">
+<p>Return the draggable (or it's helper) to its original location when dragging stops with the boolean <code>revert</code> option.</p>
+</div>
+</body>
+</html>
http://git-wip-us.apache.org/repos/asf/isis/blob/5860833e/component/viewer/wicket/jquery-ui-1.10.2.custom/development-bundle/demos/draggable/scroll.html
----------------------------------------------------------------------
diff --git a/component/viewer/wicket/jquery-ui-1.10.2.custom/development-bundle/demos/draggable/scroll.html b/component/viewer/wicket/jquery-ui-1.10.2.custom/development-bundle/demos/draggable/scroll.html
new file mode 100644
index 0000000..60737d3
--- /dev/null
+++ b/component/viewer/wicket/jquery-ui-1.10.2.custom/development-bundle/demos/draggable/scroll.html
@@ -0,0 +1,44 @@
+<!doctype html>
+<html lang="en">
+<head>
+ <meta charset="utf-8">
+ <title>jQuery UI Draggable - Auto-scroll</title>
+ <link rel="stylesheet" href="../../themes/base/jquery.ui.all.css">
+ <script src="../../jquery-1.9.1.js"></script>
+ <script src="../../ui/jquery.ui.core.js"></script>
+ <script src="../../ui/jquery.ui.widget.js"></script>
+ <script src="../../ui/jquery.ui.mouse.js"></script>
+ <script src="../../ui/jquery.ui.draggable.js"></script>
+ <link rel="stylesheet" href="../demos.css">
+ <style>
+ #draggable, #draggable2, #draggable3 { width: 100px; height: 100px; padding: 0.5em; float: left; margin: 0 10px 10px 0; }
+ </style>
+ <script>
+ $(function() {
+ $( "#draggable" ).draggable({ scroll: true });
+ $( "#draggable2" ).draggable({ scroll: true, scrollSensitivity: 100 });
+ $( "#draggable3" ).draggable({ scroll: true, scrollSpeed: 100 });
+ });
+ </script>
+</head>
+<body>
+
+<div id="draggable" class="ui-widget-content">
+ <p>Scroll set to true, default settings</p>
+</div>
+
+<div id="draggable2" class="ui-widget-content">
+ <p>scrollSensitivity set to 100</p>
+</div>
+
+<div id="draggable3" class="ui-widget-content">
+ <p>scrollSpeed set to 100</p>
+</div>
+
+<div style='height: 5000px; width: 1px;'></div>
+
+<div class="demo-description">
+<p>Automatically scroll the document when the draggable is moved beyond the viewport. Set the <code>scroll</code> option to true to enable auto-scrolling, and fine-tune when scrolling is triggered and its speed with the <code>scrollSensitivity</code> and <code>scrollSpeed</code> options.</p>
+</div>
+</body>
+</html>
http://git-wip-us.apache.org/repos/asf/isis/blob/5860833e/component/viewer/wicket/jquery-ui-1.10.2.custom/development-bundle/demos/draggable/snap-to.html
----------------------------------------------------------------------
diff --git a/component/viewer/wicket/jquery-ui-1.10.2.custom/development-bundle/demos/draggable/snap-to.html b/component/viewer/wicket/jquery-ui-1.10.2.custom/development-bundle/demos/draggable/snap-to.html
new file mode 100644
index 0000000..efa6665
--- /dev/null
+++ b/component/viewer/wicket/jquery-ui-1.10.2.custom/development-bundle/demos/draggable/snap-to.html
@@ -0,0 +1,61 @@
+<!doctype html>
+<html lang="en">
+<head>
+ <meta charset="utf-8">
+ <title>jQuery UI Draggable - Snap to element or grid</title>
+ <link rel="stylesheet" href="../../themes/base/jquery.ui.all.css">
+ <script src="../../jquery-1.9.1.js"></script>
+ <script src="../../ui/jquery.ui.core.js"></script>
+ <script src="../../ui/jquery.ui.widget.js"></script>
+ <script src="../../ui/jquery.ui.mouse.js"></script>
+ <script src="../../ui/jquery.ui.draggable.js"></script>
+ <link rel="stylesheet" href="../demos.css">
+ <style>
+ .draggable { width: 90px; height: 80px; padding: 5px; float: left; margin: 0 10px 10px 0; font-size: .9em; }
+ .ui-widget-header p, .ui-widget-content p { margin: 0; }
+ #snaptarget { height: 140px; }
+ </style>
+ <script>
+ $(function() {
+ $( "#draggable" ).draggable({ snap: true });
+ $( "#draggable2" ).draggable({ snap: ".ui-widget-header" });
+ $( "#draggable3" ).draggable({ snap: ".ui-widget-header", snapMode: "outer" });
+ $( "#draggable4" ).draggable({ grid: [ 20,20 ] });
+ $( "#draggable5" ).draggable({ grid: [ 80, 80 ] });
+ });
+ </script>
+</head>
+<body>
+
+<div id="snaptarget" class="ui-widget-header">
+ <p>I'm a snap target</p>
+</div>
+
+<br style="clear:both" />
+
+<div id="draggable" class="draggable ui-widget-content">
+ <p>Default (snap: true), snaps to all other draggable elements</p>
+</div>
+
+<div id="draggable2" class="draggable ui-widget-content">
+ <p>I only snap to the big box</p>
+</div>
+
+<div id="draggable3" class="draggable ui-widget-content">
+ <p>I only snap to the outer edges of the big box</p>
+</div>
+
+<div id="draggable4" class="draggable ui-widget-content">
+ <p>I snap to a 20 x 20 grid</p>
+</div>
+
+<div id="draggable5" class="draggable ui-widget-content">
+ <p>I snap to a 80 x 80 grid</p>
+</div>
+
+<div class="demo-description">
+<p>Snap the draggable to the inner or outer boundaries of a DOM element. Use the <code>snap</code>, <code>snapMode</code> (inner, outer, both), and <code>snapTolerance</code> (distance in pixels the draggable must be from the element when snapping is invoked) options. </p>
+<p>Or snap the draggable to a grid. Set the dimensions of grid cells (height and width in pixels) with the <code>grid</code> option.</p>
+</div>
+</body>
+</html>
http://git-wip-us.apache.org/repos/asf/isis/blob/5860833e/component/viewer/wicket/jquery-ui-1.10.2.custom/development-bundle/demos/draggable/sortable.html
----------------------------------------------------------------------
diff --git a/component/viewer/wicket/jquery-ui-1.10.2.custom/development-bundle/demos/draggable/sortable.html b/component/viewer/wicket/jquery-ui-1.10.2.custom/development-bundle/demos/draggable/sortable.html
new file mode 100644
index 0000000..5604efd
--- /dev/null
+++ b/component/viewer/wicket/jquery-ui-1.10.2.custom/development-bundle/demos/draggable/sortable.html
@@ -0,0 +1,50 @@
+<!doctype html>
+<html lang="en">
+<head>
+ <meta charset="utf-8">
+ <title>jQuery UI Draggable + Sortable</title>
+ <link rel="stylesheet" href="../../themes/base/jquery.ui.all.css">
+ <script src="../../jquery-1.9.1.js"></script>
+ <script src="../../ui/jquery.ui.core.js"></script>
+ <script src="../../ui/jquery.ui.widget.js"></script>
+ <script src="../../ui/jquery.ui.mouse.js"></script>
+ <script src="../../ui/jquery.ui.draggable.js"></script>
+ <script src="../../ui/jquery.ui.sortable.js"></script>
+ <link rel="stylesheet" href="../demos.css">
+ <style>
+ ul { list-style-type: none; margin: 0; padding: 0; margin-bottom: 10px; }
+ li { margin: 5px; padding: 5px; width: 150px; }
+ </style>
+ <script>
+ $(function() {
+ $( "#sortable" ).sortable({
+ revert: true
+ });
+ $( "#draggable" ).draggable({
+ connectToSortable: "#sortable",
+ helper: "clone",
+ revert: "invalid"
+ });
+ $( "ul, li" ).disableSelection();
+ });
+ </script>
+</head>
+<body>
+
+<ul>
+ <li id="draggable" class="ui-state-highlight">Drag me down</li>
+</ul>
+
+<ul id="sortable">
+ <li class="ui-state-default">Item 1</li>
+ <li class="ui-state-default">Item 2</li>
+ <li class="ui-state-default">Item 3</li>
+ <li class="ui-state-default">Item 4</li>
+ <li class="ui-state-default">Item 5</li>
+</ul>
+
+<div class="demo-description">
+<p>Draggables are built to interact seamlessly with <a href="http://jqueryui.com/sortable">sortables</a>.</p>
+</div>
+</body>
+</html>
http://git-wip-us.apache.org/repos/asf/isis/blob/5860833e/component/viewer/wicket/jquery-ui-1.10.2.custom/development-bundle/demos/draggable/visual-feedback.html
----------------------------------------------------------------------
diff --git a/component/viewer/wicket/jquery-ui-1.10.2.custom/development-bundle/demos/draggable/visual-feedback.html b/component/viewer/wicket/jquery-ui-1.10.2.custom/development-bundle/demos/draggable/visual-feedback.html
new file mode 100644
index 0000000..f5827c2
--- /dev/null
+++ b/component/viewer/wicket/jquery-ui-1.10.2.custom/development-bundle/demos/draggable/visual-feedback.html
@@ -0,0 +1,70 @@
+<!doctype html>
+<html lang="en">
+<head>
+ <meta charset="utf-8">
+ <title>jQuery UI Draggable - Visual feedback</title>
+ <link rel="stylesheet" href="../../themes/base/jquery.ui.all.css">
+ <script src="../../jquery-1.9.1.js"></script>
+ <script src="../../ui/jquery.ui.core.js"></script>
+ <script src="../../ui/jquery.ui.widget.js"></script>
+ <script src="../../ui/jquery.ui.mouse.js"></script>
+ <script src="../../ui/jquery.ui.draggable.js"></script>
+ <link rel="stylesheet" href="../demos.css">
+ <style>
+ #draggable, #draggable2, #draggable3, #set div { width: 90px; height: 90px; padding: 0.5em; float: left; margin: 0 10px 10px 0; }
+ #draggable, #draggable2, #draggable3 { margin-bottom:20px; }
+ #set { clear:both; float:left; width: 368px; height: 120px; }
+ p { clear:both; margin:0; padding:1em 0; }
+ </style>
+ <script>
+ $(function() {
+ $( "#draggable" ).draggable({ helper: "original" });
+ $( "#draggable2" ).draggable({ opacity: 0.7, helper: "clone" });
+ $( "#draggable3" ).draggable({
+ cursor: "move",
+ cursorAt: { top: -12, left: -20 },
+ helper: function( event ) {
+ return $( "<div class='ui-widget-header'>I'm a custom helper</div>" );
+ }
+ });
+ $( "#set div" ).draggable({ stack: "#set div" });
+ });
+ </script>
+</head>
+<body>
+
+<h3 class="docs">With helpers:</h3>
+
+<div id="draggable" class="ui-widget-content">
+ <p>Original</p>
+</div>
+
+<div id="draggable2" class="ui-widget-content">
+ <p>Semi-transparent clone</p>
+</div>
+
+<div id="draggable3" class="ui-widget-content">
+ <p>Custom helper (in combination with cursorAt)</p>
+</div>
+
+<h3 class="docs">Stacked:</h3>
+<div id="set">
+ <div class="ui-widget-content">
+ <p>We are draggables..</p>
+ </div>
+
+ <div class="ui-widget-content">
+ <p>..whose z-indexes are controlled automatically..</p>
+ </div>
+
+ <div class="ui-widget-content">
+ <p>..with the stack option.</p>
+ </div>
+</div>
+
+<div class="demo-description">
+<p>Provide feedback to users as they drag an object in the form of a helper. The <code>helper</code> 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 <code>opacity</code> option.</p>
+<p>To clarify which draggable is in play, bring the draggable in motion to front. Use the <code>zIndex</code> option to set a higher z-index for the helper, if in play, or use the <code>stack</code> option to ensure that the last item dragged will appear on top of others in the same group on drag stop.</p>
+</div>
+</body>
+</html>
http://git-wip-us.apache.org/repos/asf/isis/blob/5860833e/component/viewer/wicket/jquery-ui-1.10.2.custom/development-bundle/demos/droppable/accepted-elements.html
----------------------------------------------------------------------
diff --git a/component/viewer/wicket/jquery-ui-1.10.2.custom/development-bundle/demos/droppable/accepted-elements.html b/component/viewer/wicket/jquery-ui-1.10.2.custom/development-bundle/demos/droppable/accepted-elements.html
new file mode 100644
index 0000000..c291b5b
--- /dev/null
+++ b/component/viewer/wicket/jquery-ui-1.10.2.custom/development-bundle/demos/droppable/accepted-elements.html
@@ -0,0 +1,53 @@
+<!doctype html>
+<html lang="en">
+<head>
+ <meta charset="utf-8">
+ <title>jQuery UI Droppable - Accept</title>
+ <link rel="stylesheet" href="../../themes/base/jquery.ui.all.css">
+ <script src="../../jquery-1.9.1.js"></script>
+ <script src="../../ui/jquery.ui.core.js"></script>
+ <script src="../../ui/jquery.ui.widget.js"></script>
+ <script src="../../ui/jquery.ui.mouse.js"></script>
+ <script src="../../ui/jquery.ui.draggable.js"></script>
+ <script src="../../ui/jquery.ui.droppable.js"></script>
+ <link rel="stylesheet" href="../demos.css">
+ <style>
+ #droppable { width: 150px; height: 150px; padding: 0.5em; float: left; margin: 10px; }
+ #draggable, #draggable-nonvalid { width: 100px; height: 100px; padding: 0.5em; float: left; margin: 10px 10px 10px 0; }
+ </style>
+ <script>
+ $(function() {
+ $( "#draggable, #draggable-nonvalid" ).draggable();
+ $( "#droppable" ).droppable({
+ accept: "#draggable",
+ activeClass: "ui-state-hover",
+ hoverClass: "ui-state-active",
+ drop: function( event, ui ) {
+ $( this )
+ .addClass( "ui-state-highlight" )
+ .find( "p" )
+ .html( "Dropped!" );
+ }
+ });
+ });
+ </script>
+</head>
+<body>
+
+<div id="draggable-nonvalid" class="ui-widget-content">
+ <p>I'm draggable but can't be dropped</p>
+</div>
+
+<div id="draggable" class="ui-widget-content">
+ <p>Drag me to my target</p>
+</div>
+
+<div id="droppable" class="ui-widget-header">
+ <p>accept: '#draggable'</p>
+</div>
+
+<div class="demo-description">
+<p>Specify using the <code>accept</code> option which element (or group of elements) is accepted by the target droppable.</p>
+</div>
+</body>
+</html>
http://git-wip-us.apache.org/repos/asf/isis/blob/5860833e/component/viewer/wicket/jquery-ui-1.10.2.custom/development-bundle/demos/droppable/default.html
----------------------------------------------------------------------
diff --git a/component/viewer/wicket/jquery-ui-1.10.2.custom/development-bundle/demos/droppable/default.html b/component/viewer/wicket/jquery-ui-1.10.2.custom/development-bundle/demos/droppable/default.html
new file mode 100644
index 0000000..d9b7d61
--- /dev/null
+++ b/component/viewer/wicket/jquery-ui-1.10.2.custom/development-bundle/demos/droppable/default.html
@@ -0,0 +1,46 @@
+<!doctype html>
+<html lang="en">
+<head>
+ <meta charset="utf-8">
+ <title>jQuery UI Droppable - Default functionality</title>
+ <link rel="stylesheet" href="../../themes/base/jquery.ui.all.css">
+ <script src="../../jquery-1.9.1.js"></script>
+ <script src="../../ui/jquery.ui.core.js"></script>
+ <script src="../../ui/jquery.ui.widget.js"></script>
+ <script src="../../ui/jquery.ui.mouse.js"></script>
+ <script src="../../ui/jquery.ui.draggable.js"></script>
+ <script src="../../ui/jquery.ui.droppable.js"></script>
+ <link rel="stylesheet" href="../demos.css">
+ <style>
+ #draggable { width: 100px; height: 100px; padding: 0.5em; float: left; margin: 10px 10px 10px 0; }
+ #droppable { width: 150px; height: 150px; padding: 0.5em; float: left; margin: 10px; }
+ </style>
+ <script>
+ $(function() {
+ $( "#draggable" ).draggable();
+ $( "#droppable" ).droppable({
+ drop: function( event, ui ) {
+ $( this )
+ .addClass( "ui-state-highlight" )
+ .find( "p" )
+ .html( "Dropped!" );
+ }
+ });
+ });
+ </script>
+</head>
+<body>
+
+<div id="draggable" class="ui-widget-content">
+ <p>Drag me to my target</p>
+</div>
+
+<div id="droppable" class="ui-widget-header">
+ <p>Drop here</p>
+</div>
+
+<div class="demo-description">
+<p>Enable any DOM element to be droppable, a target for draggable elements.</p>
+</div>
+</body>
+</html>
http://git-wip-us.apache.org/repos/asf/isis/blob/5860833e/component/viewer/wicket/jquery-ui-1.10.2.custom/development-bundle/demos/droppable/images/high_tatras.jpg
----------------------------------------------------------------------
diff --git a/component/viewer/wicket/jquery-ui-1.10.2.custom/development-bundle/demos/droppable/images/high_tatras.jpg b/component/viewer/wicket/jquery-ui-1.10.2.custom/development-bundle/demos/droppable/images/high_tatras.jpg
new file mode 100644
index 0000000..5723680
Binary files /dev/null and b/component/viewer/wicket/jquery-ui-1.10.2.custom/development-bundle/demos/droppable/images/high_tatras.jpg differ
http://git-wip-us.apache.org/repos/asf/isis/blob/5860833e/component/viewer/wicket/jquery-ui-1.10.2.custom/development-bundle/demos/droppable/images/high_tatras2.jpg
----------------------------------------------------------------------
diff --git a/component/viewer/wicket/jquery-ui-1.10.2.custom/development-bundle/demos/droppable/images/high_tatras2.jpg b/component/viewer/wicket/jquery-ui-1.10.2.custom/development-bundle/demos/droppable/images/high_tatras2.jpg
new file mode 100644
index 0000000..1acad3a
Binary files /dev/null and b/component/viewer/wicket/jquery-ui-1.10.2.custom/development-bundle/demos/droppable/images/high_tatras2.jpg differ
http://git-wip-us.apache.org/repos/asf/isis/blob/5860833e/component/viewer/wicket/jquery-ui-1.10.2.custom/development-bundle/demos/droppable/images/high_tatras2_min.jpg
----------------------------------------------------------------------
diff --git a/component/viewer/wicket/jquery-ui-1.10.2.custom/development-bundle/demos/droppable/images/high_tatras2_min.jpg b/component/viewer/wicket/jquery-ui-1.10.2.custom/development-bundle/demos/droppable/images/high_tatras2_min.jpg
new file mode 100644
index 0000000..493e082
Binary files /dev/null and b/component/viewer/wicket/jquery-ui-1.10.2.custom/development-bundle/demos/droppable/images/high_tatras2_min.jpg differ
http://git-wip-us.apache.org/repos/asf/isis/blob/5860833e/component/viewer/wicket/jquery-ui-1.10.2.custom/development-bundle/demos/droppable/images/high_tatras3.jpg
----------------------------------------------------------------------
diff --git a/component/viewer/wicket/jquery-ui-1.10.2.custom/development-bundle/demos/droppable/images/high_tatras3.jpg b/component/viewer/wicket/jquery-ui-1.10.2.custom/development-bundle/demos/droppable/images/high_tatras3.jpg
new file mode 100644
index 0000000..e158b1a
Binary files /dev/null and b/component/viewer/wicket/jquery-ui-1.10.2.custom/development-bundle/demos/droppable/images/high_tatras3.jpg differ
http://git-wip-us.apache.org/repos/asf/isis/blob/5860833e/component/viewer/wicket/jquery-ui-1.10.2.custom/development-bundle/demos/droppable/images/high_tatras3_min.jpg
----------------------------------------------------------------------
diff --git a/component/viewer/wicket/jquery-ui-1.10.2.custom/development-bundle/demos/droppable/images/high_tatras3_min.jpg b/component/viewer/wicket/jquery-ui-1.10.2.custom/development-bundle/demos/droppable/images/high_tatras3_min.jpg
new file mode 100644
index 0000000..4aa96b0
Binary files /dev/null and b/component/viewer/wicket/jquery-ui-1.10.2.custom/development-bundle/demos/droppable/images/high_tatras3_min.jpg differ
http://git-wip-us.apache.org/repos/asf/isis/blob/5860833e/component/viewer/wicket/jquery-ui-1.10.2.custom/development-bundle/demos/droppable/images/high_tatras4.jpg
----------------------------------------------------------------------
diff --git a/component/viewer/wicket/jquery-ui-1.10.2.custom/development-bundle/demos/droppable/images/high_tatras4.jpg b/component/viewer/wicket/jquery-ui-1.10.2.custom/development-bundle/demos/droppable/images/high_tatras4.jpg
new file mode 100644
index 0000000..da4124d
Binary files /dev/null and b/component/viewer/wicket/jquery-ui-1.10.2.custom/development-bundle/demos/droppable/images/high_tatras4.jpg differ
http://git-wip-us.apache.org/repos/asf/isis/blob/5860833e/component/viewer/wicket/jquery-ui-1.10.2.custom/development-bundle/demos/droppable/images/high_tatras4_min.jpg
----------------------------------------------------------------------
diff --git a/component/viewer/wicket/jquery-ui-1.10.2.custom/development-bundle/demos/droppable/images/high_tatras4_min.jpg b/component/viewer/wicket/jquery-ui-1.10.2.custom/development-bundle/demos/droppable/images/high_tatras4_min.jpg
new file mode 100644
index 0000000..794dbdf
Binary files /dev/null and b/component/viewer/wicket/jquery-ui-1.10.2.custom/development-bundle/demos/droppable/images/high_tatras4_min.jpg differ
http://git-wip-us.apache.org/repos/asf/isis/blob/5860833e/component/viewer/wicket/jquery-ui-1.10.2.custom/development-bundle/demos/droppable/images/high_tatras_min.jpg
----------------------------------------------------------------------
diff --git a/component/viewer/wicket/jquery-ui-1.10.2.custom/development-bundle/demos/droppable/images/high_tatras_min.jpg b/component/viewer/wicket/jquery-ui-1.10.2.custom/development-bundle/demos/droppable/images/high_tatras_min.jpg
new file mode 100644
index 0000000..51e0cde
Binary files /dev/null and b/component/viewer/wicket/jquery-ui-1.10.2.custom/development-bundle/demos/droppable/images/high_tatras_min.jpg differ
http://git-wip-us.apache.org/repos/asf/isis/blob/5860833e/component/viewer/wicket/jquery-ui-1.10.2.custom/development-bundle/demos/droppable/index.html
----------------------------------------------------------------------
diff --git a/component/viewer/wicket/jquery-ui-1.10.2.custom/development-bundle/demos/droppable/index.html b/component/viewer/wicket/jquery-ui-1.10.2.custom/development-bundle/demos/droppable/index.html
new file mode 100644
index 0000000..deca6e4
--- /dev/null
+++ b/component/viewer/wicket/jquery-ui-1.10.2.custom/development-bundle/demos/droppable/index.html
@@ -0,0 +1,20 @@
+<!doctype html>
+<html lang="en">
+<head>
+ <meta charset="utf-8">
+ <title>jQuery UI Droppable Demos</title>
+</head>
+<body>
+
+<ul>
+ <li><a href="default.html">Default functionality</a></li>
+ <li><a href="accepted-elements.html">Accepted elements</a></li>
+ <li><a href="propagation.html">Prevent propagation</a></li>
+ <li><a href="visual-feedback.html">Visual feedback</a></li>
+ <li><a href="revert.html">Revert draggable position</a></li>
+ <li><a href="shopping-cart.html">Shopping Cart</a></li>
+ <li><a href="photo-manager.html">Simple photo manager</a></li>
+</ul>
+
+</body>
+</html>
http://git-wip-us.apache.org/repos/asf/isis/blob/5860833e/component/viewer/wicket/jquery-ui-1.10.2.custom/development-bundle/demos/droppable/photo-manager.html
----------------------------------------------------------------------
diff --git a/component/viewer/wicket/jquery-ui-1.10.2.custom/development-bundle/demos/droppable/photo-manager.html b/component/viewer/wicket/jquery-ui-1.10.2.custom/development-bundle/demos/droppable/photo-manager.html
new file mode 100644
index 0000000..54a805d
--- /dev/null
+++ b/component/viewer/wicket/jquery-ui-1.10.2.custom/development-bundle/demos/droppable/photo-manager.html
@@ -0,0 +1,182 @@
+<!doctype html>
+<html lang="en">
+<head>
+ <meta charset="utf-8">
+ <title>jQuery UI Droppable - Simple photo manager</title>
+ <link rel="stylesheet" href="../../themes/base/jquery.ui.all.css">
+ <script src="../../jquery-1.9.1.js"></script>
+ <script src="../../ui/jquery.ui.position.js"></script>
+ <script src="../../ui/jquery.ui.core.js"></script>
+ <script src="../../ui/jquery.ui.widget.js"></script>
+ <script src="../../ui/jquery.ui.mouse.js"></script>
+ <script src="../../ui/jquery.ui.draggable.js"></script>
+ <script src="../../ui/jquery.ui.droppable.js"></script>
+ <script src="../../ui/jquery.ui.resizable.js"></script>
+ <script src="../../ui/jquery.ui.dialog.js"></script>
+ <link rel="stylesheet" href="../demos.css">
+ <style>
+ #gallery { float: left; width: 65%; min-height: 12em; }
+ .gallery.custom-state-active { background: #eee; }
+ .gallery li { float: left; width: 96px; padding: 0.4em; margin: 0 0.4em 0.4em 0; text-align: center; }
+ .gallery li h5 { margin: 0 0 0.4em; cursor: move; }
+ .gallery li a { float: right; }
+ .gallery li a.ui-icon-zoomin { float: left; }
+ .gallery li img { width: 100%; cursor: move; }
+
+ #trash { float: right; width: 32%; min-height: 18em; padding: 1%; }
+ #trash h4 { line-height: 16px; margin: 0 0 0.4em; }
+ #trash h4 .ui-icon { float: left; }
+ #trash .gallery h5 { display: none; }
+ </style>
+ <script>
+ $(function() {
+ // there's the gallery and the trash
+ var $gallery = $( "#gallery" ),
+ $trash = $( "#trash" );
+
+ // let the gallery items be draggable
+ $( "li", $gallery ).draggable({
+ cancel: "a.ui-icon", // clicking an icon won't initiate dragging
+ revert: "invalid", // when not dropped, the item will revert back to its initial position
+ containment: "document",
+ helper: "clone",
+ cursor: "move"
+ });
+
+ // let the trash be droppable, accepting the gallery items
+ $trash.droppable({
+ accept: "#gallery > li",
+ activeClass: "ui-state-highlight",
+ drop: function( event, ui ) {
+ deleteImage( ui.draggable );
+ }
+ });
+
+ // let the gallery be droppable as well, accepting items from the trash
+ $gallery.droppable({
+ accept: "#trash li",
+ activeClass: "custom-state-active",
+ drop: function( event, ui ) {
+ recycleImage( ui.draggable );
+ }
+ });
+
+ // image deletion function
+ var recycle_icon = "<a href='link/to/recycle/script/when/we/have/js/off' title='Recycle this image' class='ui-icon ui-icon-refresh'>Recycle image</a>";
+ function deleteImage( $item ) {
+ $item.fadeOut(function() {
+ var $list = $( "ul", $trash ).length ?
+ $( "ul", $trash ) :
+ $( "<ul class='gallery ui-helper-reset'/>" ).appendTo( $trash );
+
+ $item.find( "a.ui-icon-trash" ).remove();
+ $item.append( recycle_icon ).appendTo( $list ).fadeIn(function() {
+ $item
+ .animate({ width: "48px" })
+ .find( "img" )
+ .animate({ height: "36px" });
+ });
+ });
+ }
+
+ // image recycle function
+ var trash_icon = "<a href='link/to/trash/script/when/we/have/js/off' title='Delete this image' class='ui-icon ui-icon-trash'>Delete image</a>";
+ function recycleImage( $item ) {
+ $item.fadeOut(function() {
+ $item
+ .find( "a.ui-icon-refresh" )
+ .remove()
+ .end()
+ .css( "width", "96px")
+ .append( trash_icon )
+ .find( "img" )
+ .css( "height", "72px" )
+ .end()
+ .appendTo( $gallery )
+ .fadeIn();
+ });
+ }
+
+ // image preview function, demonstrating the ui.dialog used as a modal window
+ function viewLargerImage( $link ) {
+ var src = $link.attr( "href" ),
+ title = $link.siblings( "img" ).attr( "alt" ),
+ $modal = $( "img[src$='" + src + "']" );
+
+ if ( $modal.length ) {
+ $modal.dialog( "open" );
+ } else {
+ var img = $( "<img alt='" + title + "' width='384' height='288' style='display: none; padding: 8px;' />" )
+ .attr( "src", src ).appendTo( "body" );
+ setTimeout(function() {
+ img.dialog({
+ title: title,
+ width: 400,
+ modal: true
+ });
+ }, 1 );
+ }
+ }
+
+ // resolve the icons behavior with event delegation
+ $( "ul.gallery > li" ).click(function( event ) {
+ var $item = $( this ),
+ $target = $( event.target );
+
+ if ( $target.is( "a.ui-icon-trash" ) ) {
+ deleteImage( $item );
+ } else if ( $target.is( "a.ui-icon-zoomin" ) ) {
+ viewLargerImage( $target );
+ } else if ( $target.is( "a.ui-icon-refresh" ) ) {
+ recycleImage( $item );
+ }
+
+ return false;
+ });
+ });
+ </script>
+</head>
+<body>
+
+<div class="ui-widget ui-helper-clearfix">
+
+<ul id="gallery" class="gallery ui-helper-reset ui-helper-clearfix">
+ <li class="ui-widget-content ui-corner-tr">
+ <h5 class="ui-widget-header">High Tatras</h5>
+ <img src="images/high_tatras_min.jpg" alt="The peaks of High Tatras" width="96" height="72" />
+ <a href="images/high_tatras.jpg" title="View larger image" class="ui-icon ui-icon-zoomin">View larger</a>
+ <a href="link/to/trash/script/when/we/have/js/off" title="Delete this image" class="ui-icon ui-icon-trash">Delete image</a>
+ </li>
+ <li class="ui-widget-content ui-corner-tr">
+ <h5 class="ui-widget-header">High Tatras 2</h5>
+ <img src="images/high_tatras2_min.jpg" alt="The chalet at the Green mountain lake" width="96" height="72" />
+ <a href="images/high_tatras2.jpg" title="View larger image" class="ui-icon ui-icon-zoomin">View larger</a>
+ <a href="link/to/trash/script/when/we/have/js/off" title="Delete this image" class="ui-icon ui-icon-trash">Delete image</a>
+ </li>
+ <li class="ui-widget-content ui-corner-tr">
+ <h5 class="ui-widget-header">High Tatras 3</h5>
+ <img src="images/high_tatras3_min.jpg" alt="Planning the ascent" width="96" height="72" />
+ <a href="images/high_tatras3.jpg" title="View larger image" class="ui-icon ui-icon-zoomin">View larger</a>
+ <a href="link/to/trash/script/when/we/have/js/off" title="Delete this image" class="ui-icon ui-icon-trash">Delete image</a>
+ </li>
+ <li class="ui-widget-content ui-corner-tr">
+ <h5 class="ui-widget-header">High Tatras 4</h5>
+ <img src="images/high_tatras4_min.jpg" alt="On top of Kozi kopka" width="96" height="72" />
+ <a href="images/high_tatras4.jpg" title="View larger image" class="ui-icon ui-icon-zoomin">View larger</a>
+ <a href="link/to/trash/script/when/we/have/js/off" title="Delete this image" class="ui-icon ui-icon-trash">Delete image</a>
+ </li>
+</ul>
+
+<div id="trash" class="ui-widget-content ui-state-default">
+ <h4 class="ui-widget-header"><span class="ui-icon ui-icon-trash">Trash</span> Trash</h4>
+</div>
+
+</div>
+
+<div class="demo-description">
+<p>You can delete an image either by dragging it to the Trash or by clicking the trash icon.</p>
+<p>You can "recycle" an image by dragging it back to the gallery or by clicking the recycle icon.</p>
+<p>You can view larger image by clicking the zoom icon. jQuery UI dialog widget is used for the modal window.</p>
+</div>
+</body>
+</html>
http://git-wip-us.apache.org/repos/asf/isis/blob/5860833e/component/viewer/wicket/jquery-ui-1.10.2.custom/development-bundle/demos/droppable/propagation.html
----------------------------------------------------------------------
diff --git a/component/viewer/wicket/jquery-ui-1.10.2.custom/development-bundle/demos/droppable/propagation.html b/component/viewer/wicket/jquery-ui-1.10.2.custom/development-bundle/demos/droppable/propagation.html
new file mode 100644
index 0000000..a116755
--- /dev/null
+++ b/component/viewer/wicket/jquery-ui-1.10.2.custom/development-bundle/demos/droppable/propagation.html
@@ -0,0 +1,73 @@
+<!doctype html>
+<html lang="en">
+<head>
+ <meta charset="utf-8">
+ <title>jQuery UI Droppable - Prevent propagation</title>
+ <link rel="stylesheet" href="../../themes/base/jquery.ui.all.css">
+ <script src="../../jquery-1.9.1.js"></script>
+ <script src="../../ui/jquery.ui.core.js"></script>
+ <script src="../../ui/jquery.ui.widget.js"></script>
+ <script src="../../ui/jquery.ui.mouse.js"></script>
+ <script src="../../ui/jquery.ui.draggable.js"></script>
+ <script src="../../ui/jquery.ui.droppable.js"></script>
+ <link rel="stylesheet" href="../demos.css">
+ <style>
+ #draggable { width: 100px; height: 40px; padding: 0.5em; float: left; margin: 10px 10px 10px 0; }
+ #droppable, #droppable2 { width: 230px; height: 120px; padding: 0.5em; float: left; margin: 10px; }
+ #droppable-inner, #droppable2-inner { width: 170px; height: 60px; padding: 0.5em; float: left; margin: 10px; }
+ </style>
+ <script>
+ $(function() {
+ $( "#draggable" ).draggable();
+
+ $( "#droppable, #droppable-inner" ).droppable({
+ activeClass: "ui-state-hover",
+ hoverClass: "ui-state-active",
+ drop: function( event, ui ) {
+ $( this )
+ .addClass( "ui-state-highlight" )
+ .find( "> p" )
+ .html( "Dropped!" );
+ return false;
+ }
+ });
+
+ $( "#droppable2, #droppable2-inner" ).droppable({
+ greedy: true,
+ activeClass: "ui-state-hover",
+ hoverClass: "ui-state-active",
+ drop: function( event, ui ) {
+ $( this )
+ .addClass( "ui-state-highlight" )
+ .find( "> p" )
+ .html( "Dropped!" );
+ }
+ });
+ });
+ </script>
+</head>
+<body>
+
+<div id="draggable" class="ui-widget-content">
+ <p>Drag me to my target</p>
+</div>
+
+<div id="droppable" class="ui-widget-header">
+ <p>Outer droppable</p>
+ <div id="droppable-inner" class="ui-widget-header">
+ <p>Inner droppable (not greedy)</p>
+ </div>
+</div>
+
+<div id="droppable2" class="ui-widget-header">
+ <p>Outer droppable</p>
+ <div id="droppable2-inner" class="ui-widget-header">
+ <p>Inner droppable (greedy)</p>
+ </div>
+</div>
+
+<div class="demo-description">
+<p>When working with nested droppables — for example, you may have an editable directory structure displayed as a tree, with folder and document nodes — the <code>greedy</code> option set to true prevents event propagation when a draggable is dropped on a child node (droppable).</p>
+</div>
+</body>
+</html>
http://git-wip-us.apache.org/repos/asf/isis/blob/5860833e/component/viewer/wicket/jquery-ui-1.10.2.custom/development-bundle/demos/droppable/revert.html
----------------------------------------------------------------------
diff --git a/component/viewer/wicket/jquery-ui-1.10.2.custom/development-bundle/demos/droppable/revert.html b/component/viewer/wicket/jquery-ui-1.10.2.custom/development-bundle/demos/droppable/revert.html
new file mode 100644
index 0000000..2c2fb2c
--- /dev/null
+++ b/component/viewer/wicket/jquery-ui-1.10.2.custom/development-bundle/demos/droppable/revert.html
@@ -0,0 +1,54 @@
+<!doctype html>
+<html lang="en">
+<head>
+ <meta charset="utf-8">
+ <title>jQuery UI Droppable - Revert draggable position</title>
+ <link rel="stylesheet" href="../../themes/base/jquery.ui.all.css">
+ <script src="../../jquery-1.9.1.js"></script>
+ <script src="../../ui/jquery.ui.core.js"></script>
+ <script src="../../ui/jquery.ui.widget.js"></script>
+ <script src="../../ui/jquery.ui.mouse.js"></script>
+ <script src="../../ui/jquery.ui.draggable.js"></script>
+ <script src="../../ui/jquery.ui.droppable.js"></script>
+ <link rel="stylesheet" href="../demos.css">
+ <style>
+ #draggable, #draggable2 { width: 100px; height: 100px; padding: 0.5em; float: left; margin: 10px 10px 10px 0; }
+ #droppable { width: 150px; height: 150px; padding: 0.5em; float: left; margin: 10px; }
+ </style>
+ <script>
+ $(function() {
+ $( "#draggable" ).draggable({ revert: "valid" });
+ $( "#draggable2" ).draggable({ revert: "invalid" });
+
+ $( "#droppable" ).droppable({
+ activeClass: "ui-state-hover",
+ hoverClass: "ui-state-active",
+ drop: function( event, ui ) {
+ $( this )
+ .addClass( "ui-state-highlight" )
+ .find( "p" )
+ .html( "Dropped!" );
+ }
+ });
+ });
+ </script>
+</head>
+<body>
+
+<div id="draggable" class="ui-widget-content">
+ <p>I revert when I'm dropped</p>
+</div>
+
+<div id="draggable2" class="ui-widget-content">
+ <p>I revert when I'm not dropped</p>
+</div>
+
+<div id="droppable" class="ui-widget-header">
+ <p>Drop me here</p>
+</div>
+
+<div class="demo-description">
+<p>Return the draggable (or it's helper) to its original location when dragging stops with the boolean <code>revert</code> option set on the draggable.</p>
+</div>
+</body>
+</html>
http://git-wip-us.apache.org/repos/asf/isis/blob/5860833e/component/viewer/wicket/jquery-ui-1.10.2.custom/development-bundle/demos/droppable/shopping-cart.html
----------------------------------------------------------------------
diff --git a/component/viewer/wicket/jquery-ui-1.10.2.custom/development-bundle/demos/droppable/shopping-cart.html b/component/viewer/wicket/jquery-ui-1.10.2.custom/development-bundle/demos/droppable/shopping-cart.html
new file mode 100644
index 0000000..fe7d636
--- /dev/null
+++ b/component/viewer/wicket/jquery-ui-1.10.2.custom/development-bundle/demos/droppable/shopping-cart.html
@@ -0,0 +1,94 @@
+<!doctype html>
+<html lang="en">
+<head>
+ <meta charset="utf-8">
+ <title>jQuery UI Droppable - Shopping Cart Demo</title>
+ <link rel="stylesheet" href="../../themes/base/jquery.ui.all.css">
+ <script src="../../jquery-1.9.1.js"></script>
+ <script src="../../ui/jquery.ui.core.js"></script>
+ <script src="../../ui/jquery.ui.widget.js"></script>
+ <script src="../../ui/jquery.ui.mouse.js"></script>
+ <script src="../../ui/jquery.ui.draggable.js"></script>
+ <script src="../../ui/jquery.ui.droppable.js"></script>
+ <script src="../../ui/jquery.ui.sortable.js"></script>
+ <script src="../../ui/jquery.ui.accordion.js"></script>
+ <link rel="stylesheet" href="../demos.css">
+ <style>
+ h1 { padding: .2em; margin: 0; }
+ #products { float:left; width: 500px; margin-right: 2em; }
+ #cart { width: 200px; float: left; margin-top: 1em; }
+ /* style the list to maximize the droppable hitarea */
+ #cart ol { margin: 0; padding: 1em 0 1em 3em; }
+ </style>
+ <script>
+ $(function() {
+ $( "#catalog" ).accordion();
+ $( "#catalog li" ).draggable({
+ appendTo: "body",
+ helper: "clone"
+ });
+ $( "#cart ol" ).droppable({
+ activeClass: "ui-state-default",
+ hoverClass: "ui-state-hover",
+ accept: ":not(.ui-sortable-helper)",
+ drop: function( event, ui ) {
+ $( this ).find( ".placeholder" ).remove();
+ $( "<li></li>" ).text( ui.draggable.text() ).appendTo( this );
+ }
+ }).sortable({
+ items: "li:not(.placeholder)",
+ sort: function() {
+ // gets added unintentionally by droppable interacting with sortable
+ // using connectWithSortable fixes this, but doesn't allow you to customize active/hoverClass options
+ $( this ).removeClass( "ui-state-default" );
+ }
+ });
+ });
+ </script>
+</head>
+<body>
+
+<div id="products">
+ <h1 class="ui-widget-header">Products</h1>
+ <div id="catalog">
+ <h2><a href="#">T-Shirts</a></h2>
+ <div>
+ <ul>
+ <li>Lolcat Shirt</li>
+ <li>Cheezeburger Shirt</li>
+ <li>Buckit Shirt</li>
+ </ul>
+ </div>
+ <h2><a href="#">Bags</a></h2>
+ <div>
+ <ul>
+ <li>Zebra Striped</li>
+ <li>Black Leather</li>
+ <li>Alligator Leather</li>
+ </ul>
+ </div>
+ <h2><a href="#">Gadgets</a></h2>
+ <div>
+ <ul>
+ <li>iPhone</li>
+ <li>iPod</li>
+ <li>iPad</li>
+ </ul>
+ </div>
+ </div>
+</div>
+
+<div id="cart">
+ <h1 class="ui-widget-header">Shopping Cart</h1>
+ <div class="ui-widget-content">
+ <ol>
+ <li class="placeholder">Add your items here</li>
+ </ol>
+ </div>
+</div>
+
+<div class="demo-description">
+<p>Demonstrate how to use an accordion to structure products into a catalog and make use of drag and drop for adding them to a shopping cart, where they are sortable.</p>
+</div>
+</body>
+</html>
http://git-wip-us.apache.org/repos/asf/isis/blob/5860833e/component/viewer/wicket/jquery-ui-1.10.2.custom/development-bundle/demos/droppable/visual-feedback.html
----------------------------------------------------------------------
diff --git a/component/viewer/wicket/jquery-ui-1.10.2.custom/development-bundle/demos/droppable/visual-feedback.html b/component/viewer/wicket/jquery-ui-1.10.2.custom/development-bundle/demos/droppable/visual-feedback.html
new file mode 100644
index 0000000..06b8325
--- /dev/null
+++ b/component/viewer/wicket/jquery-ui-1.10.2.custom/development-bundle/demos/droppable/visual-feedback.html
@@ -0,0 +1,72 @@
+<!doctype html>
+<html lang="en">
+<head>
+ <meta charset="utf-8">
+ <title>jQuery UI Droppable - Visual feedback</title>
+ <link rel="stylesheet" href="../../themes/base/jquery.ui.all.css">
+ <script src="../../jquery-1.9.1.js"></script>
+ <script src="../../ui/jquery.ui.core.js"></script>
+ <script src="../../ui/jquery.ui.widget.js"></script>
+ <script src="../../ui/jquery.ui.mouse.js"></script>
+ <script src="../../ui/jquery.ui.draggable.js"></script>
+ <script src="../../ui/jquery.ui.droppable.js"></script>
+ <link rel="stylesheet" href="../demos.css">
+ <style>
+ #draggable, #draggable2 { width: 90px; height: 90px; padding: 0.5em; float: left; margin: 10px 10px 10px 0; }
+ #droppable, #droppable2 { width: 120px; height: 120px; padding: 0.5em; float: left; margin: 10px; }
+ h3 { clear: left; }
+ </style>
+ <script>
+ $(function() {
+ $( "#draggable" ).draggable();
+ $( "#droppable" ).droppable({
+ hoverClass: "ui-state-active",
+ drop: function( event, ui ) {
+ $( this )
+ .addClass( "ui-state-highlight" )
+ .find( "p" )
+ .html( "Dropped!" );
+ }
+ });
+
+ $( "#draggable2" ).draggable();
+ $( "#droppable2" ).droppable({
+ accept: "#draggable2",
+ activeClass: "ui-state-hover",
+ drop: function( event, ui ) {
+ $( this )
+ .addClass( "ui-state-highlight" )
+ .find( "p" )
+ .html( "Dropped!" );
+ }
+ });
+ });
+ </script>
+</head>
+<body>
+
+<h3>Feedback on hover:</h3>
+
+<div id="draggable" class="ui-widget-content">
+ <p>Drag me to my target</p>
+</div>
+
+<div id="droppable" class="ui-widget-header">
+ <p>Drop here</p>
+</div>
+
+<h3>Feedback on activating draggable:</h3>
+
+<div id="draggable2" class="ui-widget-content">
+ <p>Drag me to my target</p>
+</div>
+
+<div id="droppable2" class="ui-widget-header">
+ <p>Drop here</p>
+</div>
+
+<div class="demo-description">
+<p>Change the droppable's appearance on hover, or when the droppable is active (an acceptable draggable is dropped on it). Use the <code>hoverClass</code> or <code>activeClass</code> options to specify respective classes.</p>
+</div>
+</body>
+</html>
http://git-wip-us.apache.org/repos/asf/isis/blob/5860833e/component/viewer/wicket/jquery-ui-1.10.2.custom/development-bundle/demos/effect/default.html
----------------------------------------------------------------------
diff --git a/component/viewer/wicket/jquery-ui-1.10.2.custom/development-bundle/demos/effect/default.html b/component/viewer/wicket/jquery-ui-1.10.2.custom/development-bundle/demos/effect/default.html
new file mode 100644
index 0000000..7c3d05f
--- /dev/null
+++ b/component/viewer/wicket/jquery-ui-1.10.2.custom/development-bundle/demos/effect/default.html
@@ -0,0 +1,102 @@
+<!doctype html>
+<html lang="en">
+<head>
+ <meta charset="utf-8">
+ <title>jQuery UI Effects - Effect demo</title>
+ <link rel="stylesheet" href="../../themes/base/jquery.ui.all.css">
+ <script src="../../jquery-1.9.1.js"></script>
+ <script src="../../ui/jquery.ui.effect.js"></script>
+ <script src="../../ui/jquery.ui.effect-blind.js"></script>
+ <script src="../../ui/jquery.ui.effect-bounce.js"></script>
+ <script src="../../ui/jquery.ui.effect-clip.js"></script>
+ <script src="../../ui/jquery.ui.effect-drop.js"></script>
+ <script src="../../ui/jquery.ui.effect-explode.js"></script>
+ <script src="../../ui/jquery.ui.effect-fade.js"></script>
+ <script src="../../ui/jquery.ui.effect-fold.js"></script>
+ <script src="../../ui/jquery.ui.effect-highlight.js"></script>
+ <script src="../../ui/jquery.ui.effect-pulsate.js"></script>
+ <script src="../../ui/jquery.ui.effect-scale.js"></script>
+ <script src="../../ui/jquery.ui.effect-shake.js"></script>
+ <script src="../../ui/jquery.ui.effect-slide.js"></script>
+ <script src="../../ui/jquery.ui.effect-transfer.js"></script>
+ <link rel="stylesheet" href="../demos.css">
+ <style>
+ .toggler { width: 500px; height: 200px; position: relative; }
+ #button { padding: .5em 1em; text-decoration: none; }
+ #effect { width: 240px; height: 135px; padding: 0.4em; position: relative; }
+ #effect h3 { margin: 0; padding: 0.4em; text-align: center; }
+ .ui-effects-transfer { border: 2px dotted gray; }
+ </style>
+ <script>
+ $(function() {
+ // run the currently selected effect
+ function runEffect() {
+ // get effect type from
+ var selectedEffect = $( "#effectTypes" ).val();
+
+ // most effect types need no options passed by default
+ var options = {};
+ // some effects have required parameters
+ if ( selectedEffect === "scale" ) {
+ options = { percent: 0 };
+ } else if ( selectedEffect === "transfer" ) {
+ options = { to: "#button", className: "ui-effects-transfer" };
+ } else if ( selectedEffect === "size" ) {
+ options = { to: { width: 200, height: 60 } };
+ }
+
+ // run the effect
+ $( "#effect" ).effect( selectedEffect, options, 500, callback );
+ };
+
+ // callback function to bring a hidden box back
+ function callback() {
+ setTimeout(function() {
+ $( "#effect" ).removeAttr( "style" ).hide().fadeIn();
+ }, 1000 );
+ };
+
+ // set effect from select menu value
+ $( "#button" ).click(function() {
+ runEffect();
+ return false;
+ });
+ });
+ </script>
+</head>
+<body>
+
+<div class="toggler">
+ <div id="effect" class="ui-widget-content ui-corner-all">
+ <h3 class="ui-widget-header ui-corner-all">Effect</h3>
+ <p>
+ Etiam libero neque, luctus a, eleifend nec, semper at, lorem. Sed pede. Nulla lorem metus, adipiscing ut, luctus sed, hendrerit vitae, mi.
+ </p>
+ </div>
+</div>
+
+<select name="effects" id="effectTypes">
+ <option value="blind">Blind</option>
+ <option value="bounce">Bounce</option>
+ <option value="clip">Clip</option>
+ <option value="drop">Drop</option>
+ <option value="explode">Explode</option>
+ <option value="fade">Fade</option>
+ <option value="fold">Fold</option>
+ <option value="highlight">Highlight</option>
+ <option value="puff">Puff</option>
+ <option value="pulsate">Pulsate</option>
+ <option value="scale">Scale</option>
+ <option value="shake">Shake</option>
+ <option value="size">Size</option>
+ <option value="slide">Slide</option>
+ <option value="transfer">Transfer</option>
+</select>
+
+<a href="#" id="button" class="ui-state-default ui-corner-all">Run Effect</a>
+
+<div class="demo-description">
+<p>Click the button above to show the effect.</p>
+</div>
+</body>
+</html>
http://git-wip-us.apache.org/repos/asf/isis/blob/5860833e/component/viewer/wicket/jquery-ui-1.10.2.custom/development-bundle/demos/effect/easing.html
----------------------------------------------------------------------
diff --git a/component/viewer/wicket/jquery-ui-1.10.2.custom/development-bundle/demos/effect/easing.html b/component/viewer/wicket/jquery-ui-1.10.2.custom/development-bundle/demos/effect/easing.html
new file mode 100644
index 0000000..819351e
--- /dev/null
+++ b/component/viewer/wicket/jquery-ui-1.10.2.custom/development-bundle/demos/effect/easing.html
@@ -0,0 +1,102 @@
+<!doctype html>
+<html lang="en">
+<head>
+ <meta charset="utf-8">
+ <title>jQuery UI Effects - Easing demo</title>
+ <link rel="stylesheet" href="../../themes/base/jquery.ui.all.css">
+ <script src="../../jquery-1.9.1.js"></script>
+ <script src="../../ui/jquery.ui.effect.js"></script>
+ <link rel="stylesheet" href="../demos.css">
+ <style>
+ .graph {
+ float: left;
+ margin-left: 10px;
+ }
+ </style>
+ <script>
+ $(function() {
+ if ( !$( "<canvas>" )[0].getContext ) {
+ $( "<div>" ).text(
+ "Your browser doesn't support canvas, which is required for this demo."
+ ).appendTo( "#graphs" );
+ return;
+ }
+
+ var i = 0,
+ width = 100,
+ height = 100;
+
+ $.each( $.easing, function( name, impl ) {
+ var graph = $( "<div>" ).addClass( "graph" ).appendTo( "#graphs" ),
+ text = $( "<div>" ).text( ++i + ". " + name ).appendTo( graph ),
+ wrap = $( "<div>" ).appendTo( graph ).css( 'overflow', 'hidden' ),
+ canvas = $( "<canvas>" ).appendTo( wrap )[ 0 ];
+
+ canvas.width = width;
+ canvas.height = height;
+ var drawHeight = height * 0.8,
+ cradius = 10;
+ ctx = canvas.getContext( "2d" );
+ ctx.fillStyle = "black";
+
+ // draw background
+ ctx.beginPath();
+ ctx.moveTo( cradius, 0 );
+ ctx.quadraticCurveTo( 0, 0, 0, cradius );
+ ctx.lineTo( 0, height - cradius );
+ ctx.quadraticCurveTo( 0, height, cradius, height );
+ ctx.lineTo( width - cradius, height );
+ ctx.quadraticCurveTo( width, height, width, height - cradius );
+ ctx.lineTo( width, 0 );
+ ctx.lineTo( cradius, 0 );
+ ctx.fill();
+
+ // draw bottom line
+ ctx.strokeStyle = "#555";
+ ctx.beginPath();
+ ctx.moveTo( width * 0.1, drawHeight + .5 );
+ ctx.lineTo( width * 0.9, drawHeight + .5 );
+ ctx.stroke();
+
+ // draw top line
+ ctx.strokeStyle = "#555";
+ ctx.beginPath();
+ ctx.moveTo( width * 0.1, drawHeight * .3 - .5 );
+ ctx.lineTo( width * 0.9, drawHeight * .3 - .5 );
+ ctx.stroke();
+
+ // plot easing
+ ctx.strokeStyle = "white";
+ ctx.beginPath();
+ ctx.lineWidth = 2;
+ ctx.moveTo( width * 0.1, drawHeight );
+ $.each( new Array( width ), function( position ) {
+ var state = position / width,
+ val = impl( state, position, 0, 1, width );
+ ctx.lineTo( position * 0.8 + width * 0.1,
+ drawHeight - drawHeight * val * 0.7 );
+ });
+ ctx.stroke();
+
+ // animate on click
+ graph.click(function() {
+ wrap
+ .animate( { height: "hide" }, 2000, name )
+ .delay( 800 )
+ .animate( { height: "show" }, 2000, name );
+ });
+
+ graph.width( width ).height( height + text.height() + 10 );
+ });
+ });
+ </script>
+</head>
+<body>
+
+<div id="graphs"></div>
+
+<div class="demo-description">
+<p><strong>All easings provided by jQuery UI are drawn above, using a HTML canvas element</strong>. Click a diagram to see the easing in action.</p>
+</div>
+</body>
+</html>
http://git-wip-us.apache.org/repos/asf/isis/blob/5860833e/component/viewer/wicket/jquery-ui-1.10.2.custom/development-bundle/demos/effect/index.html
----------------------------------------------------------------------
diff --git a/component/viewer/wicket/jquery-ui-1.10.2.custom/development-bundle/demos/effect/index.html b/component/viewer/wicket/jquery-ui-1.10.2.custom/development-bundle/demos/effect/index.html
new file mode 100644
index 0000000..5da6bc6
--- /dev/null
+++ b/component/viewer/wicket/jquery-ui-1.10.2.custom/development-bundle/demos/effect/index.html
@@ -0,0 +1,15 @@
+<!doctype html>
+<html lang="en">
+<head>
+ <meta charset="utf-8">
+ <title>jQuery UI Effects Demos</title>
+</head>
+<body>
+
+<ul>
+ <li><a href="default.html">Effect showcase</a></li>
+ <li><a href="easing.html">Easing showcase</a></li>
+</ul>
+
+</body>
+</html>
http://git-wip-us.apache.org/repos/asf/isis/blob/5860833e/component/viewer/wicket/jquery-ui-1.10.2.custom/development-bundle/demos/images/calendar.gif
----------------------------------------------------------------------
diff --git a/component/viewer/wicket/jquery-ui-1.10.2.custom/development-bundle/demos/images/calendar.gif b/component/viewer/wicket/jquery-ui-1.10.2.custom/development-bundle/demos/images/calendar.gif
new file mode 100644
index 0000000..d0abaa7
Binary files /dev/null and b/component/viewer/wicket/jquery-ui-1.10.2.custom/development-bundle/demos/images/calendar.gif differ
http://git-wip-us.apache.org/repos/asf/isis/blob/5860833e/component/viewer/wicket/jquery-ui-1.10.2.custom/development-bundle/demos/images/demo-config-on-tile.gif
----------------------------------------------------------------------
diff --git a/component/viewer/wicket/jquery-ui-1.10.2.custom/development-bundle/demos/images/demo-config-on-tile.gif b/component/viewer/wicket/jquery-ui-1.10.2.custom/development-bundle/demos/images/demo-config-on-tile.gif
new file mode 100644
index 0000000..a96b5bf
Binary files /dev/null and b/component/viewer/wicket/jquery-ui-1.10.2.custom/development-bundle/demos/images/demo-config-on-tile.gif differ
http://git-wip-us.apache.org/repos/asf/isis/blob/5860833e/component/viewer/wicket/jquery-ui-1.10.2.custom/development-bundle/demos/images/demo-config-on.gif
----------------------------------------------------------------------
diff --git a/component/viewer/wicket/jquery-ui-1.10.2.custom/development-bundle/demos/images/demo-config-on.gif b/component/viewer/wicket/jquery-ui-1.10.2.custom/development-bundle/demos/images/demo-config-on.gif
new file mode 100644
index 0000000..e3b6d7c
Binary files /dev/null and b/component/viewer/wicket/jquery-ui-1.10.2.custom/development-bundle/demos/images/demo-config-on.gif differ
http://git-wip-us.apache.org/repos/asf/isis/blob/5860833e/component/viewer/wicket/jquery-ui-1.10.2.custom/development-bundle/demos/images/demo-spindown-closed.gif
----------------------------------------------------------------------
diff --git a/component/viewer/wicket/jquery-ui-1.10.2.custom/development-bundle/demos/images/demo-spindown-closed.gif b/component/viewer/wicket/jquery-ui-1.10.2.custom/development-bundle/demos/images/demo-spindown-closed.gif
new file mode 100644
index 0000000..ad4bd37
Binary files /dev/null and b/component/viewer/wicket/jquery-ui-1.10.2.custom/development-bundle/demos/images/demo-spindown-closed.gif differ
http://git-wip-us.apache.org/repos/asf/isis/blob/5860833e/component/viewer/wicket/jquery-ui-1.10.2.custom/development-bundle/demos/images/demo-spindown-open.gif
----------------------------------------------------------------------
diff --git a/component/viewer/wicket/jquery-ui-1.10.2.custom/development-bundle/demos/images/demo-spindown-open.gif b/component/viewer/wicket/jquery-ui-1.10.2.custom/development-bundle/demos/images/demo-spindown-open.gif
new file mode 100644
index 0000000..e1c60aa
Binary files /dev/null and b/component/viewer/wicket/jquery-ui-1.10.2.custom/development-bundle/demos/images/demo-spindown-open.gif differ
http://git-wip-us.apache.org/repos/asf/isis/blob/5860833e/component/viewer/wicket/jquery-ui-1.10.2.custom/development-bundle/demos/images/icon-docs-info.gif
----------------------------------------------------------------------
diff --git a/component/viewer/wicket/jquery-ui-1.10.2.custom/development-bundle/demos/images/icon-docs-info.gif b/component/viewer/wicket/jquery-ui-1.10.2.custom/development-bundle/demos/images/icon-docs-info.gif
new file mode 100644
index 0000000..ea6d2be
Binary files /dev/null and b/component/viewer/wicket/jquery-ui-1.10.2.custom/development-bundle/demos/images/icon-docs-info.gif differ
http://git-wip-us.apache.org/repos/asf/isis/blob/5860833e/component/viewer/wicket/jquery-ui-1.10.2.custom/development-bundle/demos/images/pbar-ani.gif
----------------------------------------------------------------------
diff --git a/component/viewer/wicket/jquery-ui-1.10.2.custom/development-bundle/demos/images/pbar-ani.gif b/component/viewer/wicket/jquery-ui-1.10.2.custom/development-bundle/demos/images/pbar-ani.gif
new file mode 100644
index 0000000..cb59a04
Binary files /dev/null and b/component/viewer/wicket/jquery-ui-1.10.2.custom/development-bundle/demos/images/pbar-ani.gif differ
http://git-wip-us.apache.org/repos/asf/isis/blob/5860833e/component/viewer/wicket/jquery-ui-1.10.2.custom/development-bundle/demos/menu/default.html
----------------------------------------------------------------------
diff --git a/component/viewer/wicket/jquery-ui-1.10.2.custom/development-bundle/demos/menu/default.html b/component/viewer/wicket/jquery-ui-1.10.2.custom/development-bundle/demos/menu/default.html
new file mode 100644
index 0000000..fcb93b8
--- /dev/null
+++ b/component/viewer/wicket/jquery-ui-1.10.2.custom/development-bundle/demos/menu/default.html
@@ -0,0 +1,67 @@
+<!doctype html>
+<html lang="en">
+<head>
+ <meta charset="utf-8">
+ <title>jQuery UI Menu - Default functionality</title>
+ <link rel="stylesheet" href="../../themes/base/jquery.ui.all.css">
+ <script src="../../jquery-1.9.1.js"></script>
+ <script src="../../ui/jquery.ui.core.js"></script>
+ <script src="../../ui/jquery.ui.widget.js"></script>
+ <script src="../../ui/jquery.ui.position.js"></script>
+ <script src="../../ui/jquery.ui.menu.js"></script>
+ <link rel="stylesheet" href="../demos.css">
+ <script>
+ $(function() {
+ $( "#menu" ).menu();
+ });
+ </script>
+ <style>
+ .ui-menu { width: 150px; }
+ </style>
+</head>
+<body>
+
+<ul id="menu">
+ <li class="ui-state-disabled"><a href="#">Aberdeen</a></li>
+ <li><a href="#">Ada</a></li>
+ <li><a href="#">Adamsville</a></li>
+ <li><a href="#">Addyston</a></li>
+ <li>
+ <a href="#">Delphi</a>
+ <ul>
+ <li class="ui-state-disabled"><a href="#">Ada</a></li>
+ <li><a href="#">Saarland</a></li>
+ <li><a href="#">Salzburg</a></li>
+ </ul>
+ </li>
+ <li><a href="#">Saarland</a></li>
+ <li>
+ <a href="#">Salzburg</a>
+ <ul>
+ <li>
+ <a href="#">Delphi</a>
+ <ul>
+ <li><a href="#">Ada</a></li>
+ <li><a href="#">Saarland</a></li>
+ <li><a href="#">Salzburg</a></li>
+ </ul>
+ </li>
+ <li>
+ <a href="#">Delphi</a>
+ <ul>
+ <li><a href="#">Ada</a></li>
+ <li><a href="#">Saarland</a></li>
+ <li><a href="#">Salzburg</a></li>
+ </ul>
+ </li>
+ <li><a href="#">Perch</a></li>
+ </ul>
+ </li>
+ <li class="ui-state-disabled"><a href="#">Amesville</a></li>
+</ul>
+
+<div class="demo-description">
+<p>A menu with the default configuration, disabled items and nested menus. A list is transformed, adding theming, mouse and keyboard navigation support. Try to tab to the menu then use the cursor keys to navigate.</p>
+</div>
+</body>
+</html>
http://git-wip-us.apache.org/repos/asf/isis/blob/5860833e/component/viewer/wicket/jquery-ui-1.10.2.custom/development-bundle/demos/menu/icons.html
----------------------------------------------------------------------
diff --git a/component/viewer/wicket/jquery-ui-1.10.2.custom/development-bundle/demos/menu/icons.html b/component/viewer/wicket/jquery-ui-1.10.2.custom/development-bundle/demos/menu/icons.html
new file mode 100644
index 0000000..e928f42
--- /dev/null
+++ b/component/viewer/wicket/jquery-ui-1.10.2.custom/development-bundle/demos/menu/icons.html
@@ -0,0 +1,44 @@
+<!doctype html>
+<html lang="en">
+<head>
+ <meta charset="utf-8">
+ <title>jQuery UI Menu - Icons</title>
+ <link rel="stylesheet" href="../../themes/base/jquery.ui.all.css">
+ <script src="../../jquery-1.9.1.js"></script>
+ <script src="../../ui/jquery.ui.core.js"></script>
+ <script src="../../ui/jquery.ui.widget.js"></script>
+ <script src="../../ui/jquery.ui.position.js"></script>
+ <script src="../../ui/jquery.ui.menu.js"></script>
+ <link rel="stylesheet" href="../demos.css">
+ <script>
+ $(function() {
+ $( "#menu" ).menu();
+ });
+ </script>
+ <style>
+ .ui-menu { width: 150px; }
+ </style>
+</head>
+<body>
+
+<ul id="menu">
+ <li><a href="#"><span class="ui-icon ui-icon-disk"></span>Save</a></li>
+ <li><a href="#"><span class="ui-icon ui-icon-zoomin"></span>Zoom In</a></li>
+ <li><a href="#"><span class="ui-icon ui-icon-zoomout"></span>Zoom Out</a></li>
+ <li class="ui-state-disabled"><a href="#"><span class="ui-icon ui-icon-print"></span>Print...</a></li>
+ <li>
+ <a href="#">Playback</a>
+ <ul>
+ <li><a href="#"><span class="ui-icon ui-icon-seek-start"></span>Prev</a></li>
+ <li><a href="#"><span class="ui-icon ui-icon-stop"></span>Stop</a></li>
+ <li><a href="#"><span class="ui-icon ui-icon-play"></span>Play</a></li>
+ <li><a href="#"><span class="ui-icon ui-icon-seek-end"></span>Next</a></li>
+ </ul>
+ </li>
+</ul>
+
+<div class="demo-description">
+<p>A menu with the default configuration, showing how to use a menu with icons.</p>
+</div>
+</body>
+</html>
http://git-wip-us.apache.org/repos/asf/isis/blob/5860833e/component/viewer/wicket/jquery-ui-1.10.2.custom/development-bundle/demos/menu/index.html
----------------------------------------------------------------------
diff --git a/component/viewer/wicket/jquery-ui-1.10.2.custom/development-bundle/demos/menu/index.html b/component/viewer/wicket/jquery-ui-1.10.2.custom/development-bundle/demos/menu/index.html
new file mode 100644
index 0000000..40e9e0b
--- /dev/null
+++ b/component/viewer/wicket/jquery-ui-1.10.2.custom/development-bundle/demos/menu/index.html
@@ -0,0 +1,15 @@
+<!doctype html>
+<html lang="en">
+<head>
+ <meta charset="utf-8">
+ <title>jQuery UI Menu Demos</title>
+</head>
+<body>
+
+<ul>
+ <li><a href="default.html">Default functionality</a></li>
+ <li><a href="icons.html">Icons</a></li>
+</ul>
+
+</body>
+</html>