diff options
Diffstat (limited to 'include/jquery_ui/development-bundle/demos')
179 files changed, 0 insertions, 10112 deletions
diff --git a/include/jquery_ui/development-bundle/demos/accordion/collapsible.html b/include/jquery_ui/development-bundle/demos/accordion/collapsible.html deleted file mode 100644 index 9c1481ea5..000000000 --- a/include/jquery_ui/development-bundle/demos/accordion/collapsible.html +++ /dev/null @@ -1,57 +0,0 @@ -<!DOCTYPE html> -<html lang="en"> -<head> - <meta charset="utf-8"> - <title>jQuery UI Accordion - Collapse content</title> - <link rel="stylesheet" href="../../themes/base/jquery.ui.all.css"> - <script src="../../jquery-1.7.2.js"></script> - <script src="../../ui/jquery.ui.core.js"></script> - <script src="../../ui/jquery.ui.widget.js"></script> - <script src="../../ui/jquery.ui.accordion.js"></script> - <link rel="stylesheet" href="../demos.css"> - <script> - $(function() { - $( "#accordion" ).accordion({ - collapsible: true - }); - }); - </script> -</head> -<body> - -<div class="demo"> - -<div id="accordion"> - <h3><a href="#">Section 1</a></h3> - <div> - <p>Mauris mauris ante, blandit et, ultrices a, suscipit eget, quam. Integer ut neque. Vivamus nisi metus, molestie vel, gravida in, condimentum sit amet, nunc. Nam a nibh. Donec suscipit eros. Nam mi. Proin viverra leo ut odio. Curabitur malesuada. Vestibulum a velit eu ante scelerisque vulputate.</p> - </div> - <h3><a href="#">Section 2</a></h3> - <div> - <p>Sed non urna. Donec et ante. Phasellus eu ligula. Vestibulum sit amet purus. Vivamus hendrerit, dolor at aliquet laoreet, mauris turpis porttitor velit, faucibus interdum tellus libero ac justo. Vivamus non quam. In suscipit faucibus urna. </p> - </div> - <h3><a href="#">Section 3</a></h3> - <div> - <p>Nam enim risus, molestie et, porta ac, aliquam ac, risus. Quisque lobortis. Phasellus pellentesque purus in massa. Aenean in pede. Phasellus ac libero ac tellus pellentesque semper. Sed ac felis. Sed commodo, magna quis lacinia ornare, quam ante aliquam nisi, eu iaculis leo purus venenatis dui. </p> - <ul> - <li>List item one</li> - <li>List item two</li> - <li>List item three</li> - </ul> - </div> - <h3><a href="#">Section 4</a></h3> - <div> - <p>Cras dictum. Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. Vestibulum ante ipsum primis in faucibus orci luctus et ultrices posuere cubilia Curae; Aenean lacinia mauris vel est. </p><p>Suspendisse eu nisl. Nullam ut libero. Integer dignissim consequat lectus. Class aptent taciti sociosqu ad litora torquent per conubia nostra, per inceptos himenaeos. </p> - </div> -</div> - -</div><!-- End demo --> - - - -<div class="demo-description"> -<p>By default, accordions always keep one section open. To allow for all sections to be be collapsible, set the <code>collapsible</code> option to true. Click on the currently open section to collapse its content pane.</p> -</div><!-- End demo-description --> - -</body> -</html> diff --git a/include/jquery_ui/development-bundle/demos/accordion/custom-icons.html b/include/jquery_ui/development-bundle/demos/accordion/custom-icons.html deleted file mode 100644 index 06377ff0a..000000000 --- a/include/jquery_ui/development-bundle/demos/accordion/custom-icons.html +++ /dev/null @@ -1,69 +0,0 @@ -<!DOCTYPE html> -<html lang="en"> -<head> - <meta charset="utf-8"> - <title>jQuery UI Accordion - Customize icons</title> - <link rel="stylesheet" href="../../themes/base/jquery.ui.all.css"> - <script src="../../jquery-1.7.2.js"></script> - <script src="../../ui/jquery.ui.core.js"></script> - <script src="../../ui/jquery.ui.widget.js"></script> - <script src="../../ui/jquery.ui.accordion.js"></script> - <script src="../../ui/jquery.ui.button.js"></script> - <link rel="stylesheet" href="../demos.css"> - <script> - $(function() { - var icons = { - header: "ui-icon-circle-arrow-e", - headerSelected: "ui-icon-circle-arrow-s" - }; - $( "#accordion" ).accordion({ - icons: icons - }); - $( "#toggle" ).button().toggle(function() { - $( "#accordion" ).accordion( "option", "icons", false ); - }, function() { - $( "#accordion" ).accordion( "option", "icons", icons ); - }); - }); - </script> -</head> -<body> - -<div class="demo"> - -<div id="accordion"> - <h3><a href="#">Section 1</a></h3> - <div> - <p>Mauris mauris ante, blandit et, ultrices a, suscipit eget, quam. Integer ut neque. Vivamus nisi metus, molestie vel, gravida in, condimentum sit amet, nunc. Nam a nibh. Donec suscipit eros. Nam mi. Proin viverra leo ut odio. Curabitur malesuada. Vestibulum a velit eu ante scelerisque vulputate.</p> - </div> - <h3><a href="#">Section 2</a></h3> - <div> - <p>Sed non urna. Donec et ante. Phasellus eu ligula. Vestibulum sit amet purus. Vivamus hendrerit, dolor at aliquet laoreet, mauris turpis porttitor velit, faucibus interdum tellus libero ac justo. Vivamus non quam. In suscipit faucibus urna. </p> - </div> - <h3><a href="#">Section 3</a></h3> - <div> - <p>Nam enim risus, molestie et, porta ac, aliquam ac, risus. Quisque lobortis. Phasellus pellentesque purus in massa. Aenean in pede. Phasellus ac libero ac tellus pellentesque semper. Sed ac felis. Sed commodo, magna quis lacinia ornare, quam ante aliquam nisi, eu iaculis leo purus venenatis dui. </p> - <ul> - <li>List item one</li> - <li>List item two</li> - <li>List item three</li> - </ul> - </div> - <h3><a href="#">Section 4</a></h3> - <div> - <p>Cras dictum. Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. Vestibulum ante ipsum primis in faucibus orci luctus et ultrices posuere cubilia Curae; Aenean lacinia mauris vel est. </p><p>Suspendisse eu nisl. Nullam ut libero. Integer dignissim consequat lectus. Class aptent taciti sociosqu ad litora torquent per conubia nostra, per inceptos himenaeos. </p> - </div> -</div> - -<button id="toggle">Toggle icons</button> - -</div><!-- End demo --> - - - -<div class="demo-description"> -<p>Customize the header icons with the <code>icons</code> option, which accepts classes for the header's default and selected (open) state. Use any class from the UI CSS framework, or create custom classes with background images.</p> -</div><!-- End demo-description --> - -</body> -</html> diff --git a/include/jquery_ui/development-bundle/demos/accordion/default.html b/include/jquery_ui/development-bundle/demos/accordion/default.html deleted file mode 100644 index d9ed600c6..000000000 --- a/include/jquery_ui/development-bundle/demos/accordion/default.html +++ /dev/null @@ -1,85 +0,0 @@ -<!DOCTYPE html> -<html lang="en"> -<head> - <meta charset="utf-8"> - <title>jQuery UI Accordion - Default functionality</title> - <link rel="stylesheet" href="../../themes/base/jquery.ui.all.css"> - <script src="../../jquery-1.7.2.js"></script> - <script src="../../ui/jquery.ui.core.js"></script> - <script src="../../ui/jquery.ui.widget.js"></script> - <script src="../../ui/jquery.ui.accordion.js"></script> - <link rel="stylesheet" href="../demos.css"> - <script> - $(function() { - $( "#accordion" ).accordion(); - }); - </script> -</head> -<body> - -<div class="demo"> - -<div id="accordion"> - <h3><a href="#">Section 1</a></h3> - <div> - <p> - Mauris mauris ante, blandit et, ultrices a, suscipit eget, quam. Integer - ut neque. Vivamus nisi metus, molestie vel, gravida in, condimentum sit - amet, nunc. Nam a nibh. Donec suscipit eros. Nam mi. Proin viverra leo ut - odio. Curabitur malesuada. Vestibulum a velit eu ante scelerisque vulputate. - </p> - </div> - <h3><a href="#">Section 2</a></h3> - <div> - <p> - Sed non urna. Donec et ante. Phasellus eu ligula. Vestibulum sit amet - purus. Vivamus hendrerit, dolor at aliquet laoreet, mauris turpis porttitor - velit, faucibus interdum tellus libero ac justo. Vivamus non quam. In - suscipit faucibus urna. - </p> - </div> - <h3><a href="#">Section 3</a></h3> - <div> - <p> - Nam enim risus, molestie et, porta ac, aliquam ac, risus. Quisque lobortis. - Phasellus pellentesque purus in massa. Aenean in pede. Phasellus ac libero - ac tellus pellentesque semper. Sed ac felis. Sed commodo, magna quis - lacinia ornare, quam ante aliquam nisi, eu iaculis leo purus venenatis dui. - </p> - <ul> - <li>List item one</li> - <li>List item two</li> - <li>List item three</li> - </ul> - </div> - <h3><a href="#">Section 4</a></h3> - <div> - <p> - Cras dictum. Pellentesque habitant morbi tristique senectus et netus - et malesuada fames ac turpis egestas. Vestibulum ante ipsum primis in - faucibus orci luctus et ultrices posuere cubilia Curae; Aenean lacinia - mauris vel est. - </p> - <p> - Suspendisse eu nisl. Nullam ut libero. Integer dignissim consequat lectus. - Class aptent taciti sociosqu ad litora torquent per conubia nostra, per - inceptos himenaeos. - </p> - </div> -</div> - -</div><!-- End demo --> - -<div class="demo-description"> -<p> -Click headers to expand/collapse content that is broken into logical sections, much like tabs. -Optionally, toggle sections open/closed on mouseover. -</p> -<p> -The underlying HTML markup is a series of headers (H3 tags) and content divs so the content is -usable without JavaScript. -</p> -</div><!-- End demo-description --> - -</body> -</html> diff --git a/include/jquery_ui/development-bundle/demos/accordion/fillspace.html b/include/jquery_ui/development-bundle/demos/accordion/fillspace.html deleted file mode 100644 index 3621eb97b..000000000 --- a/include/jquery_ui/development-bundle/demos/accordion/fillspace.html +++ /dev/null @@ -1,76 +0,0 @@ -<!DOCTYPE html> -<html lang="en"> -<head> - <meta charset="utf-8"> - <title>jQuery UI Accordion - Fill space</title> - <link rel="stylesheet" href="../../themes/base/jquery.ui.all.css"> - <script src="../../jquery-1.7.2.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.resizable.js"></script> - <script src="../../ui/jquery.ui.accordion.js"></script> - <link rel="stylesheet" href="../demos.css"> - <script> - $(function() { - $( "#accordion" ).accordion({ - fillSpace: true - }); - }); - $(function() { - $( "#accordionResizer" ).resizable({ - minHeight: 140, - resize: function() { - $( "#accordion" ).accordion( "resize" ); - } - }); - }); - </script> -</head> -<body> - -<div class="demo"> - -<h3 class="docs">Resize the outer container:</h3> - -<div id="accordionResizer" style="padding:10px; width:350px; height:220px;" class="ui-widget-content"> - -<div id="accordion"> - <h3><a href="#">Section 1</a></h3> - <div> - <p>Mauris mauris ante, blandit et, ultrices a, suscipit eget, quam. Integer ut neque. Vivamus nisi metus, molestie vel, gravida in, condimentum sit amet, nunc. Nam a nibh. Donec suscipit eros. Nam mi. Proin viverra leo ut odio. Curabitur malesuada. Vestibulum a velit eu ante scelerisque vulputate.</p> - </div> - <h3><a href="#">Section 2</a></h3> - <div> - <p>Sed non urna. Donec et ante. Phasellus eu ligula. Vestibulum sit amet purus. Vivamus hendrerit, dolor at aliquet laoreet, mauris turpis porttitor velit, faucibus interdum tellus libero ac justo. Vivamus non quam. In suscipit faucibus urna. </p> - </div> - <h3><a href="#">Section 3</a></h3> - <div> - <p>Nam enim risus, molestie et, porta ac, aliquam ac, risus. Quisque lobortis. Phasellus pellentesque purus in massa. Aenean in pede. Phasellus ac libero ac tellus pellentesque semper. Sed ac felis. Sed commodo, magna quis lacinia ornare, quam ante aliquam nisi, eu iaculis leo purus venenatis dui. </p> - <ul> - <li>List item one</li> - <li>List item two</li> - <li>List item three</li> - </ul> - </div> - <h3><a href="#">Section 4</a></h3> - <div> - <p>Cras dictum. Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. Vestibulum ante ipsum primis in faucibus orci luctus et ultrices posuere cubilia Curae; Aenean lacinia mauris vel est. </p><p>Suspendisse eu nisl. Nullam ut libero. Integer dignissim consequat lectus. Class aptent taciti sociosqu ad litora torquent per conubia nostra, per inceptos himenaeos. </p> - </div> -</div> - -<span class="ui-icon ui-icon-grip-dotted-horizontal" style="margin:2px auto;"></span> -</div><!-- End accordionResizer --> - -<div style="margin-top:7px; padding:10px; width:350px; height:50px;" class="ui-widget-content">I'm another panel</div> - -</div><!-- End demo --> - - - -<div class="demo-description"> -<p>Because the accordion is comprised of block-level elements, by default its width fills the available horizontal space. To fill the vertical space allocated by its container, set the boolean <code>fillSpace</code> option to true, and the script will automatically set the dimensions of the accordion to the height of its parent container. The accordion will also resize with its container if the container is <code>resizable</code>.</p> -</div><!-- End demo-description --> - -</body> -</html> diff --git a/include/jquery_ui/development-bundle/demos/accordion/hoverintent.html b/include/jquery_ui/development-bundle/demos/accordion/hoverintent.html deleted file mode 100644 index 5ef9ff854..000000000 --- a/include/jquery_ui/development-bundle/demos/accordion/hoverintent.html +++ /dev/null @@ -1,138 +0,0 @@ -<!DOCTYPE html> -<html lang="en"> -<head> - <meta charset="utf-8"> - <title>jQuery UI Accordion - Open on hoverintent</title> - <link rel="stylesheet" href="../../themes/base/jquery.ui.all.css"> - <script src="../../jquery-1.7.2.js"></script> - <script src="../../ui/jquery.ui.core.js"></script> - <script src="../../ui/jquery.ui.widget.js"></script> - <script src="../../ui/jquery.ui.accordion.js"></script> - <link rel="stylesheet" href="../demos.css"> - <script> - $(function() { - $("#accordion").accordion({ - event: "click hoverintent" - }); - }); - - var cfg = ($.hoverintent = { - sensitivity: 7, - interval: 100 - }); - - $.event.special.hoverintent = { - setup: function() { - $( this ).bind( "mouseover", jQuery.event.special.hoverintent.handler ); - }, - teardown: function() { - $( this ).unbind( "mouseover", jQuery.event.special.hoverintent.handler ); - }, - handler: function( event ) { - var self = this, - args = arguments, - target = $( event.target ), - cX, cY, pX, pY; - - function track( event ) { - cX = event.pageX; - cY = event.pageY; - }; - pX = event.pageX; - pY = event.pageY; - function clear() { - target - .unbind( "mousemove", track ) - .unbind( "mouseout", arguments.callee ); - clearTimeout( timeout ); - } - function handler() { - if ( ( Math.abs( pX - cX ) + Math.abs( pY - cY ) ) < cfg.sensitivity ) { - clear(); - event.type = "hoverintent"; - // prevent accessing the original event since the new event - // is fired asynchronously and the old event is no longer - // usable (#6028) - event.originalEvent = {}; - jQuery.event.handle.apply( self, args ); - } else { - pX = cX; - pY = cY; - timeout = setTimeout( handler, cfg.interval ); - } - } - var timeout = setTimeout( handler, cfg.interval ); - target.mousemove( track ).mouseout( clear ); - return true; - } - }; - </script> -</head> -<body> - -<div class="demo"> - -<div id="accordion"> - <h3><a href="#">Section 1</a></h3> - <div> - <p> - Mauris mauris ante, blandit et, ultrices a, suscipit eget, quam. Integer - ut neque. Vivamus nisi metus, molestie vel, gravida in, condimentum sit - amet, nunc. Nam a nibh. Donec suscipit eros. Nam mi. Proin viverra leo ut - odio. Curabitur malesuada. Vestibulum a velit eu ante scelerisque vulputate. - </p> - </div> - <h3><a href="#">Section 2</a></h3> - <div> - <p> - Sed non urna. Donec et ante. Phasellus eu ligula. Vestibulum sit amet - purus. Vivamus hendrerit, dolor at aliquet laoreet, mauris turpis porttitor - velit, faucibus interdum tellus libero ac justo. Vivamus non quam. In - suscipit faucibus urna. - </p> - </div> - <h3><a href="#">Section 3</a></h3> - <div> - <p> - Nam enim risus, molestie et, porta ac, aliquam ac, risus. Quisque lobortis. - Phasellus pellentesque purus in massa. Aenean in pede. Phasellus ac libero - ac tellus pellentesque semper. Sed ac felis. Sed commodo, magna quis - lacinia ornare, quam ante aliquam nisi, eu iaculis leo purus venenatis dui. - </p> - <ul> - <li>List item one</li> - <li>List item two</li> - <li>List item three</li> - </ul> - </div> - <h3><a href="#">Section 4</a></h3> - <div> - <p> - Cras dictum. Pellentesque habitant morbi tristique senectus et netus - et malesuada fames ac turpis egestas. Vestibulum ante ipsum primis in - faucibus orci luctus et ultrices posuere cubilia Curae; Aenean lacinia - mauris vel est. - </p> - <p> - Suspendisse eu nisl. Nullam ut libero. Integer dignissim consequat lectus. - Class aptent taciti sociosqu ad litora torquent per conubia nostra, per - inceptos himenaeos. - </p> - </div> -</div> - -</div><!-- End demo --> - -<div class="demo-description"> -<p> -Click headers to expand/collapse content that is broken into logical sections, much like tabs. -Optionally, toggle sections open/closed on mouseover. -</p> -<p> -The underlying HTML markup is a series of headers (H3 tags) and content divs so the content is -usable without JavaScript. -</p> -</div><!-- End demo-description --> - -</body> -</html> diff --git a/include/jquery_ui/development-bundle/demos/accordion/index.html b/include/jquery_ui/development-bundle/demos/accordion/index.html deleted file mode 100644 index d107dd881..000000000 --- a/include/jquery_ui/development-bundle/demos/accordion/index.html +++ /dev/null @@ -1,25 +0,0 @@ -<!DOCTYPE html> -<html lang="en"> -<head> - <meta charset="utf-8"> - <title>jQuery UI Accordion Demos</title> - <link rel="stylesheet" href="../demos.css"> -</head> -<body> - -<div class="demos-nav"> - <h4>Examples</h4> - <ul> - <li class="demo-config-on"><a href="default.html">Default functionality</a></li> - <li><a href="fillspace.html">Fill space</a></li> - <li><a href="no-auto-height.html">No auto height</a></li> - <li><a href="collapsible.html">Collapse content</a></li> - <li><a href="mouseover.html">Open on mouseover</a></li> - <li><a href="hoverintent.html">Open on hoverintent</a></li> - <li><a href="custom-icons.html">Customize icons</a></li> - <li><a href="sortable.html">Sortable</a></li> - </ul> -</div> - -</body> -</html> diff --git a/include/jquery_ui/development-bundle/demos/accordion/mouseover.html b/include/jquery_ui/development-bundle/demos/accordion/mouseover.html deleted file mode 100644 index 39cae565d..000000000 --- a/include/jquery_ui/development-bundle/demos/accordion/mouseover.html +++ /dev/null @@ -1,57 +0,0 @@ -<!DOCTYPE html> -<html lang="en"> -<head> - <meta charset="utf-8"> - <title>jQuery UI Accordion - Open on mouseover</title> - <link rel="stylesheet" href="../../themes/base/jquery.ui.all.css"> - <script src="../../jquery-1.7.2.js"></script> - <script src="../../ui/jquery.ui.core.js"></script> - <script src="../../ui/jquery.ui.widget.js"></script> - <script src="../../ui/jquery.ui.accordion.js"></script> - <link rel="stylesheet" href="../demos.css"> - <script> - $(function() { - $( "#accordion" ).accordion({ - event: "mouseover" - }); - }); - </script> -</head> -<body> - -<div class="demo"> - -<div id="accordion"> - <h3><a href="#">Section 1</a></h3> - <div> - <p>Mauris mauris ante, blandit et, ultrices a, suscipit eget, quam. Integer ut neque. Vivamus nisi metus, molestie vel, gravida in, condimentum sit amet, nunc. Nam a nibh. Donec suscipit eros. Nam mi. Proin viverra leo ut odio. Curabitur malesuada. Vestibulum a velit eu ante scelerisque vulputate.</p> - </div> - <h3><a href="#">Section 2</a></h3> - <div> - <p>Sed non urna. Donec et ante. Phasellus eu ligula. Vestibulum sit amet purus. Vivamus hendrerit, dolor at aliquet laoreet, mauris turpis porttitor velit, faucibus interdum tellus libero ac justo. Vivamus non quam. In suscipit faucibus urna. </p> - </div> - <h3><a href="#">Section 3</a></h3> - <div> - <p>Nam enim risus, molestie et, porta ac, aliquam ac, risus. Quisque lobortis. Phasellus pellentesque purus in massa. Aenean in pede. Phasellus ac libero ac tellus pellentesque semper. Sed ac felis. Sed commodo, magna quis lacinia ornare, quam ante aliquam nisi, eu iaculis leo purus venenatis dui. </p> - <ul> - <li>List item one</li> - <li>List item two</li> - <li>List item three</li> - </ul> - </div> - <h3><a href="#">Section 4</a></h3> - <div> - <p>Cras dictum. Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. Vestibulum ante ipsum primis in faucibus orci luctus et ultrices posuere cubilia Curae; Aenean lacinia mauris vel est. </p><p>Suspendisse eu nisl. Nullam ut libero. Integer dignissim consequat lectus. Class aptent taciti sociosqu ad litora torquent per conubia nostra, per inceptos himenaeos. </p> - </div> -</div> - -</div><!-- End demo --> - - - -<div class="demo-description"> -<p>Toggle sections open/closed on mouseover with the <code>event</code> option. The default value for event is "click."</p> -</div><!-- End demo-description --> - -</body> -</html> diff --git a/include/jquery_ui/development-bundle/demos/accordion/no-auto-height.html b/include/jquery_ui/development-bundle/demos/accordion/no-auto-height.html deleted file mode 100644 index d6694846f..000000000 --- a/include/jquery_ui/development-bundle/demos/accordion/no-auto-height.html +++ /dev/null @@ -1,60 +0,0 @@ -<!DOCTYPE html> -<html lang="en"> -<head> - <meta charset="utf-8"> - <title>jQuery UI Accordion - No auto height</title> - <link rel="stylesheet" href="../../themes/base/jquery.ui.all.css"> - <script src="../../jquery-1.7.2.js"></script> - <script src="../../ui/jquery.ui.core.js"></script> - <script src="../../ui/jquery.ui.widget.js"></script> - <script src="../../ui/jquery.ui.accordion.js"></script> - <link rel="stylesheet" href="../demos.css"> - <script> - $(function() { - $( "#accordion" ).accordion({ - autoHeight: false, - navigation: true - }); - }); - </script> -</head> -<body> - -<div class="demo"> - -<div id="accordion"> - <h3><a href="#section1">Section 1</a></h3> - <div> - <p>Mauris mauris ante, blandit et, ultrices a, susceros. Nam mi. Proin viverra leo ut odio. Curabitur malesuada. Vestibulum a velit eu ante scelerisque vulputate.</p> - </div> - <h3><a href="#section2">Section 2</a></h3> - <div> - <p>Sed non urna. Donec et ante. Phasellus eu ligula. Vestibulum sit amet purus. Vivamus hendrerit, dolor at aliquet laoreet, mauris turpis porttitor velit, faucibus interdum tellus libero ac justo. Vivamus non quam. In suscipit faucibus urna. </p> - </div> - <h3><a href="#section3">Section 3</a></h3> - <div> - <p>Nam enim risus, molestie et, porta ac, aliquam ac, risus. Quisque lobortis. Phasellus pellentesque purus in massa. Aenean in pede. Phasellus ac libero ac tellus pellentesque semper. Sed ac felis. Sed commodo, magna quis lacinia ornare, quam ante aliquam nisi, eu iaculis leo purus venenatis dui. </p> - <ul> - <li>List item</li> - <li>List item</li> - <li>List item</li> - <li>List item</li> - <li>List item</li> - <li>List item</li> - <li>List item</li> - </ul> - <a href="#othercontent">Link to other content</a> - </div> -</div> - -</div><!-- End demo --> - - - -<div class="demo-description"> -<p>Setting <code>autoHeight: false</code> allows to accordion panels to keep their native height.</p> -<p>In addition, the <code>navigation</code> option is enabled, opening the panel based on the current location, eg. no-auto-height.html#panel2 would open the second panel on page load. It also finds anchors within the content, so #othercontent will open the third section, as it contains a link with that href.</p> -</div><!-- End demo-description --> - -</body> -</html> diff --git a/include/jquery_ui/development-bundle/demos/accordion/sortable.html b/include/jquery_ui/development-bundle/demos/accordion/sortable.html deleted file mode 100644 index b9b925516..000000000 --- a/include/jquery_ui/development-bundle/demos/accordion/sortable.html +++ /dev/null @@ -1,81 +0,0 @@ -<!DOCTYPE html> -<html lang="en"> -<head> - <meta charset="utf-8"> - <title>jQuery UI Accordion - Sortable</title> - <link rel="stylesheet" href="../../themes/base/jquery.ui.all.css"> - <script src="../../jquery-1.7.2.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.sortable.js"></script> - <script src="../../ui/jquery.ui.accordion.js"></script> - <link rel="stylesheet" href="../demos.css"> - <style> - /* IE has layout issues when sorting (see #5413) */ - .group { zoom: 1 } - </style> - <script> - $(function() { - $( "#accordion" ) - .accordion({ - header: "> div > h3" - }) - .sortable({ - axis: "y", - handle: "h3", - stop: function( event, ui ) { - // IE doesn't register the blur when sorting - // so trigger focusout handlers to remove .ui-state-focus - ui.item.children( "h3" ).triggerHandler( "focusout" ); - } - }); - }); - </script> -</head> -<body> - -<div class="demo"> - -<div id="accordion"> - <div class="group"> - <h3><a href="#">Section 1</a></h3> - <div> - <p>Mauris mauris ante, blandit et, ultrices a, suscipit eget, quam. Integer ut neque. Vivamus nisi metus, molestie vel, gravida in, condimentum sit amet, nunc. Nam a nibh. Donec suscipit eros. Nam mi. Proin viverra leo ut odio. Curabitur malesuada. Vestibulum a velit eu ante scelerisque vulputate.</p> - </div> - </div> - <div class="group"> - <h3><a href="#">Section 2</a></h3> - <div> - <p>Sed non urna. Donec et ante. Phasellus eu ligula. Vestibulum sit amet purus. Vivamus hendrerit, dolor at aliquet laoreet, mauris turpis porttitor velit, faucibus interdum tellus libero ac justo. Vivamus non quam. In suscipit faucibus urna. </p> - </div> - </div> - <div class="group"> - <h3><a href="#">Section 3</a></h3> - <div> - <p>Nam enim risus, molestie et, porta ac, aliquam ac, risus. Quisque lobortis. Phasellus pellentesque purus in massa. Aenean in pede. Phasellus ac libero ac tellus pellentesque semper. Sed ac felis. Sed commodo, magna quis lacinia ornare, quam ante aliquam nisi, eu iaculis leo purus venenatis dui. </p> - <ul> - <li>List item one</li> - <li>List item two</li> - <li>List item three</li> - </ul> - </div> - </div> - <div class="group"> - <h3><a href="#">Section 4</a></h3> - <div> - <p>Cras dictum. Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. Vestibulum ante ipsum primis in faucibus orci luctus et ultrices posuere cubilia Curae; Aenean lacinia mauris vel est. </p><p>Suspendisse eu nisl. Nullam ut libero. Integer dignissim consequat lectus. Class aptent taciti sociosqu ad litora torquent per conubia nostra, per inceptos himenaeos. </p> - </div> - </div> -</div> - -</div><!-- End demo --> - - - -<div class="demo-description"> -<p>Drag the header to re-order panels.</p> -</div><!-- End demo-description --> - -</body> -</html> diff --git a/include/jquery_ui/development-bundle/demos/addClass/default.html b/include/jquery_ui/development-bundle/demos/addClass/default.html deleted file mode 100644 index d67130457..000000000 --- a/include/jquery_ui/development-bundle/demos/addClass/default.html +++ /dev/null @@ -1,52 +0,0 @@ -<!DOCTYPE html> -<html lang="en"> -<head> - <meta charset="utf-8"> - <title>jQuery UI Effects - addClass demo</title> - <link rel="stylesheet" href="../../themes/base/jquery.ui.all.css"> - <script src="../../jquery-1.7.2.js"></script> - <script src="../../ui/jquery.effects.core.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; padding: 1em; font-size: 1.2em; border: 1px solid #000; background: #eee; color: #333; } - .newClass { text-indent: 40px; letter-spacing: .4em; width: 410px; height: 100px; padding: 30px; margin: 10px; font-size: 1.6em; } - </style> - <script> - $(function() { - $( "#button" ).click(function() { - $( "#effect" ).addClass( "newClass", 1000, callback ); - return false; - }); - - function callback() { - setTimeout(function() { - $( "#effect" ).removeClass( "newClass" ); - }, 1500 ); - } - }); - </script> -</head> -<body> - -<div class="demo"> - -<div class="toggler"> - <div id="effect" class=" ui-corner-all"> - Etiam libero neque, luctus a, eleifend nec, semper at, lorem. Sed pede. - </div> -</div> - -<a href="#" id="button" class="ui-state-default ui-corner-all">Run Effect</a> - -</div><!-- End demo --> - - - -<div class="demo-description"> -<p>This demo adds a class which animates: text-indent, letter-spacing, width, height, padding, margin, and font-size.</p> -</div><!-- End demo-description --> - -</body> -</html> diff --git a/include/jquery_ui/development-bundle/demos/addClass/index.html b/include/jquery_ui/development-bundle/demos/addClass/index.html deleted file mode 100644 index f5bd6a0e4..000000000 --- a/include/jquery_ui/development-bundle/demos/addClass/index.html +++ /dev/null @@ -1,18 +0,0 @@ -<!DOCTYPE html> -<html lang="en"> -<head> - <meta charset="utf-8"> - <title>jQuery UI Effects Demos</title> - <link rel="stylesheet" href="../demos.css"> -</head> -<body> - -<div class="demos-nav"> - <h4>Examples</h4> - <ul> - <li class="demo-config-on"><a href="default.html">Default functionality</a></li> - </ul> -</div> - -</body> -</html> diff --git a/include/jquery_ui/development-bundle/demos/animate/default.html b/include/jquery_ui/development-bundle/demos/animate/default.html deleted file mode 100644 index 4fec428e7..000000000 --- a/include/jquery_ui/development-bundle/demos/animate/default.html +++ /dev/null @@ -1,61 +0,0 @@ -<!DOCTYPE html> -<html lang="en"> -<head> - <meta charset="utf-8"> - <title>jQuery UI Effects - Animate demo</title> - <link rel="stylesheet" href="../../themes/base/jquery.ui.all.css"> - <script src="../../jquery-1.7.2.js"></script> - <script src="../../ui/jquery.effects.core.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; background: #fff; } - #effect h3 { margin: 0; padding: 0.4em; text-align: center; } - </style> - <script> - $(function() { - $( "#button" ).toggle( - function() { - $( "#effect" ).animate({ - backgroundColor: "#aa0000", - color: "#fff", - width: 500 - }, 1000 ); - }, - function() { - $( "#effect" ).animate({ - backgroundColor: "#fff", - color: "#000", - width: 240 - }, 1000 ); - } - ); - }); - </script> -</head> -<body> - -<div class="demo"> - -<div class="toggler"> - <div id="effect" class="ui-widget-content ui-corner-all"> - <h3 class="ui-widget-header ui-corner-all">Animate</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> - -<a href="#" id="button" class="ui-state-default ui-corner-all">Toggle Effect</a> - -</div><!-- End demo --> - - - -<div class="demo-description"> -<p>Click the button above to preview the effect.</p> -</div><!-- End demo-description --> - -</body> -</html> diff --git a/include/jquery_ui/development-bundle/demos/animate/index.html b/include/jquery_ui/development-bundle/demos/animate/index.html deleted file mode 100644 index f5bd6a0e4..000000000 --- a/include/jquery_ui/development-bundle/demos/animate/index.html +++ /dev/null @@ -1,18 +0,0 @@ -<!DOCTYPE html> -<html lang="en"> -<head> - <meta charset="utf-8"> - <title>jQuery UI Effects Demos</title> - <link rel="stylesheet" href="../demos.css"> -</head> -<body> - -<div class="demos-nav"> - <h4>Examples</h4> - <ul> - <li class="demo-config-on"><a href="default.html">Default functionality</a></li> - </ul> -</div> - -</body> -</html> diff --git a/include/jquery_ui/development-bundle/demos/autocomplete/categories.html b/include/jquery_ui/development-bundle/demos/autocomplete/categories.html deleted file mode 100644 index 2912daa97..000000000 --- a/include/jquery_ui/development-bundle/demos/autocomplete/categories.html +++ /dev/null @@ -1,71 +0,0 @@ -<!DOCTYPE html> -<html lang="en"> -<head> - <meta charset="utf-8"> - <title>jQuery UI Autocomplete - Categories</title> - <link rel="stylesheet" href="../../themes/base/jquery.ui.all.css"> - <script src="../../jquery-1.7.2.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.autocomplete.js"></script> - <link rel="stylesheet" href="../demos.css"> - <style> - .ui-autocomplete-category { - font-weight: bold; - padding: .2em .4em; - margin: .8em 0 .2em; - line-height: 1.5; - } - </style> - <script> - $.widget( "custom.catcomplete", $.ui.autocomplete, { - _renderMenu: function( ul, items ) { - var self = this, - currentCategory = ""; - $.each( items, function( index, item ) { - if ( item.category != currentCategory ) { - ul.append( "<li class='ui-autocomplete-category'>" + item.category + "</li>" ); - currentCategory = item.category; - } - self._renderItem( ul, item ); - }); - } - }); - </script> - <script> - $(function() { - var data = [ - { label: "anders", category: "" }, - { label: "andreas", category: "" }, - { label: "antal", category: "" }, - { label: "annhhx10", category: "Products" }, - { label: "annk K12", category: "Products" }, - { label: "annttop C13", category: "Products" }, - { label: "anders andersson", category: "People" }, - { label: "andreas andersson", category: "People" }, - { label: "andreas johnson", category: "People" } - ]; - - $( "#search" ).catcomplete({ - delay: 0, - source: data - }); - }); - </script> -</head> -<body> - -<div class="demo"> - <label for="search">Search: </label> - <input id="search" /> -</div><!-- End demo --> - - - -<div class="demo-description"> -<p>A categorized search result. Try typing "a" or "n".</p> -</div><!-- End demo-description --> - -</body> -</html> diff --git a/include/jquery_ui/development-bundle/demos/autocomplete/combobox.html b/include/jquery_ui/development-bundle/demos/autocomplete/combobox.html deleted file mode 100644 index 3c7876a5d..000000000 --- a/include/jquery_ui/development-bundle/demos/autocomplete/combobox.html +++ /dev/null @@ -1,194 +0,0 @@ -<!DOCTYPE html> -<html lang="en"> -<head> - <meta charset="utf-8"> - <title>jQuery UI Autocomplete - Combobox</title> - <link rel="stylesheet" href="../../themes/base/jquery.ui.all.css"> - <script src="../../jquery-1.7.2.js"></script> - <script src="../../ui/jquery.ui.core.js"></script> - <script src="../../ui/jquery.ui.widget.js"></script> - <script src="../../ui/jquery.ui.button.js"></script> - <script src="../../ui/jquery.ui.position.js"></script> - <script src="../../ui/jquery.ui.autocomplete.js"></script> - <link rel="stylesheet" href="../demos.css"> - <style> - .ui-combobox { - position: relative; - display: inline-block; - } - .ui-combobox-toggle { - position: absolute; - top: 0; - bottom: 0; - margin-left: -1px; - padding: 0; - /* adjust styles for IE 6/7 */ - *height: 1.7em; - *top: 0.1em; - } - .ui-combobox-input { - margin: 0; - padding: 0.3em; - } - </style> - <script> - (function( $ ) { - $.widget( "ui.combobox", { - _create: function() { - var input, - self = this, - select = this.element.hide(), - selected = select.children( ":selected" ), - value = selected.val() ? selected.text() : "", - wrapper = this.wrapper = $( "<span>" ) - .addClass( "ui-combobox" ) - .insertAfter( select ); - - input = $( "<input>" ) - .appendTo( wrapper ) - .val( value ) - .addClass( "ui-state-default ui-combobox-input" ) - .autocomplete({ - delay: 0, - minLength: 0, - source: function( request, response ) { - var matcher = new RegExp( $.ui.autocomplete.escapeRegex(request.term), "i" ); - response( select.children( "option" ).map(function() { - var text = $( this ).text(); - if ( this.value && ( !request.term || matcher.test(text) ) ) - return { - label: text.replace( - new RegExp( - "(?![^&;]+;)(?!<[^<>]*)(" + - $.ui.autocomplete.escapeRegex(request.term) + - ")(?![^<>]*>)(?![^&;]+;)", "gi" - ), "<strong>$1</strong>" ), - value: text, - option: this - }; - }) ); - }, - select: function( event, ui ) { - ui.item.option.selected = true; - self._trigger( "selected", event, { - item: ui.item.option - }); - }, - change: function( event, ui ) { - if ( !ui.item ) { - var matcher = new RegExp( "^" + $.ui.autocomplete.escapeRegex( $(this).val() ) + "$", "i" ), - valid = false; - select.children( "option" ).each(function() { - if ( $( this ).text().match( matcher ) ) { - this.selected = valid = true; - return false; - } - }); - if ( !valid ) { - // remove invalid value, as it didn't match anything - $( this ).val( "" ); - select.val( "" ); - input.data( "autocomplete" ).term = ""; - return false; - } - } - } - }) - .addClass( "ui-widget ui-widget-content ui-corner-left" ); - - input.data( "autocomplete" )._renderItem = function( ul, item ) { - return $( "<li></li>" ) - .data( "item.autocomplete", item ) - .append( "<a>" + item.label + "</a>" ) - .appendTo( ul ); - }; - - $( "<a>" ) - .attr( "tabIndex", -1 ) - .attr( "title", "Show All Items" ) - .appendTo( wrapper ) - .button({ - icons: { - primary: "ui-icon-triangle-1-s" - }, - text: false - }) - .removeClass( "ui-corner-all" ) - .addClass( "ui-corner-right ui-combobox-toggle" ) - .click(function() { - // close if already visible - if ( input.autocomplete( "widget" ).is( ":visible" ) ) { - input.autocomplete( "close" ); - return; - } - - // work around a bug (likely same cause as #5265) - $( this ).blur(); - - // pass empty string as value to search for, displaying all results - input.autocomplete( "search", "" ); - input.focus(); - }); - }, - - destroy: function() { - this.wrapper.remove(); - this.element.show(); - $.Widget.prototype.destroy.call( this ); - } - }); - })( jQuery ); - - $(function() { - $( "#combobox" ).combobox(); - $( "#toggle" ).click(function() { - $( "#combobox" ).toggle(); - }); - }); - </script> -</head> -<body> - -<div class="demo"> - -<div class="ui-widget"> - <label>Your preferred programming language: </label> - <select id="combobox"> - <option value="">Select one...</option> - <option value="ActionScript">ActionScript</option> - <option value="AppleScript">AppleScript</option> - <option value="Asp">Asp</option> - <option value="BASIC">BASIC</option> - <option value="C">C</option> - <option value="C++">C++</option> - <option value="Clojure">Clojure</option> - <option value="COBOL">COBOL</option> - <option value="ColdFusion">ColdFusion</option> - <option value="Erlang">Erlang</option> - <option value="Fortran">Fortran</option> - <option value="Groovy">Groovy</option> - <option value="Haskell">Haskell</option> - <option value="Java">Java</option> - <option value="JavaScript">JavaScript</option> - <option value="Lisp">Lisp</option> - <option value="Perl">Perl</option> - <option value="PHP">PHP</option> - <option value="Python">Python</option> - <option value="Ruby">Ruby</option> - <option value="Scala">Scala</option> - <option value="Scheme">Scheme</option> - </select> -</div> -<button id="toggle">Show underlying select</button> - -</div><!-- End demo --> - - - -<div class="demo-description"> -<p>A custom widget built by composition of Autocomplete and Button. You can either type something into the field to get filtered suggestions based on your input, or use the button to get the full list of selections.</p> -<p>The input is read from an existing select-element for progressive enhancement, passed to Autocomplete with a customized source-option.</p> -</div><!-- End demo-description --> - -</body> -</html> diff --git a/include/jquery_ui/development-bundle/demos/autocomplete/custom-data.html b/include/jquery_ui/development-bundle/demos/autocomplete/custom-data.html deleted file mode 100644 index e2d0042d8..000000000 --- a/include/jquery_ui/development-bundle/demos/autocomplete/custom-data.html +++ /dev/null @@ -1,95 +0,0 @@ -<!DOCTYPE html> -<html lang="en"> -<head> - <meta charset="utf-8"> - <title>jQuery UI Autocomplete - Custom data and display</title> - <link rel="stylesheet" href="../../themes/base/jquery.ui.all.css"> - <script src="../../jquery-1.7.2.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.autocomplete.js"></script> - <link rel="stylesheet" href="../demos.css"> - <style> - #project-label { - display: block; - font-weight: bold; - margin-bottom: 1em; - } - #project-icon { - float: left; - height: 32px; - width: 32px; - } - #project-description { - margin: 0; - padding: 0; - } - </style> - <script> - $(function() { - var projects = [ - { - value: "jquery", - label: "jQuery", - desc: "the write less, do more, JavaScript library", - icon: "jquery_32x32.png" - }, - { - value: "jquery-ui", - label: "jQuery UI", - desc: "the official user interface library for jQuery", - icon: "jqueryui_32x32.png" - }, - { - value: "sizzlejs", - label: "Sizzle JS", - desc: "a pure-JavaScript CSS selector engine", - icon: "sizzlejs_32x32.png" - } - ]; - - $( "#project" ).autocomplete({ - minLength: 0, - source: projects, - focus: function( event, ui ) { - $( "#project" ).val( ui.item.label ); - return false; - }, - select: function( event, ui ) { - $( "#project" ).val( ui.item.label ); - $( "#project-id" ).val( ui.item.value ); - $( "#project-description" ).html( ui.item.desc ); - $( "#project-icon" ).attr( "src", "images/" + ui.item.icon ); - - return false; - } - }) - .data( "autocomplete" )._renderItem = function( ul, item ) { - return $( "<li></li>" ) - .data( "item.autocomplete", item ) - .append( "<a>" + item.label + "<br>" + item.desc + "</a>" ) - .appendTo( ul ); - }; - }); - </script> -</head> -<body> - -<div class="demo"> - <div id="project-label">Select a project (type "j" for a start):</div> - <img id="project-icon" src="images/transparent_1x1.png" class="ui-state-default"/> - <input id="project"/> - <input type="hidden" id="project-id"/> - <p id="project-description"></p> -</div><!-- End demo --> - - - -<div class="demo-description"> -<p>You can use your own custom data formats and displays by simply overriding the default focus and select actions.</p> -<p>Try typing "j" to get a list of projects or just press the down arrow.</p> -</div><!-- End demo-description --> - -</body> -</html> diff --git a/include/jquery_ui/development-bundle/demos/autocomplete/default.html b/include/jquery_ui/development-bundle/demos/autocomplete/default.html deleted file mode 100644 index dbecdda8a..000000000 --- a/include/jquery_ui/development-bundle/demos/autocomplete/default.html +++ /dev/null @@ -1,64 +0,0 @@ -<!DOCTYPE html> -<html lang="en"> -<head> - <meta charset="utf-8"> - <title>jQuery UI Autocomplete - Default functionality</title> - <link rel="stylesheet" href="../../themes/base/jquery.ui.all.css"> - <script src="../../jquery-1.7.2.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.autocomplete.js"></script> - <link rel="stylesheet" href="../demos.css"> - <script> - $(function() { - var availableTags = [ - "ActionScript", - "AppleScript", - "Asp", - "BASIC", - "C", - "C++", - "Clojure", - "COBOL", - "ColdFusion", - "Erlang", - "Fortran", - "Groovy", - "Haskell", - "Java", - "JavaScript", - "Lisp", - "Perl", - "PHP", - "Python", - "Ruby", - "Scala", - "Scheme" - ]; - $( "#tags" ).autocomplete({ - source: availableTags - }); - }); - </script> -</head> -<body> - -<div class="demo"> - -<div class="ui-widget"> - <label for="tags">Tags: </label> - <input id="tags" /> -</div> - -</div><!-- End demo --> - - - -<div class="demo-description"> -<p>The Autocomplete widgets provides suggestions while you type into the field. Here the suggestions are tags for programming languages, give "ja" (for Java or JavaScript) a try.</p> -<p>The datasource is a simple JavaScript array, provided to the widget using the source-option.</p> -</div><!-- End demo-description --> - -</body> -</html> diff --git a/include/jquery_ui/development-bundle/demos/autocomplete/folding.html b/include/jquery_ui/development-bundle/demos/autocomplete/folding.html deleted file mode 100644 index a580c9dfb..000000000 --- a/include/jquery_ui/development-bundle/demos/autocomplete/folding.html +++ /dev/null @@ -1,62 +0,0 @@ -<!DOCTYPE html> -<html lang="en"> -<head> - <meta charset="utf-8"> - <title>jQuery UI Autocomplete - Accent folding</title> - <link rel="stylesheet" href="../../themes/base/jquery.ui.all.css"> - <script src="../../jquery-1.7.2.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.autocomplete.js"></script> - <link rel="stylesheet" href="../demos.css"> - <script> - $(function() { - var names = [ "Jörn Zaefferer", "Scott González", "John Resig" ]; - - var accentMap = { - "á": "a", - "ö": "o" - }; - var normalize = function( term ) { - var ret = ""; - for ( var i = 0; i < term.length; i++ ) { - ret += accentMap[ term.charAt(i) ] || term.charAt(i); - } - return ret; - }; - - $( "#developer" ).autocomplete({ - source: function( request, response ) { - var matcher = new RegExp( $.ui.autocomplete.escapeRegex( request.term ), "i" ); - response( $.grep( names, function( value ) { - value = value.label || value.value || value; - return matcher.test( value ) || matcher.test( normalize( value ) ); - }) ); - } - }); - }); - </script> -</head> -<body> - -<div class="demo"> - -<div class="ui-widget"> - <form> - <label for="developer">Developer: </label> - <input id="developer" /> - </form> -</div> - -</div><!-- End demo --> - - - -<div class="demo-description"> -<p>The autocomplete field uses a custom source option which will match results that have accented characters even when the text field doesn't contain accented characters. However if the you type in accented characters in the text field it is smart enough not to show results that aren't accented.</p> -<p>Try typing "Jo" to see "John" and "Jörn", then type "Jö" to see only "Jörn".</p> -</div><!-- End demo-description --> - -</body> -</html> diff --git a/include/jquery_ui/development-bundle/demos/autocomplete/images/jquery_32x32.png b/include/jquery_ui/development-bundle/demos/autocomplete/images/jquery_32x32.png Binary files differdeleted file mode 100644 index 9312f02d5..000000000 --- a/include/jquery_ui/development-bundle/demos/autocomplete/images/jquery_32x32.png +++ /dev/null diff --git a/include/jquery_ui/development-bundle/demos/autocomplete/images/jqueryui_32x32.png b/include/jquery_ui/development-bundle/demos/autocomplete/images/jqueryui_32x32.png Binary files differdeleted file mode 100644 index e003d16c1..000000000 --- a/include/jquery_ui/development-bundle/demos/autocomplete/images/jqueryui_32x32.png +++ /dev/null diff --git a/include/jquery_ui/development-bundle/demos/autocomplete/images/sizzlejs_32x32.png b/include/jquery_ui/development-bundle/demos/autocomplete/images/sizzlejs_32x32.png Binary files differdeleted file mode 100644 index 4ce0704d1..000000000 --- a/include/jquery_ui/development-bundle/demos/autocomplete/images/sizzlejs_32x32.png +++ /dev/null diff --git a/include/jquery_ui/development-bundle/demos/autocomplete/images/transparent_1x1.png b/include/jquery_ui/development-bundle/demos/autocomplete/images/transparent_1x1.png Binary files differdeleted file mode 100644 index c2da5b889..000000000 --- a/include/jquery_ui/development-bundle/demos/autocomplete/images/transparent_1x1.png +++ /dev/null diff --git a/include/jquery_ui/development-bundle/demos/autocomplete/images/ui-anim_basic_16x16.gif b/include/jquery_ui/development-bundle/demos/autocomplete/images/ui-anim_basic_16x16.gif Binary files differdeleted file mode 100644 index 084ecb879..000000000 --- a/include/jquery_ui/development-bundle/demos/autocomplete/images/ui-anim_basic_16x16.gif +++ /dev/null diff --git a/include/jquery_ui/development-bundle/demos/autocomplete/index.html b/include/jquery_ui/development-bundle/demos/autocomplete/index.html deleted file mode 100644 index 77f801996..000000000 --- a/include/jquery_ui/development-bundle/demos/autocomplete/index.html +++ /dev/null @@ -1,27 +0,0 @@ -<!DOCTYPE html> -<html lang="en"> -<head> - <meta charset="utf-8"> - <title>jQuery UI Autocomplete Demos</title> - <link rel="stylesheet" href="../demos.css"> -</head> -<body> - <div class="demos-nav"> - <h4>Examples</h4> - <ul> - <li class="demo-config-on"><a href="default.html">Default functionality</a></li> - <li><a href="remote.html">Remote datasource</a></li> - <li><a href="remote-with-cache.html">Remote with caching</a></li> - <li><a href="remote-jsonp.html">Remote JSONP datasource</a></li> - <li><a href="maxheight.html">Scrollable results</a></li> - <li><a href="combobox.html">Combobox</a></li> - <li><a href="custom-data.html">Custom data and display</a></li> - <li><a href="xml.html">XML data parsed once</a></li> - <li><a href="categories.html">Categories</a></li> - <li><a href="folding.html">Accent folding</a></li> - <li><a href="multiple.html">Multiple values</a></li> - <li><a href="multiple-remote.html">Multiple, remote</a></li> - </ul> - </div> -</body> -</html> diff --git a/include/jquery_ui/development-bundle/demos/autocomplete/london.xml b/include/jquery_ui/development-bundle/demos/autocomplete/london.xml deleted file mode 100644 index 262854998..000000000 --- a/include/jquery_ui/development-bundle/demos/autocomplete/london.xml +++ /dev/null @@ -1,114 +0,0 @@ -<?xml version="1.0" encoding="UTF-8" standalone="no"?> -<geonames style="MEDIUM"> -<totalResultsCount>6987</totalResultsCount> -<geoname> -<name>London</name> -<lat>51.5084152563931</lat> -<lng>-0.125532746315002</lng> -<geonameId>2643743</geonameId> -<countryCode>GB</countryCode> -<countryName>United Kingdom</countryName> - -<fcl>P</fcl> -<fcode>PPLC</fcode> -</geoname> -<geoname> -<name>London</name> -<lat>42.983389283</lat> -<lng>-81.233042387</lng> -<geonameId>6058560</geonameId> -<countryCode>CA</countryCode> -<countryName>Canada</countryName> - -<fcl>P</fcl> -<fcode>PPL</fcode> -</geoname> -<geoname> -<name>East London</name> -<lat>-33.0152850934643</lat> -<lng>27.9116249084473</lng> -<geonameId>1006984</geonameId> -<countryCode>ZA</countryCode> -<countryName>South Africa</countryName> - -<fcl>P</fcl> -<fcode>PPL</fcode> -</geoname> -<geoname> -<name>City</name> -<lat>51.5133363996235</lat> -<lng>-0.0890064239501953</lng> -<geonameId>2643744</geonameId> -<countryCode>GB</countryCode> -<countryName>United Kingdom</countryName> - -<fcl>A</fcl> -<fcode>ADM2</fcode> -</geoname> -<geoname> -<name>London</name> -<lat>37.1289771</lat> -<lng>-84.0832646</lng> -<geonameId>4298960</geonameId> -<countryCode>US</countryCode> -<countryName>United States</countryName> - -<fcl>P</fcl> -<fcode>PPL</fcode> -</geoname> -<geoname> -<name>The Tower of London</name> -<lat>51.5082349601834</lat> -<lng>-0.0763034820556641</lng> -<geonameId>6286786</geonameId> -<countryCode>GB</countryCode> -<countryName>United Kingdom</countryName> - -<fcl>S</fcl> -<fcode>CSTL</fcode> -</geoname> -<geoname> -<name>London Reefs</name> -<lat>8.85</lat> -<lng>112.5333333</lng> -<geonameId>1879967</geonameId> -<countryCode> </countryCode> -<countryName> </countryName> - -<fcl>U</fcl> -<fcode>RFSU</fcode> -</geoname> -<geoname> -<name>Greater London</name> -<lat>51.5</lat> -<lng>-0.1666667</lng> -<geonameId>2648110</geonameId> -<countryCode>GB</countryCode> -<countryName>United Kingdom</countryName> - -<fcl>A</fcl> -<fcode>ADM2</fcode> -</geoname> -<geoname> -<name>London</name> -<lat>46.1666667</lat> -<lng>6.0166667</lng> -<geonameId>2661811</geonameId> -<countryCode>CH</countryCode> -<countryName>Switzerland</countryName> - -<fcl>H</fcl> -<fcode>STM</fcode> -</geoname> -<geoname> -<name>London Borough of Islington</name> -<lat>51.5333333</lat> -<lng>-0.1333333</lng> -<geonameId>3333156</geonameId> -<countryCode>GB</countryCode> -<countryName>United Kingdom</countryName> - -<fcl>A</fcl> -<fcode>ADM2</fcode> -</geoname> -</geonames> diff --git a/include/jquery_ui/development-bundle/demos/autocomplete/maxheight.html b/include/jquery_ui/development-bundle/demos/autocomplete/maxheight.html deleted file mode 100644 index 1b6b2bd56..000000000 --- a/include/jquery_ui/development-bundle/demos/autocomplete/maxheight.html +++ /dev/null @@ -1,79 +0,0 @@ -<!DOCTYPE html> -<html lang="en"> -<head> - <meta charset="utf-8"> - <title>jQuery UI Autocomplete - Scrollable results</title> - <link rel="stylesheet" href="../../themes/base/jquery.ui.all.css"> - <script src="../../jquery-1.7.2.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.autocomplete.js"></script> - <link rel="stylesheet" href="../demos.css"> - <style> - .ui-autocomplete { - max-height: 100px; - overflow-y: auto; - /* prevent horizontal scrollbar */ - overflow-x: hidden; - /* add padding to account for vertical scrollbar */ - padding-right: 20px; - } - /* IE 6 doesn't support max-height - * we use height instead, but this forces the menu to always be this tall - */ - * html .ui-autocomplete { - height: 100px; - } - </style> - <script> - $(function() { - var availableTags = [ - "ActionScript", - "AppleScript", - "Asp", - "BASIC", - "C", - "C++", - "Clojure", - "COBOL", - "ColdFusion", - "Erlang", - "Fortran", - "Groovy", - "Haskell", - "Java", - "JavaScript", - "Lisp", - "Perl", - "PHP", - "Python", - "Ruby", - "Scala", - "Scheme" - ]; - $( "#tags" ).autocomplete({ - source: availableTags - }); - }); - </script> -</head> -<body> - -<div class="demo"> - -<div class="ui-widget"> - <label for="tags">Tags: </label> - <input id="tags" /> -</div> - -</div><!-- End demo --> - - - -<div class="demo-description"> -<p>When displaying a long list of options, you can simply set the max-height for the autocomplete menu to prevent the menu from growing too large. Try typing "a" or "s" above to get a long list of results that you can scroll through.</p> -</div><!-- End demo-description --> - -</body> -</html> diff --git a/include/jquery_ui/development-bundle/demos/autocomplete/multiple-remote.html b/include/jquery_ui/development-bundle/demos/autocomplete/multiple-remote.html deleted file mode 100644 index 4a77fadd1..000000000 --- a/include/jquery_ui/development-bundle/demos/autocomplete/multiple-remote.html +++ /dev/null @@ -1,84 +0,0 @@ -<!DOCTYPE html> -<html lang="en"> -<head> - <meta charset="utf-8"> - <title>jQuery UI Autocomplete - Multiple, remote</title> - <link rel="stylesheet" href="../../themes/base/jquery.ui.all.css"> - <script src="../../jquery-1.7.2.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.autocomplete.js"></script> - <link rel="stylesheet" href="../demos.css"> - <style> - .ui-autocomplete-loading { background: white url('images/ui-anim_basic_16x16.gif') right center no-repeat; } - </style> - <script> - $(function() { - function split( val ) { - return val.split( /,\s*/ ); - } - function extractLast( term ) { - return split( term ).pop(); - } - - $( "#birds" ) - // don't navigate away from the field on tab when selecting an item - .bind( "keydown", function( event ) { - if ( event.keyCode === $.ui.keyCode.TAB && - $( this ).data( "autocomplete" ).menu.active ) { - event.preventDefault(); - } - }) - .autocomplete({ - source: function( request, response ) { - $.getJSON( "search.php", { - term: extractLast( request.term ) - }, response ); - }, - search: function() { - // custom minLength - var term = extractLast( this.value ); - if ( term.length < 2 ) { - return false; - } - }, - focus: function() { - // prevent value inserted on focus - return false; - }, - select: function( event, ui ) { - var terms = split( this.value ); - // remove the current input - terms.pop(); - // add the selected item - terms.push( ui.item.value ); - // add placeholder to get the comma-and-space at the end - terms.push( "" ); - this.value = terms.join( ", " ); - return false; - } - }); - }); - </script> -</head> -<body> - -<div class="demo"> - -<div class="ui-widget"> - <label for="birds">Birds: </label> - <input id="birds" size="50" /> -</div> - -</div><!-- End demo --> - - - -<div class="demo-description"> -<p>Usage: Enter at least two characters to get bird name suggestions. Select a value to continue adding more names.</p> -<p>This is an example showing how to use the source-option along with some events to enable autocompleting multiple values into a single field.</p> -</div><!-- End demo-description --> - -</body> -</html> diff --git a/include/jquery_ui/development-bundle/demos/autocomplete/multiple.html b/include/jquery_ui/development-bundle/demos/autocomplete/multiple.html deleted file mode 100644 index ade18ce3a..000000000 --- a/include/jquery_ui/development-bundle/demos/autocomplete/multiple.html +++ /dev/null @@ -1,99 +0,0 @@ -<!DOCTYPE html> -<html lang="en"> -<head> - <meta charset="utf-8"> - <title>jQuery UI Autocomplete - Multiple values</title> - <link rel="stylesheet" href="../../themes/base/jquery.ui.all.css"> - <script src="../../jquery-1.7.2.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.autocomplete.js"></script> - <link rel="stylesheet" href="../demos.css"> - <script> - $(function() { - var availableTags = [ - "ActionScript", - "AppleScript", - "Asp", - "BASIC", - "C", - "C++", - "Clojure", - "COBOL", - "ColdFusion", - "Erlang", - "Fortran", - "Groovy", - "Haskell", - "Java", - "JavaScript", - "Lisp", - "Perl", - "PHP", - "Python", - "Ruby", - "Scala", - "Scheme" - ]; - function split( val ) { - return val.split( /,\s*/ ); - } - function extractLast( term ) { - return split( term ).pop(); - } - - $( "#tags" ) - // don't navigate away from the field on tab when selecting an item - .bind( "keydown", function( event ) { - if ( event.keyCode === $.ui.keyCode.TAB && - $( this ).data( "autocomplete" ).menu.active ) { - event.preventDefault(); - } - }) - .autocomplete({ - minLength: 0, - source: function( request, response ) { - // delegate back to autocomplete, but extract the last term - response( $.ui.autocomplete.filter( - availableTags, extractLast( request.term ) ) ); - }, - focus: function() { - // prevent value inserted on focus - return false; - }, - select: function( event, ui ) { - var terms = split( this.value ); - // remove the current input - terms.pop(); - // add the selected item - terms.push( ui.item.value ); - // add placeholder to get the comma-and-space at the end - terms.push( "" ); - this.value = terms.join( ", " ); - return false; - } - }); - }); - </script> -</head> -<body> - -<div class="demo"> - -<div class="ui-widget"> - <label for="tags">Tag programming languages: </label> - <input id="tags" size="50" /> -</div> - -</div><!-- End demo --> - - - -<div class="demo-description"> -<p>Usage: Type something, eg. "j" to see suggestions for tagging with programming languages. Select a value, then continue typing to add more.</p> -<p>This is an example showing how to use the source-option along with some events to enable autocompleting multiple values into a single field.</p> -</div><!-- End demo-description --> - -</body> -</html> diff --git a/include/jquery_ui/development-bundle/demos/autocomplete/remote-jsonp.html b/include/jquery_ui/development-bundle/demos/autocomplete/remote-jsonp.html deleted file mode 100644 index 956e0ce96..000000000 --- a/include/jquery_ui/development-bundle/demos/autocomplete/remote-jsonp.html +++ /dev/null @@ -1,86 +0,0 @@ -<!DOCTYPE html> -<html lang="en"> -<head> - <meta charset="utf-8"> - <title>jQuery UI Autocomplete - Remote JSONP datasource</title> - <link rel="stylesheet" href="../../themes/base/jquery.ui.all.css"> - <script src="../../jquery-1.7.2.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.autocomplete.js"></script> - <link rel="stylesheet" href="../demos.css"> - <style> - .ui-autocomplete-loading { background: white url('images/ui-anim_basic_16x16.gif') right center no-repeat; } - #city { width: 25em; } - </style> - <script> - $(function() { - function log( message ) { - $( "<div/>" ).text( message ).prependTo( "#log" ); - $( "#log" ).scrollTop( 0 ); - } - - $( "#city" ).autocomplete({ - source: function( request, response ) { - $.ajax({ - url: "http://ws.geonames.org/searchJSON", - dataType: "jsonp", - data: { - featureClass: "P", - style: "full", - maxRows: 12, - name_startsWith: request.term - }, - success: function( data ) { - response( $.map( data.geonames, function( item ) { - return { - label: item.name + (item.adminName1 ? ", " + item.adminName1 : "") + ", " + item.countryName, - value: item.name - } - })); - } - }); - }, - minLength: 2, - select: function( event, ui ) { - log( ui.item ? - "Selected: " + ui.item.label : - "Nothing selected, input was " + this.value); - }, - open: function() { - $( this ).removeClass( "ui-corner-all" ).addClass( "ui-corner-top" ); - }, - close: function() { - $( this ).removeClass( "ui-corner-top" ).addClass( "ui-corner-all" ); - } - }); - }); - </script> -</head> -<body> - -<div class="demo"> - -<div class="ui-widget"> - <label for="city">Your city: </label> - <input id="city" /> - Powered by <a href="http://geonames.org">geonames.org</a> -</div> - -<div class="ui-widget" style="margin-top:2em; font-family:Arial"> - Result: - <div id="log" style="height: 200px; width: 300px; overflow: auto;" class="ui-widget-content"></div> -</div> - -</div><!-- End demo --> - - - -<div class="demo-description"> -<p>The Autocomplete widgets provides suggestions while you type into the field. Here the suggestions are cities, displayed when at least two characters are entered into the field.</p> -<p>In this case, the datasource is the <a href="http://geonames.org">geonames.org webservice</a>. While only the city name itself ends up in the input after selecting an element, more info is displayed in the suggestions to help find the right entry. That data is also available in callbacks, as illustrated by the Result area below the input.</p> -</div><!-- End demo-description --> - -</body> -</html> diff --git a/include/jquery_ui/development-bundle/demos/autocomplete/remote-with-cache.html b/include/jquery_ui/development-bundle/demos/autocomplete/remote-with-cache.html deleted file mode 100644 index 054baa60f..000000000 --- a/include/jquery_ui/development-bundle/demos/autocomplete/remote-with-cache.html +++ /dev/null @@ -1,59 +0,0 @@ -<!DOCTYPE html> -<html lang="en"> -<head> - <meta charset="utf-8"> - <title>jQuery UI Autocomplete - Remote with caching</title> - <link rel="stylesheet" href="../../themes/base/jquery.ui.all.css"> - <script src="../../jquery-1.7.2.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.autocomplete.js"></script> - <link rel="stylesheet" href="../demos.css"> - <style> - .ui-autocomplete-loading { background: white url('images/ui-anim_basic_16x16.gif') right center no-repeat; } - </style> - <script> - $(function() { - var cache = {}, - lastXhr; - $( "#birds" ).autocomplete({ - minLength: 2, - source: function( request, response ) { - var term = request.term; - if ( term in cache ) { - response( cache[ term ] ); - return; - } - - lastXhr = $.getJSON( "search.php", request, function( data, status, xhr ) { - cache[ term ] = data; - if ( xhr === lastXhr ) { - response( data ); - } - }); - } - }); - }); - </script> -</head> -<body> - -<div class="demo"> - -<div class="ui-widget"> - <label for="birds">Birds: </label> - <input id="birds" /> -</div> - -</div><!-- End demo --> - - - -<div class="demo-description"> -<p>The Autocomplete widgets provides suggestions while you type into the field. Here the suggestions are bird names, displayed when at least two characters are entered into the field.</p> -<p>Similar to the remote datasource demo, though this adds some local caching to improve performance. The cache here saves just one query, and could be extended to cache multiple values, one for each term.</p> -</div><!-- End demo-description --> - -</body> -</html> diff --git a/include/jquery_ui/development-bundle/demos/autocomplete/remote.html b/include/jquery_ui/development-bundle/demos/autocomplete/remote.html deleted file mode 100644 index 2e8fbff71..000000000 --- a/include/jquery_ui/development-bundle/demos/autocomplete/remote.html +++ /dev/null @@ -1,59 +0,0 @@ -<!DOCTYPE html> -<html lang="en"> -<head> - <meta charset="utf-8"> - <title>jQuery UI Autocomplete - Remote datasource</title> - <link rel="stylesheet" href="../../themes/base/jquery.ui.all.css"> - <script src="../../jquery-1.7.2.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.autocomplete.js"></script> - <link rel="stylesheet" href="../demos.css"> - <style> - .ui-autocomplete-loading { background: white url('images/ui-anim_basic_16x16.gif') right center no-repeat; } - </style> - <script> - $(function() { - function log( message ) { - $( "<div/>" ).text( message ).prependTo( "#log" ); - $( "#log" ).scrollTop( 0 ); - } - - $( "#birds" ).autocomplete({ - source: "search.php", - minLength: 2, - select: function( event, ui ) { - log( ui.item ? - "Selected: " + ui.item.value + " aka " + ui.item.id : - "Nothing selected, input was " + this.value ); - } - }); - }); - </script> -</head> -<body> - -<div class="demo"> - -<div class="ui-widget"> - <label for="birds">Birds: </label> - <input id="birds" /> -</div> - -<div class="ui-widget" style="margin-top:2em; font-family:Arial"> - Result: - <div id="log" style="height: 200px; width: 300px; overflow: auto;" class="ui-widget-content"></div> -</div> - -</div><!-- End demo --> - - - -<div class="demo-description"> -<p>The Autocomplete widgets provides suggestions while you type into the field. Here the suggestions are bird names, displayed when at least two characters are entered into the field.</p> -<p>The datasource is a server-side script which returns JSON data, specified via a simple URL for the source-option. In addition, the minLength-option is set to 2 to avoid queries that would return too many results and the select-event is used to display some feedback.</p> -</div><!-- End demo-description --> - -</body> -</html> diff --git a/include/jquery_ui/development-bundle/demos/autocomplete/search.php b/include/jquery_ui/development-bundle/demos/autocomplete/search.php deleted file mode 100644 index 8fa9d28f8..000000000 --- a/include/jquery_ui/development-bundle/demos/autocomplete/search.php +++ /dev/null @@ -1,640 +0,0 @@ -<?php - -$q = strtolower($_GET["term"]); -if (!$q) return; -$items = array( -"Great Bittern"=>"Botaurus stellaris", -"Little Grebe"=>"Tachybaptus ruficollis", -"Black-necked Grebe"=>"Podiceps nigricollis", -"Little Bittern"=>"Ixobrychus minutus", -"Black-crowned Night Heron"=>"Nycticorax nycticorax", -"Purple Heron"=>"Ardea purpurea", -"White Stork"=>"Ciconia ciconia", -"Spoonbill"=>"Platalea leucorodia", -"Red-crested Pochard"=>"Netta rufina", -"Common Eider"=>"Somateria mollissima", -"Red Kite"=>"Milvus milvus", -"Hen Harrier"=>"Circus cyaneus", -"Montagu`s Harrier"=>"Circus pygargus", -"Black Grouse"=>"Tetrao tetrix", -"Grey Partridge"=>"Perdix perdix", -"Spotted Crake"=>"Porzana porzana", -"Corncrake"=>"Crex crex", -"Common Crane"=>"Grus grus", -"Avocet"=>"Recurvirostra avosetta", -"Stone Curlew"=>"Burhinus oedicnemus", -"Common Ringed Plover"=>"Charadrius hiaticula", -"Kentish Plover"=>"Charadrius alexandrinus", -"Ruff"=>"Philomachus pugnax", -"Common Snipe"=>"Gallinago gallinago", -"Black-tailed Godwit"=>"Limosa limosa", -"Common Redshank"=>"Tringa totanus", -"Sandwich Tern"=>"Sterna sandvicensis", -"Common Tern"=>"Sterna hirundo", -"Arctic Tern"=>"Sterna paradisaea", -"Little Tern"=>"Sternula albifrons", -"Black Tern"=>"Chlidonias niger", -"Barn Owl"=>"Tyto alba", -"Little Owl"=>"Athene noctua", -"Short-eared Owl"=>"Asio flammeus", -"European Nightjar"=>"Caprimulgus europaeus", -"Common Kingfisher"=>"Alcedo atthis", -"Eurasian Hoopoe"=>"Upupa epops", -"Eurasian Wryneck"=>"Jynx torquilla", -"European Green Woodpecker"=>"Picus viridis", -"Crested Lark"=>"Galerida cristata", -"White-headed Duck"=>"Oxyura leucocephala", -"Pale-bellied Brent Goose"=>"Branta hrota", -"Tawny Pipit"=>"Anthus campestris", -"Whinchat"=>"Saxicola rubetra", -"European Stonechat"=>"Saxicola rubicola", -"Northern Wheatear"=>"Oenanthe oenanthe", -"Savi`s Warbler"=>"Locustella luscinioides", -"Sedge Warbler"=>"Acrocephalus schoenobaenus", -"Great Reed Warbler"=>"Acrocephalus arundinaceus", -"Bearded Reedling"=>"Panurus biarmicus", -"Red-backed Shrike"=>"Lanius collurio", -"Great Grey Shrike"=>"Lanius excubitor", -"Woodchat Shrike"=>"Lanius senator", -"Common Raven"=>"Corvus corax", -"Yellowhammer"=>"Emberiza citrinella", -"Ortolan Bunting"=>"Emberiza hortulana", -"Corn Bunting"=>"Emberiza calandra", -"Great Cormorant"=>"Phalacrocorax carbo", -"Hawfinch"=>"Coccothraustes coccothraustes", -"Common Shelduck"=>"Tadorna tadorna", -"Bluethroat"=>"Luscinia svecica", -"Grey Heron"=>"Ardea cinerea", -"Barn Swallow"=>"Hirundo rustica", -"Hooded Crow"=>"Corvus cornix", -"Dunlin"=>"Calidris alpina", -"Eurasian Pied Flycatcher"=>"Ficedula hypoleuca", -"Eurasian Nuthatch"=>"Sitta europaea", -"Short-toed Tree Creeper"=>"Certhia brachydactyla", -"Wood Lark"=>"Lullula arborea", -"Tree Pipit"=>"Anthus trivialis", -"Eurasian Hobby"=>"Falco subbuteo", -"Marsh Warbler"=>"Acrocephalus palustris", -"Wood Sandpiper"=>"Tringa glareola", -"Tawny Owl"=>"Strix aluco", -"Lesser Whitethroat"=>"Sylvia curruca", -"Barnacle Goose"=>"Branta leucopsis", -"Common Goldeneye"=>"Bucephala clangula", -"Western Marsh Harrier"=>"Circus aeruginosus", -"Common Buzzard"=>"Buteo buteo", -"Sanderling"=>"Calidris alba", -"Little Gull"=>"Larus minutus", -"Eurasian Magpie"=>"Pica pica", -"Willow Warbler"=>"Phylloscopus trochilus", -"Wood Warbler"=>"Phylloscopus sibilatrix", -"Great Crested Grebe"=>"Podiceps cristatus", -"Eurasian Jay"=>"Garrulus glandarius", -"Common Redstart"=>"Phoenicurus phoenicurus", -"Blue-headed Wagtail"=>"Motacilla flava", -"Common Swift"=>"Apus apus", -"Marsh Tit"=>"Poecile palustris", -"Goldcrest"=>"Regulus regulus", -"European Golden Plover"=>"Pluvialis apricaria", -"Eurasian Bullfinch"=>"Pyrrhula pyrrhula", -"Common Whitethroat"=>"Sylvia communis", -"Meadow Pipit"=>"Anthus pratensis", -"Greylag Goose"=>"Anser anser", -"Spotted Flycatcher"=>"Muscicapa striata", -"European Greenfinch"=>"Carduelis chloris", -"Common Greenshank"=>"Tringa nebularia", -"Great Spotted Woodpecker"=>"Dendrocopos major", -"Greater Canada Goose"=>"Branta canadensis", -"Mistle Thrush"=>"Turdus viscivorus", -"Great Black-backed Gull"=>"Larus marinus", -"Goosander"=>"Mergus merganser", -"Great Egret"=>"Casmerodius albus", -"Northern Goshawk"=>"Accipiter gentilis", -"Dunnock"=>"Prunella modularis", -"Stock Dove"=>"Columba oenas", -"Common Wood Pigeon"=>"Columba palumbus", -"Eurasian Woodcock"=>"Scolopax rusticola", -"House Sparrow"=>"Passer domesticus", -"Common House Martin"=>"Delichon urbicum", -"Red Knot"=>"Calidris canutus", -"Western Jackdaw"=>"Corvus monedula", -"Brambling"=>"Fringilla montifringilla", -"Northern Lapwing"=>"Vanellus vanellus", -"European Reed Warbler"=>"Acrocephalus scirpaceus", -"Lesser Black-backed Gull"=>"Larus fuscus", -"Little Egret"=>"Egretta garzetta", -"Little Stint"=>"Calidris minuta", -"Common Linnet"=>"Carduelis cannabina", -"Mute Swan"=>"Cygnus olor", -"Common Cuckoo"=>"Cuculus canorus", -"Black-headed Gull"=>"Larus ridibundus", -"Greater White-fronted Goose"=>"Anser albifrons", -"Great Tit"=>"Parus major", -"Redwing"=>"Turdus iliacus", -"Gadwall"=>"Anas strepera", -"Fieldfare"=>"Turdus pilaris", -"Tufted Duck"=>"Aythya fuligula", -"Crested Tit"=>"Lophophanes cristatus", -"Willow Tit"=>"Poecile montanus", -"Eurasian Coot"=>"Fulica atra", -"Common Blackbird"=>"Turdus merula", -"Smew"=>"Mergus albellus", -"Common Sandpiper"=>"Actitis hypoleucos", -"Sand Martin"=>"Riparia riparia", -"Purple Sandpiper"=>"Calidris maritima", -"Northern Pintail"=>"Anas acuta", -"Blue Tit"=>"Cyanistes caeruleus", -"European Goldfinch"=>"Carduelis carduelis", -"Eurasian Whimbrel"=>"Numenius phaeopus", -"Common Reed Bunting"=>"Emberiza schoeniclus", -"Eurasian Tree Sparrow"=>"Passer montanus", -"Rook"=>"Corvus frugilegus", -"European Robin"=>"Erithacus rubecula", -"Bar-tailed Godwit"=>"Limosa lapponica", -"Dark-bellied Brent Goose"=>"Branta bernicla", -"Eurasian Oystercatcher"=>"Haematopus ostralegus", -"Eurasian Siskin"=>"Carduelis spinus", -"Northern Shoveler"=>"Anas clypeata", -"Eurasian Wigeon"=>"Anas penelope", -"Eurasian Sparrow Hawk"=>"Accipiter nisus", -"Icterine Warbler"=>"Hippolais icterina", -"Common Starling"=>"Sturnus vulgaris", -"Long-tailed Tit"=>"Aegithalos caudatus", -"Ruddy Turnstone"=>"Arenaria interpres", -"Mew Gull"=>"Larus canus", -"Common Pochard"=>"Aythya ferina", -"Common Chiffchaff"=>"Phylloscopus collybita", -"Greater Scaup"=>"Aythya marila", -"Common Kestrel"=>"Falco tinnunculus", -"Garden Warbler"=>"Sylvia borin", -"Eurasian Collared Dove"=>"Streptopelia decaocto", -"Eurasian Skylark"=>"Alauda arvensis", -"Common Chaffinch"=>"Fringilla coelebs", -"Common Moorhen"=>"Gallinula chloropus", -"Water Pipit"=>"Anthus spinoletta", -"Mallard"=>"Anas platyrhynchos", -"Winter Wren"=>"Troglodytes troglodytes", -"Common Teal"=>"Anas crecca", -"Green Sandpiper"=>"Tringa ochropus", -"White Wagtail"=>"Motacilla alba", -"Eurasian Curlew"=>"Numenius arquata", -"Song Thrush"=>"Turdus philomelos", -"European Herring Gull"=>"Larus argentatus", -"Grey Plover"=>"Pluvialis squatarola", -"Carrion Crow"=>"Corvus corone", -"Coal Tit"=>"Periparus ater", -"Spotted Redshank"=>"Tringa erythropus", -"Blackcap"=>"Sylvia atricapilla", -"Egyptian Vulture"=>"Neophron percnopterus", -"Razorbill"=>"Alca torda", -"Alpine Swift"=>"Apus melba", -"Long-legged Buzzard"=>"Buteo rufinus", -"Audouin`s Gull"=>"Larus audouinii", -"Balearic Shearwater"=>"Puffinus mauretanicus", -"Upland Sandpiper"=>"Bartramia longicauda", -"Greater Spotted Eagle"=>"Aquila clanga", -"Ring Ouzel"=>"Turdus torquatus", -"Yellow-browed Warbler"=>"Phylloscopus inornatus", -"Blue Rock Thrush"=>"Monticola solitarius", -"Buff-breasted Sandpiper"=>"Tryngites subruficollis", -"Jack Snipe"=>"Lymnocryptes minimus", -"White-rumped Sandpiper"=>"Calidris fuscicollis", -"Ruddy Shelduck"=>"Tadorna ferruginea", -"Cetti's Warbler"=>"Cettia cetti", -"Citrine Wagtail"=>"Motacilla citreola", -"Roseate Tern"=>"Sterna dougallii", -"Black-legged Kittiwake"=>"Rissa tridactyla", -"Pygmy Cormorant"=>"Phalacrocorax pygmeus", -"Booted Eagle"=>"Aquila pennata", -"Lesser White-fronted Goose"=>"Anser erythropus", -"Little Bunting"=>"Emberiza pusilla", -"Eleonora's Falcon"=>"Falco eleonorae", -"European Serin"=>"Serinus serinus", -"Twite"=>"Carduelis flavirostris", -"Yellow-legged Gull"=>"Larus michahellis", -"Gyr Falcon"=>"Falco rusticolus", -"Greenish Warbler"=>"Phylloscopus trochiloides", -"Red-necked Phalarope"=>"Phalaropus lobatus", -"Mealy Redpoll"=>"Carduelis flammea", -"Glaucous Gull"=>"Larus hyperboreus", -"Great Skua"=>"Stercorarius skua", -"Great Bustard"=>"Otis tarda", -"Velvet Scoter"=>"Melanitta fusca", -"Pine Grosbeak"=>"Pinicola enucleator", -"House Crow"=>"Corvus splendens", -"Hume`s Leaf Warbler"=>"Phylloscopus humei", -"Great Northern Loon"=>"Gavia immer", -"Long-tailed Duck"=>"Clangula hyemalis", -"Lapland Longspur"=>"Calcarius lapponicus", -"Northern Gannet"=>"Morus bassanus", -"Eastern Imperial Eagle"=>"Aquila heliaca", -"Little Auk"=>"Alle alle", -"Lesser Spotted Woodpecker"=>"Dendrocopos minor", -"Iceland Gull"=>"Larus glaucoides", -"Parasitic Jaeger"=>"Stercorarius parasiticus", -"Bewick`s Swan"=>"Cygnus bewickii", -"Little Bustard"=>"Tetrax tetrax", -"Little Crake"=>"Porzana parva", -"Baillon`s Crake"=>"Porzana pusilla", -"Long-tailed Jaeger"=>"Stercorarius longicaudus", -"King Eider"=>"Somateria spectabilis", -"Greater Short-toed Lark"=>"Calandrella brachydactyla", -"Houbara Bustard"=>"Chlamydotis undulata", -"Curlew Sandpiper"=>"Calidris ferruginea", -"Common Crossbill"=>"Loxia curvirostra", -"European Shag"=>"Phalacrocorax aristotelis", -"Horned Grebe"=>"Podiceps auritus", -"Common Quail"=>"Coturnix coturnix", -"Bearded Vulture"=>"Gypaetus barbatus", -"Lanner Falcon"=>"Falco biarmicus", -"Middle Spotted Woodpecker"=>"Dendrocopos medius", -"Pomarine Jaeger"=>"Stercorarius pomarinus", -"Red-breasted Merganser"=>"Mergus serrator", -"Eurasian Black Vulture"=>"Aegypius monachus", -"Eurasian Dotterel"=>"Charadrius morinellus", -"Common Nightingale"=>"Luscinia megarhynchos", -"Northern willow warbler"=>"Phylloscopus trochilus acredula", -"Manx Shearwater"=>"Puffinus puffinus", -"Northern Fulmar"=>"Fulmarus glacialis", -"Eurasian Eagle Owl"=>"Bubo bubo", -"Orphean Warbler"=>"Sylvia hortensis", -"Melodious Warbler"=>"Hippolais polyglotta", -"Pallas's Leaf Warbler"=>"Phylloscopus proregulus", -"Atlantic Puffin"=>"Fratercula arctica", -"Black-throated Loon"=>"Gavia arctica", -"Bohemian Waxwing"=>"Bombycilla garrulus", -"Marsh Sandpiper"=>"Tringa stagnatilis", -"Great Snipe"=>"Gallinago media", -"Squacco Heron"=>"Ardeola ralloides", -"Long-eared Owl"=>"Asio otus", -"Caspian Tern"=>"Hydroprogne caspia", -"Red-breasted Goose"=>"Branta ruficollis", -"Red-throated Loon"=>"Gavia stellata", -"Common Rosefinch"=>"Carpodacus erythrinus", -"Red-footed Falcon"=>"Falco vespertinus", -"Ross's Goose"=>"Anser rossii", -"Red Phalarope"=>"Phalaropus fulicarius", -"Pied Wagtail"=>"Motacilla yarrellii", -"Rose-coloured Starling"=>"Sturnus roseus", -"Rough-legged Buzzard"=>"Buteo lagopus", -"Saker Falcon"=>"Falco cherrug", -"European Roller"=>"Coracias garrulus", -"Short-toed Eagle"=>"Circaetus gallicus", -"Peregrine Falcon"=>"Falco peregrinus", -"Merlin"=>"Falco columbarius", -"Snow Goose"=>"Anser caerulescens", -"Snowy Owl"=>"Bubo scandiacus", -"Snow Bunting"=>"Plectrophenax nivalis", -"Common Grasshopper Warbler"=>"Locustella naevia", -"Golden Eagle"=>"Aquila chrysaetos", -"Black-winged Stilt"=>"Himantopus himantopus", -"Steppe Eagle"=>"Aquila nipalensis", -"Pallid Harrier"=>"Circus macrourus", -"European Storm-petrel"=>"Hydrobates pelagicus", -"Horned Lark"=>"Eremophila alpestris", -"Eurasian Treecreeper"=>"Certhia familiaris", -"Taiga Bean Goose"=>"Anser fabalis", -"Temminck`s Stint"=>"Calidris temminckii", -"Terek Sandpiper"=>"Xenus cinereus", -"Tundra Bean Goose"=>"Anser serrirostris", -"European Turtle Dove"=>"Streptopelia turtur", -"Leach`s Storm-petrel"=>"Oceanodroma leucorhoa", -"Eurasian Griffon Vulture"=>"Gyps fulvus", -"Paddyfield Warbler"=>"Acrocephalus agricola", -"Osprey"=>"Pandion haliaetus", -"Firecrest"=>"Regulus ignicapilla", -"Water Rail"=>"Rallus aquaticus", -"European Honey Buzzard"=>"Pernis apivorus", -"Eurasian Golden Oriole"=>"Oriolus oriolus", -"Whooper Swan"=>"Cygnus cygnus", -"Two-barred Crossbill"=>"Loxia leucoptera", -"White-tailed Eagle"=>"Haliaeetus albicilla", -"Atlantic Murre"=>"Uria aalge", -"Garganey"=>"Anas querquedula", -"Black Redstart"=>"Phoenicurus ochruros", -"Common Scoter"=>"Melanitta nigra", -"Rock Pipit"=>"Anthus petrosus", -"Lesser Spotted Eagle"=>"Aquila pomarina", -"Cattle Egret"=>"Bubulcus ibis", -"White-winged Black Tern"=>"Chlidonias leucopterus", -"Black Stork"=>"Ciconia nigra", -"Mediterranean Gull"=>"Larus melanocephalus", -"Black Kite"=>"Milvus migrans", -"Yellow Wagtail"=>"Motacilla flavissima", -"Red-necked Grebe"=>"Podiceps grisegena", -"Gull-billed Tern"=>"Gelochelidon nilotica", -"Pectoral Sandpiper"=>"Calidris melanotos", -"Barred Warbler"=>"Sylvia nisoria", -"Red-throated Pipit"=>"Anthus cervinus", -"Grey Wagtail"=>"Motacilla cinerea", -"Richard`s Pipit"=>"Anthus richardi", -"Black Woodpecker"=>"Dryocopus martius", -"Little Ringed Plover"=>"Charadrius dubius", -"Whiskered Tern"=>"Chlidonias hybrida", -"Lesser Redpoll"=>"Carduelis cabaret", -"Pallas' Bunting"=>"Emberiza pallasi", -"Ferruginous Duck"=>"Aythya nyroca", -"Whistling Swan"=>"Cygnus columbianus", -"Black Brant"=>"Branta nigricans", -"Marbled Teal"=>"Marmaronetta angustirostris", -"Canvasback"=>"Aythya valisineria", -"Redhead"=>"Aythya americana", -"Lesser Scaup"=>"Aythya affinis", -"Steller`s Eider"=>"Polysticta stelleri", -"Spectacled Eider"=>"Somateria fischeri", -"Harlequin Duck"=>"Histronicus histrionicus", -"Black Scoter"=>"Melanitta americana", -"Surf Scoter"=>"Melanitta perspicillata", -"Barrow`s Goldeneye"=>"Bucephala islandica", -"Falcated Duck"=>"Anas falcata", -"American Wigeon"=>"Anas americana", -"Blue-winged Teal"=>"Anas discors", -"American Black Duck"=>"Anas rubripes", -"Baikal Teal"=>"Anas formosa", -"Green-Winged Teal"=>"Anas carolinensis", -"Hazel Grouse"=>"Bonasa bonasia", -"Rock Partridge"=>"Alectoris graeca", -"Red-legged Partridge"=>"Alectoris rufa", -"Yellow-billed Loon"=>"Gavia adamsii", -"Cory`s Shearwater"=>"Calonectris borealis", -"Madeiran Storm-Petrel"=>"Oceanodroma castro", -"Great White Pelican"=>"Pelecanus onocrotalus", -"Dalmatian Pelican"=>"Pelecanus crispus", -"American Bittern"=>"Botaurus lentiginosus", -"Glossy Ibis"=>"Plegadis falcinellus", -"Spanish Imperial Eagle"=>"Aquila adalberti", -"Lesser Kestrel"=>"Falco naumanni", -"Houbara Bustard"=>"Chlamydotis undulata", -"Crab-Plover"=>"Dromas ardeola", -"Cream-coloured Courser"=>"Cursorius cursor", -"Collared Pratincole"=>"Glareola pratincola", -"Black-winged Pratincole"=>"Glareola nordmanni", -"Killdeer"=>"Charadrius vociferus", -"Lesser Sand Plover"=>"Charadrius mongolus", -"Greater Sand Plover"=>"Charadrius leschenaultii", -"Caspian Plover"=>"Charadrius asiaticus", -"American Golden Plover"=>"Pluvialis dominica", -"Pacific Golden Plover"=>"Pluvialis fulva", -"Sharp-tailed Sandpiper"=>"Calidris acuminata", -"Broad-billed Sandpiper"=>"Limicola falcinellus", -"Spoon-Billed Sandpiper"=>"Eurynorhynchus pygmaeus", -"Short-Billed Dowitcher"=>"Limnodromus griseus", -"Long-billed Dowitcher"=>"Limnodromus scolopaceus", -"Hudsonian Godwit"=>"Limosa haemastica", -"Little Curlew"=>"Numenius minutus", -"Lesser Yellowlegs"=>"Tringa flavipes", -"Wilson`s Phalarope"=>"Phalaropus tricolor", -"Pallas`s Gull"=>"Larus ichthyaetus", -"Laughing Gull"=>"Larus atricilla", -"Franklin`s Gull"=>"Larus pipixcan", -"Bonaparte`s Gull"=>"Larus philadelphia", -"Ring-billed Gull"=>"Larus delawarensis", -"American Herring Gull"=>"Larus smithsonianus", -"Caspian Gull"=>"Larus cachinnans", -"Ivory Gull"=>"Pagophila eburnea", -"Royal Tern"=>"Sterna maxima", -"Brünnich`s Murre"=>"Uria lomvia", -"Crested Auklet"=>"Aethia cristatella", -"Parakeet Auklet"=>"Cyclorrhynchus psittacula", -"Tufted Puffin"=>"Lunda cirrhata", -"Laughing Dove"=>"Streptopelia senegalensis", -"Great Spotted Cuckoo"=>"Clamator glandarius", -"Great Grey Owl"=>"Strix nebulosa", -"Tengmalm`s Owl"=>"Aegolius funereus", -"Red-Necked Nightjar"=>"Caprimulgus ruficollis", -"Chimney Swift"=>"Chaetura pelagica", -"Green Bea-Eater"=>"Merops orientalis", -"Grey-headed Woodpecker"=>"Picus canus", -"Lesser Short-Toed Lark"=>"Calandrella rufescens", -"Eurasian Crag Martin"=>"Hirundo rupestris", -"Red-rumped Swallow"=>"Cecropis daurica", -"Blyth`s Pipit"=>"Anthus godlewskii", -"Pechora Pipit"=>"Anthus gustavi", -"Grey-headed Wagtail"=>"Motacilla thunbergi", -"Yellow-Headed Wagtail"=>"Motacilla lutea", -"White-throated Dipper"=>"Cinclus cinclus", -"Rufous-Tailed Scrub Robin"=>"Cercotrichas galactotes", -"Thrush Nightingale"=>"Luscinia luscinia", -"White-throated Robin"=>"Irania gutturalis", -"Caspian Stonechat"=>"Saxicola maura variegata", -"Western Black-eared Wheatear"=>"Oenanthe hispanica", -"Rufous-tailed Rock Thrush"=>"Monticola saxatilis", -"Red-throated Thrush/Black-throated"=>"Turdus ruficollis", -"American Robin"=>"Turdus migratorius", -"Zitting Cisticola"=>"Cisticola juncidis", -"Lanceolated Warbler"=>"Locustella lanceolata", -"River Warbler"=>"Locustella fluviatilis", -"Blyth`s Reed Warbler"=>"Acrocephalus dumetorum", -"Caspian Reed Warbler"=>"Acrocephalus fuscus", -"Aquatic Warbler"=>"Acrocephalus paludicola", -"Booted Warbler"=>"Acrocephalus caligatus", -"Marmora's Warbler"=>"Sylvia sarda", -"Dartford Warbler"=>"Sylvia undata", -"Subalpine Warbler"=>"Sylvia cantillans", -"Ménétries's Warbler"=>"Sylvia mystacea", -"Rüppel's Warbler"=>"Sylvia rueppelli", -"Asian Desert Warbler"=>"Sylvia nana", -"Western Orphean Warbler"=>"Sylvia hortensis hortensis", -"Arctic Warbler"=>"Phylloscopus borealis", -"Radde`s Warbler"=>"Phylloscopus schwarzi", -"Western Bonelli`s Warbler"=>"Phylloscopus bonelli", -"Red-breasted Flycatcher"=>"Ficedula parva", -"Eurasian Penduline Tit"=>"Remiz pendulinus", -"Daurian Shrike"=>"Lanius isabellinus", -"Long-Tailed Shrike"=>"Lanius schach", -"Lesser Grey Shrike"=>"Lanius minor", -"Southern Grey Shrike"=>"Lanius meridionalis", -"Masked Shrike"=>"Lanius nubicus", -"Spotted Nutcracker"=>"Nucifraga caryocatactes", -"Daurian Jackdaw"=>"Corvus dauuricus", -"Purple-Backed Starling"=>"Sturnus sturninus", -"Red-Fronted Serin"=>"Serinus pusillus", -"Arctic Redpoll"=>"Carduelis hornemanni", -"Scottish Crossbill"=>"Loxia scotica", -"Parrot Crossbill"=>"Loxia pytyopsittacus", -"Black-faced Bunting"=>"Emberiza spodocephala", -"Pink-footed Goose"=>"Anser brachyrhynchus", -"Black-winged Kite"=>"Elanus caeruleus", -"European Bee-eater"=>"Merops apiaster", -"Sabine`s Gull"=>"Larus sabini", -"Sooty Shearwater"=>"Puffinus griseus", -"Lesser Canada Goose"=>"Branta hutchinsii", -"Ring-necked Duck"=>"Aythya collaris", -"Greater Flamingo"=>"Phoenicopterus roseus", -"Iberian Chiffchaff"=>"Phylloscopus ibericus", -"Ashy-headed Wagtail"=>"Motacilla cinereocapilla", -"Stilt Sandpiper"=>"Calidris himantopus", -"Siberian Stonechat"=>"Saxicola maurus", -"Greater Yellowlegs"=>"Tringa melanoleuca", -"Forster`s Tern"=>"Sterna forsteri", -"Dusky Warbler"=>"Phylloscopus fuscatus", -"Cirl Bunting"=>"Emberiza cirlus", -"Olive-backed Pipit"=>"Anthus hodgsoni", -"Sociable Lapwing"=>"Vanellus gregarius", -"Spotted Sandpiper"=>"Actitis macularius", -"Baird`s Sandpiper"=>"Calidris bairdii", -"Rustic Bunting"=>"Emberiza rustica", -"Yellow-browed Bunting"=>"Emberiza chrysophrys", -"Great Shearwater"=>"Puffinus gravis", -"Bonelli`s Eagle"=>"Aquila fasciata", -"Calandra Lark"=>"Melanocorypha calandra", -"Sardinian Warbler"=>"Sylvia melanocephala", -"Ross's Gull"=>"Larus roseus", -"Yellow-Breasted Bunting"=>"Emberiza aureola", -"Pine Bunting"=>"Emberiza leucocephalos", -"Black Guillemot"=>"Cepphus grylle", -"Pied-billed Grebe"=>"Podilymbus podiceps", -"Soft-plumaged Petrel"=>"Pterodroma mollis", -"Bulwer's Petrel"=>"Bulweria bulwerii", -"White-Faced Storm-Petrel"=>"Pelagodroma marina", -"Pallas’s Fish Eagle"=>"Haliaeetus leucoryphus", -"Sandhill Crane"=>"Grus canadensis", -"Macqueen’s Bustard"=>"Chlamydotis macqueenii", -"White-tailed Lapwing"=>"Vanellus leucurus", -"Great Knot"=>"Calidris tenuirostris", -"Semipalmated Sandpiper"=>"Calidris pusilla", -"Red-necked Stint"=>"Calidris ruficollis", -"Slender-billed Curlew"=>"Numenius tenuirostris", -"Bridled Tern"=>"Onychoprion anaethetus", -"Pallas’s Sandgrouse"=>"Syrrhaptes paradoxus", -"European Scops Owl"=>"Otus scops", -"Northern Hawk Owl"=>"Surnia ulula", -"White-Throated Needletail"=>"Hirundapus caudacutus", -"Belted Kingfisher"=>"Ceryle alcyon", -"Blue-cheeked Bee-eater"=>"Merops persicus", -"Black-headed Wagtail"=>"Motacilla feldegg", -"Northern Mockingbird"=>"Mimus polyglottos", -"Alpine Accentor"=>"Prunella collaris", -"Red-flanked Bluetail"=>"Tarsiger cyanurus", -"Isabelline Wheatear"=>"Oenanthe isabellina", -"Pied Wheatear"=>"Oenanthe pleschanka", -"Eastern Black-eared Wheatear"=>"Oenanthe melanoleuca", -"Desert Wheatear"=>"Oenanthe deserti", -"White`s Thrush"=>"Zoothera aurea", -"Siberian Thrush"=>"Zoothera sibirica", -"Eyebrowed Thrush"=>"Turdus obscurus", -"Dusky Thrush"=>"Turdus eunomus", -"Black-throated Thrush"=>"Turdus atrogularis", -"Pallas`s Grasshopper Warbler"=>"Locustella certhiola", -"Spectacled Warbler"=>"Sylvia conspicillata", -"Two-barred Warbler"=>"Phylloscopus plumbeitarsus", -"Eastern Bonelli’s Warbler"=>"Phylloscopus orientalis", -"Collared Flycatcher"=>"Ficedula albicollis", -"Wallcreeper"=>"Tichodroma muraria", -"Turkestan Shrike"=>"Lanius phoenicuroides", -"Steppe Grey Shrike"=>"Lanius pallidirostris", -"Spanish Sparrow"=>"Passer hispaniolensis", -"Red-eyed Vireo"=>"Vireo olivaceus", -"Myrtle Warbler"=>"Dendroica coronata", -"White-crowned Sparrow"=>"Zonotrichia leucophrys", -"White-throated Sparrow"=>"Zonotrichia albicollis", -"Cretzschmar`s Bunting"=>"Emberiza caesia", -"Chestnut Bunting"=>"Emberiza rutila", -"Red-headed Bunting"=>"Emberiza bruniceps", -"Black-headed Bunting"=>"Emberiza melanocephala", -"Indigo Bunting"=>"Passerina cyanea", -"Balearic Woodchat Shrike"=>"Lanius senator badius", -"Demoiselle Crane"=>"Grus virgo", -"Chough"=>"Pyrrhocorax pyrrhocorax", -"Red-Billed Chough"=>"Pyrrhocorax graculus", -"Elegant Tern"=>"Sterna elegans", -"Chukar"=>"Alectoris chukar", -"Yellow-Billed Cuckoo"=>"Coccyzus americanus", -"American Sandwich Tern"=>"Sterna sandvicensis acuflavida", -"Olive-Tree Warbler"=>"Hippolais olivetorum", -"Eastern Olivaceous Warbler"=>"Acrocephalus pallidus", -"Indian Cormorant"=>"Phalacrocorax fuscicollis", -"Spur-Winged Lapwing"=>"Vanellus spinosus", -"Yelkouan Shearwater"=>"Puffinus yelkouan", -"Trumpeter Finch"=>"Bucanetes githagineus", -"Red Grouse"=>"Lagopus scoticus", -"Rock Ptarmigan"=>"Lagopus mutus", -"Long-Tailed Cormorant"=>"Phalacrocorax africanus", -"Double-crested Cormorant"=>"Phalacrocorax auritus", -"Magnificent Frigatebird"=>"Fregata magnificens", -"Naumann's Thrush"=>"Turdus naumanni", -"Oriental Pratincole"=>"Glareola maldivarum", -"Bufflehead"=>"Bucephala albeola", -"Snowfinch"=>"Montifrigilla nivalis", -"Ural owl"=>"Strix uralensis", -"Spanish Wagtail"=>"Motacilla iberiae", -"Song Sparrow"=>"Melospiza melodia", -"Rock Bunting"=>"Emberiza cia", -"Siberian Rubythroat"=>"Luscinia calliope", -"Pallid Swift"=>"Apus pallidus", -"Eurasian Pygmy Owl"=>"Glaucidium passerinum", -"Madeira Little Shearwater"=>"Puffinus baroli", -"House Finch"=>"Carpodacus mexicanus", -"Green Heron"=>"Butorides virescens", -"Solitary Sandpiper"=>"Tringa solitaria", -"Heuglin's Gull"=>"Larus heuglini" -); - -function array_to_json( $array ){ - - if( !is_array( $array ) ){ - return false; - } - - $associative = count( array_diff( array_keys($array), array_keys( array_keys( $array )) )); - if( $associative ){ - - $construct = array(); - foreach( $array as $key => $value ){ - - // We first copy each key/value pair into a staging array, - // formatting each key and value properly as we go. - - // Format the key: - if( is_numeric($key) ){ - $key = "key_$key"; - } - $key = "\"".addslashes($key)."\""; - - // Format the value: - if( is_array( $value )){ - $value = array_to_json( $value ); - } else if( !is_numeric( $value ) || is_string( $value ) ){ - $value = "\"".addslashes($value)."\""; - } - - // Add to staging array: - $construct[] = "$key: $value"; - } - - // Then we collapse the staging array into the JSON form: - $result = "{ " . implode( ", ", $construct ) . " }"; - - } else { // If the array is a vector (not associative): - - $construct = array(); - foreach( $array as $value ){ - - // Format the value: - if( is_array( $value )){ - $value = array_to_json( $value ); - } else if( !is_numeric( $value ) || is_string( $value ) ){ - $value = "'".addslashes($value)."'"; - } - - // Add to staging array: - $construct[] = $value; - } - - // Then we collapse the staging array into the JSON form: - $result = "[ " . implode( ", ", $construct ) . " ]"; - } - - return $result; -} - -$result = array(); -foreach ($items as $key=>$value) { - if (strpos(strtolower($key), $q) !== false) { - array_push($result, array("id"=>$value, "label"=>$key, "value" => strip_tags($key))); - } - if (count($result) > 11) - break; -} -echo array_to_json($result); - -?>
\ No newline at end of file diff --git a/include/jquery_ui/development-bundle/demos/autocomplete/xml.html b/include/jquery_ui/development-bundle/demos/autocomplete/xml.html deleted file mode 100644 index 2397557c7..000000000 --- a/include/jquery_ui/development-bundle/demos/autocomplete/xml.html +++ /dev/null @@ -1,72 +0,0 @@ -<!DOCTYPE html> -<html lang="en"> -<head> - <meta charset="utf-8"> - <title>jQuery UI Autocomplete - XML data parsed once</title> - <link rel="stylesheet" href="../../themes/base/jquery.ui.all.css"> - <script src="../../jquery-1.7.2.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.autocomplete.js"></script> - <link rel="stylesheet" href="../demos.css"> - <style> - .ui-autocomplete-loading { background: white url('images/ui-anim_basic_16x16.gif') right center no-repeat; } - </style> - <script> - $(function() { - function log( message ) { - $( "<div/>" ).text( message ).prependTo( "#log" ); - $( "#log" ).scrollTop( 0 ); - } - - $.ajax({ - url: "london.xml", - dataType: "xml", - success: function( xmlResponse ) { - var data = $( "geoname", xmlResponse ).map(function() { - return { - value: $( "name", this ).text() + ", " + - ( $.trim( $( "countryName", this ).text() ) || "(unknown country)" ), - id: $( "geonameId", this ).text() - }; - }).get(); - $( "#birds" ).autocomplete({ - source: data, - minLength: 0, - select: function( event, ui ) { - log( ui.item ? - "Selected: " + ui.item.value + ", geonameId: " + ui.item.id : - "Nothing selected, input was " + this.value ); - } - }); - } - }); - }); - </script> -</head> -<body> - -<div class="demo"> - -<div class="ui-widget"> - <label for="birds">London matches: </label> - <input id="birds" /> -</div> - -<div class="ui-widget" style="margin-top:2em; font-family:Arial"> - Result: - <div id="log" style="height: 200px; width: 300px; overflow: auto;" class="ui-widget-content"></div> -</div> - -</div><!-- End demo --> - - - -<div class="demo-description"> -<p>This demo shows how to retrieve some XML data, parse it using jQuery's methods, then provide it to the autocomplete as the datasource.</p> -<p>This should also serve as a reference on how to parse a remote XML datasource - the parsing would just happen for each request within the source-callback.</p> -</div><!-- End demo-description --> - -</body> -</html> diff --git a/include/jquery_ui/development-bundle/demos/button/checkbox.html b/include/jquery_ui/development-bundle/demos/button/checkbox.html deleted file mode 100644 index dffc9bf93..000000000 --- a/include/jquery_ui/development-bundle/demos/button/checkbox.html +++ /dev/null @@ -1,44 +0,0 @@ -<!DOCTYPE html> -<html lang="en"> -<head> - <meta charset="utf-8"> - <title>jQuery UI Button - Checkboxes</title> - <link rel="stylesheet" href="../../themes/base/jquery.ui.all.css"> - <script src="../../jquery-1.7.2.js"></script> - <script src="../../ui/jquery.ui.core.js"></script> - <script src="../../ui/jquery.ui.widget.js"></script> - <script src="../../ui/jquery.ui.button.js"></script> - <link rel="stylesheet" href="../demos.css"> - <script> - $(function() { - $( "#check" ).button(); - $( "#format" ).buttonset(); - }); - </script> - <style> - #format { margin-top: 2em; } - </style> -</head> -<body> - -<div class="demo"> - -<input type="checkbox" id="check" /><label for="check">Toggle</label> - -<div id="format"> - <input type="checkbox" id="check1" /><label for="check1">B</label> - <input type="checkbox" id="check2" /><label for="check2">I</label> - <input type="checkbox" id="check3" /><label for="check3">U</label> -</div> - -</div><!-- End demo --> - - - -<div class="demo-description"> -<p>A checkbox is styled as a toggle button with the button widget. The label element associated with the checkbox is used for the button text.</p> -<p>This demo also demonstrates three checkboxes styled as a button set by calling <code>.buttonset()</code> on a common container.</p> -</div><!-- End demo-description --> - -</body> -</html> diff --git a/include/jquery_ui/development-bundle/demos/button/default.html b/include/jquery_ui/development-bundle/demos/button/default.html deleted file mode 100644 index 60d2674c0..000000000 --- a/include/jquery_ui/development-bundle/demos/button/default.html +++ /dev/null @@ -1,38 +0,0 @@ -<!DOCTYPE html> -<html lang="en"> -<head> - <meta charset="utf-8"> - <title>jQuery UI Button - Default functionality</title> - <link rel="stylesheet" href="../../themes/base/jquery.ui.all.css"> - <script src="../../jquery-1.7.2.js"></script> - <script src="../../ui/jquery.ui.core.js"></script> - <script src="../../ui/jquery.ui.widget.js"></script> - <script src="../../ui/jquery.ui.button.js"></script> - <link rel="stylesheet" href="../demos.css"> - <script> - $(function() { - $( "input:submit, a, button", ".demo" ).button(); - $( "a", ".demo" ).click(function() { return false; }); - }); - </script> -</head> -<body> - -<div class="demo"> - -<button>A button element</button> - -<input type="submit" value="A submit button"/> - -<a href="#">An anchor</a> - -</div><!-- End demo --> - - - -<div class="demo-description"> -<p>Examples of the markup that can be used for buttons: A button element, an input of type submit and an anchor.</p> -</div><!-- End demo-description --> - -</body> -</html> diff --git a/include/jquery_ui/development-bundle/demos/button/icons.html b/include/jquery_ui/development-bundle/demos/button/icons.html deleted file mode 100644 index b6cd4c599..000000000 --- a/include/jquery_ui/development-bundle/demos/button/icons.html +++ /dev/null @@ -1,56 +0,0 @@ -<!DOCTYPE html> -<html lang="en"> -<head> - <meta charset="utf-8"> - <title>jQuery UI Button - Icons</title> - <link rel="stylesheet" href="../../themes/base/jquery.ui.all.css"> - <script src="../../jquery-1.7.2.js"></script> - <script src="../../ui/jquery.ui.core.js"></script> - <script src="../../ui/jquery.ui.widget.js"></script> - <script src="../../ui/jquery.ui.button.js"></script> - <link rel="stylesheet" href="../demos.css"> - <script> - $(function() { - $( ".demo button:first" ).button({ - icons: { - primary: "ui-icon-locked" - }, - text: false - }).next().button({ - icons: { - primary: "ui-icon-locked" - } - }).next().button({ - icons: { - primary: "ui-icon-gear", - secondary: "ui-icon-triangle-1-s" - } - }).next().button({ - icons: { - primary: "ui-icon-gear", - secondary: "ui-icon-triangle-1-s" - }, - text: false - }); - }); - </script> -</head> -<body> - -<div class="demo"> - -<button>Button with icon only</button> -<button>Button with icon on the left</button> -<button>Button with two icons</button> -<button>Button with two icons and no text</button> - -</div><!-- End demo --> - - - -<div class="demo-description"> -<p>Some buttons with various combinations of text and icons, here specified via metadata.</p> -</div><!-- End demo-description --> - -</body> -</html> diff --git a/include/jquery_ui/development-bundle/demos/button/index.html b/include/jquery_ui/development-bundle/demos/button/index.html deleted file mode 100644 index 23977c820..000000000 --- a/include/jquery_ui/development-bundle/demos/button/index.html +++ /dev/null @@ -1,23 +0,0 @@ -<!DOCTYPE html> -<html lang="en"> -<head> - <meta charset="utf-8"> - <title>jQuery UI Button Demos</title> - <link rel="stylesheet" href="../demos.css"> -</head> -<body> - -<div class="demos-nav"> - <h4>Examples</h4> - <ul> - <li class="demo-config-on"><a href="default.html">Default functionality</a></li> - <li><a href="radio.html">Radios</a></li> - <li><a href="checkbox.html">Checkboxes</a></li> - <li><a href="icons.html">Icons</a></li> - <li><a href="toolbar.html">Toolbar</a></li> - <li><a href="splitbutton.html">Split Button</a></li> - </ul> -</div> - -</body> -</html> diff --git a/include/jquery_ui/development-bundle/demos/button/radio.html b/include/jquery_ui/development-bundle/demos/button/radio.html deleted file mode 100644 index 2f0dc8fb8..000000000 --- a/include/jquery_ui/development-bundle/demos/button/radio.html +++ /dev/null @@ -1,39 +0,0 @@ -<!DOCTYPE html> -<html lang="en"> -<head> - <meta charset="utf-8"> - <title>jQuery UI Button - Radios</title> - <link rel="stylesheet" href="../../themes/base/jquery.ui.all.css"> - <script src="../../jquery-1.7.2.js"></script> - <script src="../../ui/jquery.ui.core.js"></script> - <script src="../../ui/jquery.ui.widget.js"></script> - <script src="../../ui/jquery.ui.button.js"></script> - <link rel="stylesheet" href="../demos.css"> - <script> - $(function() { - $( "#radio" ).buttonset(); - }); - </script> -</head> -<body> - -<div class="demo"> - -<form> - <div id="radio"> - <input type="radio" id="radio1" name="radio" /><label for="radio1">Choice 1</label> - <input type="radio" id="radio2" name="radio" checked="checked" /><label for="radio2">Choice 2</label> - <input type="radio" id="radio3" name="radio" /><label for="radio3">Choice 3</label> - </div> -</form> - -</div><!-- End demo --> - - - -<div class="demo-description"> -<p>A set of three radio buttons transformed into a button set.</p> -</div><!-- End demo-description --> - -</body> -</html> diff --git a/include/jquery_ui/development-bundle/demos/button/splitbutton.html b/include/jquery_ui/development-bundle/demos/button/splitbutton.html deleted file mode 100644 index 43302300b..000000000 --- a/include/jquery_ui/development-bundle/demos/button/splitbutton.html +++ /dev/null @@ -1,55 +0,0 @@ -<!DOCTYPE html> -<html lang="en"> -<head> - <meta charset="utf-8"> - <title>jQuery UI Button - Split button</title> - <link rel="stylesheet" href="../../themes/base/jquery.ui.all.css"> - <script src="../../jquery-1.7.2.js"></script> - <script src="../../ui/jquery.ui.core.js"></script> - <script src="../../ui/jquery.ui.widget.js"></script> - <script src="../../ui/jquery.ui.button.js"></script> - <link rel="stylesheet" href="../demos.css"> - <script> - $(function() { - $( "#rerun" ) - .button() - .click(function() { - alert( "Running the last action" ); - }) - .next() - .button( { - text: false, - icons: { - primary: "ui-icon-triangle-1-s" - } - }) - .click(function() { - alert( "Could display a menu to select an action" ); - }) - .parent() - .buttonset(); - }); - </script> - <style> - - </style> -</head> -<body> - -<div class="demo"> - -<div> - <button id="rerun">Run last action</button> - <button id="select">Select an action</button> -</div> - -</div><!-- End demo --> - - - -<div class="demo-description"> -<p>An example of a split button built with two buttons: A plan button with just text, one with only a primary icon and no text. Both are grouped together in a set.</p> -</div><!-- End demo-description --> - -</body> -</html> diff --git a/include/jquery_ui/development-bundle/demos/button/toolbar.html b/include/jquery_ui/development-bundle/demos/button/toolbar.html deleted file mode 100644 index 2902b8110..000000000 --- a/include/jquery_ui/development-bundle/demos/button/toolbar.html +++ /dev/null @@ -1,120 +0,0 @@ -<!DOCTYPE html> -<html lang="en"> -<head> - <meta charset="utf-8"> - <title>jQuery UI Button - Toolbar</title> - <link rel="stylesheet" href="../../themes/base/jquery.ui.all.css"> - <script src="../../jquery-1.7.2.js"></script> - <script src="../../ui/jquery.ui.core.js"></script> - <script src="../../ui/jquery.ui.widget.js"></script> - <script src="../../ui/jquery.ui.button.js"></script> - <link rel="stylesheet" href="../demos.css"> - <style> - #toolbar { - padding: 10px 4px; - } - </style> - <script> - $(function() { - $( "#beginning" ).button({ - text: false, - icons: { - primary: "ui-icon-seek-start" - } - }); - $( "#rewind" ).button({ - text: false, - icons: { - primary: "ui-icon-seek-prev" - } - }); - $( "#play" ).button({ - text: false, - icons: { - primary: "ui-icon-play" - } - }) - .click(function() { - var options; - if ( $( this ).text() === "play" ) { - options = { - label: "pause", - icons: { - primary: "ui-icon-pause" - } - }; - } else { - options = { - label: "play", - icons: { - primary: "ui-icon-play" - } - }; - } - $( this ).button( "option", options ); - }); - $( "#stop" ).button({ - text: false, - icons: { - primary: "ui-icon-stop" - } - }) - .click(function() { - $( "#play" ).button( "option", { - label: "play", - icons: { - primary: "ui-icon-play" - } - }); - }); - $( "#forward" ).button({ - text: false, - icons: { - primary: "ui-icon-seek-next" - } - }); - $( "#end" ).button({ - text: false, - icons: { - primary: "ui-icon-seek-end" - } - }); - $( "#shuffle" ).button(); - $( "#repeat" ).buttonset(); - }); - </script> -</head> -<body> - -<div class="demo"> - -<span id="toolbar" class="ui-widget-header ui-corner-all"> - <button id="beginning">go to beginning</button> - <button id="rewind">rewind</button> - <button id="play">play</button> - <button id="stop">stop</button> - <button id="forward">fast forward</button> - <button id="end">go to end</button> - - <input type="checkbox" id="shuffle" /><label for="shuffle">Shuffle</label> - - <span id="repeat"> - <input type="radio" id="repeat0" name="repeat" checked="checked" /><label for="repeat0">No Repeat</label> - <input type="radio" id="repeat1" name="repeat" /><label for="repeat1">Once</label> - <input type="radio" id="repeatall" name="repeat" /><label for="repeatall">All</label> - </span> -</span> - -</div><!-- End demo --> - - - -<div class="demo-description"> -<p> - A mediaplayer toolbar. Take a look at the underlying markup: A few button elements, - an input of type checkbox for the Shuffle button, and three inputs of type radio for the Repeat options. -</p> -</div><!-- End demo-description --> - -</body> -</html> diff --git a/include/jquery_ui/development-bundle/demos/datepicker/alt-field.html b/include/jquery_ui/development-bundle/demos/datepicker/alt-field.html deleted file mode 100644 index 6323cf316..000000000 --- a/include/jquery_ui/development-bundle/demos/datepicker/alt-field.html +++ /dev/null @@ -1,36 +0,0 @@ -<!DOCTYPE html> -<html lang="en"> -<head> - <meta charset="utf-8"> - <title>jQuery UI Datepicker - Populate alternate field</title> - <link rel="stylesheet" href="../../themes/base/jquery.ui.all.css"> - <script src="../../jquery-1.7.2.js"></script> - <script src="../../ui/jquery.ui.core.js"></script> - <script src="../../ui/jquery.ui.widget.js"></script> - <script src="../../ui/jquery.ui.datepicker.js"></script> - <link rel="stylesheet" href="../demos.css"> - <script> - $(function() { - $( "#datepicker" ).datepicker({ - altField: "#alternate", - altFormat: "DD, d MM, yy" - }); - }); - </script> -</head> -<body> - -<div class="demo"> - -<p>Date: <input type="text" id="datepicker"> <input type="text" id="alternate" size="30"/></p> - -</div><!-- End demo --> - - - -<div class="demo-description"> -<p>Populate an alternate field with its own date format whenever a date is selected using the <code>altField</code> and <code>altFormat</code> options. This feature could be used to present a human-friendly date for user selection, while passing a more computer-friendly date through for further processing.</p> -</div><!-- End demo-description --> - -</body> -</html> diff --git a/include/jquery_ui/development-bundle/demos/datepicker/animation.html b/include/jquery_ui/development-bundle/demos/datepicker/animation.html deleted file mode 100644 index f2e6452f7..000000000 --- a/include/jquery_ui/development-bundle/demos/datepicker/animation.html +++ /dev/null @@ -1,58 +0,0 @@ -<!DOCTYPE html> -<html lang="en"> -<head> - <meta charset="utf-8"> - <title>jQuery UI Datepicker - Animations</title> - <link rel="stylesheet" href="../../themes/base/jquery.ui.all.css"> - <script src="../../jquery-1.7.2.js"></script> - <script src="../../ui/jquery.ui.core.js"></script> - <script src="../../ui/jquery.ui.widget.js"></script> - <script src="../../ui/jquery.effects.core.js"></script> - <script src="../../ui/jquery.effects.blind.js"></script> - <script src="../../ui/jquery.effects.bounce.js"></script> - <script src="../../ui/jquery.effects.clip.js"></script> - <script src="../../ui/jquery.effects.drop.js"></script> - <script src="../../ui/jquery.effects.fold.js"></script> - <script src="../../ui/jquery.effects.slide.js"></script> - <script src="../../ui/jquery.ui.datepicker.js"></script> - <link rel="stylesheet" href="../demos.css"> - <script> - $(function() { - $( "#datepicker" ).datepicker(); - $( "#anim" ).change(function() { - $( "#datepicker" ).datepicker( "option", "showAnim", $( this ).val() ); - }); - }); - </script> -</head> -<body> - -<div class="demo"> - -<p>Date: <input type="text" id="datepicker" size="30"/></p> - -<p>Animations:<br /> - <select id="anim"> - <option value="show">Show (default)</option> - <option value="slideDown">Slide down</option> - <option value="fadeIn">Fade in</option> - <option value="blind">Blind (UI Effect)</option> - <option value="bounce">Bounce (UI Effect)</option> - <option value="clip">Clip (UI Effect)</option> - <option value="drop">Drop (UI Effect)</option> - <option value="fold">Fold (UI Effect)</option> - <option value="slide">Slide (UI Effect)</option> - <option value="">None</option> - </select> -</p> - -</div><!-- End demo --> - - - -<div class="demo-description"> -<p>Use different animations when opening or closing the datepicker. Choose an animation from the dropdown, then click on the input to see its effect. You can use one of the three standard animations or any of the UI Effects.</p> -</div><!-- End demo-description --> - -</body> -</html> diff --git a/include/jquery_ui/development-bundle/demos/datepicker/buttonbar.html b/include/jquery_ui/development-bundle/demos/datepicker/buttonbar.html deleted file mode 100644 index 20c729266..000000000 --- a/include/jquery_ui/development-bundle/demos/datepicker/buttonbar.html +++ /dev/null @@ -1,35 +0,0 @@ -<!DOCTYPE html> -<html lang="en"> -<head> - <meta charset="utf-8"> - <title>jQuery UI Datepicker - Display button bar</title> - <link rel="stylesheet" href="../../themes/base/jquery.ui.all.css"> - <script src="../../jquery-1.7.2.js"></script> - <script src="../../ui/jquery.ui.core.js"></script> - <script src="../../ui/jquery.ui.widget.js"></script> - <script src="../../ui/jquery.ui.datepicker.js"></script> - <link rel="stylesheet" href="../demos.css"> - <script> - $(function() { - $( "#datepicker" ).datepicker({ - showButtonPanel: true - }); - }); - </script> -</head> -<body> - -<div class="demo"> - -<p>Date: <input type="text" id="datepicker"></p> - -</div><!-- End demo --> - - - -<div class="demo-description"> -<p>Display a button for selecting Today's date and a Done button for closing the calendar with the boolean <code>showButtonPanel</code> option. Each button is enabled by default when the bar is displayed, but can be turned off with additional options. Button text is customizable.</p> -</div><!-- End demo-description --> - -</body> -</html> diff --git a/include/jquery_ui/development-bundle/demos/datepicker/date-formats.html b/include/jquery_ui/development-bundle/demos/datepicker/date-formats.html deleted file mode 100644 index 35a5e6bba..000000000 --- a/include/jquery_ui/development-bundle/demos/datepicker/date-formats.html +++ /dev/null @@ -1,47 +0,0 @@ -<!DOCTYPE html> -<html lang="en"> -<head> - <meta charset="utf-8"> - <title>jQuery UI Datepicker - Format date</title> - <link rel="stylesheet" href="../../themes/base/jquery.ui.all.css"> - <script src="../../jquery-1.7.2.js"></script> - <script src="../../ui/jquery.ui.core.js"></script> - <script src="../../ui/jquery.ui.widget.js"></script> - <script src="../../ui/jquery.ui.datepicker.js"></script> - <link rel="stylesheet" href="../demos.css"> - <script> - $(function() { - $( "#datepicker" ).datepicker(); - $( "#format" ).change(function() { - $( "#datepicker" ).datepicker( "option", "dateFormat", $( this ).val() ); - }); - }); - </script> -</head> -<body> - -<div class="demo"> - -<p>Date: <input type="text" id="datepicker" size="30"/></p> - -<p>Format options:<br /> - <select id="format"> - <option value="mm/dd/yy">Default - mm/dd/yy</option> - <option value="yy-mm-dd">ISO 8601 - yy-mm-dd</option> - <option value="d M, y">Short - d M, y</option> - <option value="d MM, y">Medium - d MM, y</option> - <option value="DD, d MM, yy">Full - DD, d MM, yy</option> - <option value="'day' d 'of' MM 'in the year' yy">With text - 'day' d 'of' MM 'in the year' yy</option> - </select> -</p> - -</div><!-- End demo --> - - - -<div class="demo-description"> -<p>Display date feedback in a variety of ways. Choose a date format from the dropdown, then click on the input and select a date to see it in that format.</p> -</div><!-- End demo-description --> - -</body> -</html> diff --git a/include/jquery_ui/development-bundle/demos/datepicker/date-range.html b/include/jquery_ui/development-bundle/demos/datepicker/date-range.html deleted file mode 100644 index 09ebba842..000000000 --- a/include/jquery_ui/development-bundle/demos/datepicker/date-range.html +++ /dev/null @@ -1,51 +0,0 @@ -<!DOCTYPE html> -<html lang="en"> -<head> - <meta charset="utf-8"> - <title>jQuery UI Datepicker - Select a Date Range</title> - <link rel="stylesheet" href="../../themes/base/jquery.ui.all.css"> - <script src="../../jquery-1.7.2.js"></script> - <script src="../../ui/jquery.ui.core.js"></script> - <script src="../../ui/jquery.ui.widget.js"></script> - <script src="../../ui/jquery.ui.datepicker.js"></script> - <link rel="stylesheet" href="../demos.css"> - <script> - $(function() { - $( "#from" ).datepicker({ - defaultDate: "+1w", - changeMonth: true, - numberOfMonths: 3, - onSelect: function( selectedDate ) { - $( "#to" ).datepicker( "option", "minDate", selectedDate ); - } - }); - $( "#to" ).datepicker({ - defaultDate: "+1w", - changeMonth: true, - numberOfMonths: 3, - onSelect: function( selectedDate ) { - $( "#from" ).datepicker( "option", "maxDate", selectedDate ); - } - }); - }); - </script> -</head> -<body> - -<div class="demo"> - -<label for="from">From</label> -<input type="text" id="from" name="from"/> -<label for="to">to</label> -<input type="text" id="to" name="to"/> - -</div><!-- End demo --> - - - -<div class="demo-description"> -<p>Select the date range to search for.</p> -</div><!-- End demo-description --> - -</body> -</html> diff --git a/include/jquery_ui/development-bundle/demos/datepicker/default.html b/include/jquery_ui/development-bundle/demos/datepicker/default.html deleted file mode 100644 index 869c4e99a..000000000 --- a/include/jquery_ui/development-bundle/demos/datepicker/default.html +++ /dev/null @@ -1,33 +0,0 @@ -<!DOCTYPE html> -<html lang="en"> -<head> - <meta charset="utf-8"> - <title>jQuery UI Datepicker - Default functionality</title> - <link rel="stylesheet" href="../../themes/base/jquery.ui.all.css"> - <script src="../../jquery-1.7.2.js"></script> - <script src="../../ui/jquery.ui.core.js"></script> - <script src="../../ui/jquery.ui.widget.js"></script> - <script src="../../ui/jquery.ui.datepicker.js"></script> - <link rel="stylesheet" href="../demos.css"> - <script> - $(function() { - $( "#datepicker" ).datepicker(); - }); - </script> -</head> -<body> - -<div class="demo"> - -<p>Date: <input type="text" id="datepicker"></p> - -</div><!-- End demo --> - - - -<div class="demo-description"> -<p>The datepicker is tied to a standard form input field. Focus on the input (click, or use the tab key) to open an interactive calendar in a small overlay. Choose a date, click elsewhere on the page (blur the input), or hit the Esc key to close. If a date is chosen, feedback is shown as the input's value.</p> -</div><!-- End demo-description --> - -</body> -</html> diff --git a/include/jquery_ui/development-bundle/demos/datepicker/dropdown-month-year.html b/include/jquery_ui/development-bundle/demos/datepicker/dropdown-month-year.html deleted file mode 100644 index eed1dfea9..000000000 --- a/include/jquery_ui/development-bundle/demos/datepicker/dropdown-month-year.html +++ /dev/null @@ -1,36 +0,0 @@ -<!DOCTYPE html> -<html lang="en"> -<head> - <meta charset="utf-8"> - <title>jQuery UI Datepicker - Display month & year menus</title> - <link rel="stylesheet" href="../../themes/base/jquery.ui.all.css"> - <script src="../../jquery-1.7.2.js"></script> - <script src="../../ui/jquery.ui.core.js"></script> - <script src="../../ui/jquery.ui.widget.js"></script> - <script src="../../ui/jquery.ui.datepicker.js"></script> - <link rel="stylesheet" href="../demos.css"> - <script> - $(function() { - $( "#datepicker" ).datepicker({ - changeMonth: true, - changeYear: true - }); - }); - </script> -</head> -<body> - -<div class="demo"> - -<p>Date: <input type="text" id="datepicker"></p> - -</div><!-- End demo --> - - - -<div class="demo-description"> -<p>Show month and year dropdowns in place of the static month/year header to facilitate navigation through large timeframes. Add the boolean <code>changeMonth</code> and <code>changeYear</code> options.</p> -</div><!-- End demo-description --> - -</body> -</html> diff --git a/include/jquery_ui/development-bundle/demos/datepicker/icon-trigger.html b/include/jquery_ui/development-bundle/demos/datepicker/icon-trigger.html deleted file mode 100644 index 3ec339ff8..000000000 --- a/include/jquery_ui/development-bundle/demos/datepicker/icon-trigger.html +++ /dev/null @@ -1,37 +0,0 @@ -<!DOCTYPE html> -<html lang="en"> -<head> - <meta charset="utf-8"> - <title>jQuery UI Datepicker - Icon trigger</title> - <link rel="stylesheet" href="../../themes/base/jquery.ui.all.css"> - <script src="../../jquery-1.7.2.js"></script> - <script src="../../ui/jquery.ui.core.js"></script> - <script src="../../ui/jquery.ui.widget.js"></script> - <script src="../../ui/jquery.ui.datepicker.js"></script> - <link rel="stylesheet" href="../demos.css"> - <script> - $(function() { - $( "#datepicker" ).datepicker({ - showOn: "button", - buttonImage: "images/calendar.gif", - buttonImageOnly: true - }); - }); - </script> -</head> -<body> - -<div class="demo"> - -<p>Date: <input type="text" id="datepicker"></p> - -</div><!-- End demo --> - - - -<div class="demo-description"> -<p>Click the icon next to the input field to show the datepicker. Set the datepicker to open on focus (default behavior), on icon click, or both.</p> -</div><!-- End demo-description --> - -</body> -</html> diff --git a/include/jquery_ui/development-bundle/demos/datepicker/images/calendar.gif b/include/jquery_ui/development-bundle/demos/datepicker/images/calendar.gif Binary files differdeleted file mode 100644 index d0abaa7c0..000000000 --- a/include/jquery_ui/development-bundle/demos/datepicker/images/calendar.gif +++ /dev/null diff --git a/include/jquery_ui/development-bundle/demos/datepicker/index.html b/include/jquery_ui/development-bundle/demos/datepicker/index.html deleted file mode 100644 index ed2477402..000000000 --- a/include/jquery_ui/development-bundle/demos/datepicker/index.html +++ /dev/null @@ -1,31 +0,0 @@ -<!DOCTYPE html> -<html lang="en"> -<head> - <meta charset="utf-8"> - <title>jQuery UI Datepicker Demos</title> - <link rel="stylesheet" href="../demos.css"> -</head> -<body> - -<div class="demos-nav"> - <h4>Examples</h4> - <ul> - <li class="demo-config-on"><a href="default.html">Default functionality</a></li> - <li><a href="date-formats.html">Format date</a></li> - <li><a href="min-max.html">Restrict date range</a></li> - <li><a href="localization.html">Localize calendar</a></li> - <li><a href="alt-field.html">Populate alternate field</a></li> - <li><a href="inline.html">Display inline</a></li> - <li><a href="buttonbar.html">Display button bar</a></li> - <li><a href="dropdown-month-year.html">Display month & year menus</a></li> - <li><a href="other-months.html">Dates in other months</a></li> - <li><a href="show-week.html">Show week of the year</a></li> - <li><a href="multiple-calendars.html">Display multiple months</a></li> - <li><a href="icon-trigger.html">Icon trigger</a></li> - <li><a href="animation.html">Animations</a></li> - <li><a href="date-range.html">Date Range</a></li> - </ul> -</div> - -</body> -</html> diff --git a/include/jquery_ui/development-bundle/demos/datepicker/inline.html b/include/jquery_ui/development-bundle/demos/datepicker/inline.html deleted file mode 100644 index f32915082..000000000 --- a/include/jquery_ui/development-bundle/demos/datepicker/inline.html +++ /dev/null @@ -1,33 +0,0 @@ -<!DOCTYPE html> -<html lang="en"> -<head> - <meta charset="utf-8"> - <title>jQuery UI Datepicker - Display inline</title> - <link rel="stylesheet" href="../../themes/base/jquery.ui.all.css"> - <script src="../../jquery-1.7.2.js"></script> - <script src="../../ui/jquery.ui.core.js"></script> - <script src="../../ui/jquery.ui.widget.js"></script> - <script src="../../ui/jquery.ui.datepicker.js"></script> - <link rel="stylesheet" href="../demos.css"> - <script> - $(function() { - $( "#datepicker" ).datepicker(); - }); - </script> -</head> -<body> - -<div class="demo"> - -Date: <div id="datepicker"></div> - -</div><!-- End demo --> - - - -<div class="demo-description"> -<p>Display the datepicker embedded in the page instead of in an overlay. Simply call .datepicker() on a div instead of an input.</p> -</div><!-- End demo-description --> - -</body> -</html> diff --git a/include/jquery_ui/development-bundle/demos/datepicker/localization.html b/include/jquery_ui/development-bundle/demos/datepicker/localization.html deleted file mode 100644 index e7bb42c16..000000000 --- a/include/jquery_ui/development-bundle/demos/datepicker/localization.html +++ /dev/null @@ -1,176 +0,0 @@ -<!DOCTYPE html> -<html lang="en"> -<head> - <meta charset="utf-8"> - <title>jQuery UI Datepicker - Localize calendar</title> - <link rel="stylesheet" href="../../themes/base/jquery.ui.all.css"> - <script src="../../jquery-1.7.2.js"></script> - <script src="../../ui/jquery.ui.core.js"></script> - <script src="../../ui/jquery.ui.widget.js"></script> - <script src="../../ui/jquery.ui.datepicker.js"></script> - <script src="../../ui/i18n/jquery.ui.datepicker-af.js"></script> - <script src="../../ui/i18n/jquery.ui.datepicker-ar.js"></script> - <script src="../../ui/i18n/jquery.ui.datepicker-ar-DZ.js"></script> - <script src="../../ui/i18n/jquery.ui.datepicker-az.js"></script> - <script src="../../ui/i18n/jquery.ui.datepicker-bg.js"></script> - <script src="../../ui/i18n/jquery.ui.datepicker-bs.js"></script> - <script src="../../ui/i18n/jquery.ui.datepicker-ca.js"></script> - <script src="../../ui/i18n/jquery.ui.datepicker-cs.js"></script> - <script src="../../ui/i18n/jquery.ui.datepicker-cy-GB.js"></script> - <script src="../../ui/i18n/jquery.ui.datepicker-da.js"></script> - <script src="../../ui/i18n/jquery.ui.datepicker-de.js"></script> - <script src="../../ui/i18n/jquery.ui.datepicker-el.js"></script> - <script src="../../ui/i18n/jquery.ui.datepicker-en-AU.js"></script> - <script src="../../ui/i18n/jquery.ui.datepicker-en-GB.js"></script> - <script src="../../ui/i18n/jquery.ui.datepicker-en-NZ.js"></script> - <script src="../../ui/i18n/jquery.ui.datepicker-eo.js"></script> - <script src="../../ui/i18n/jquery.ui.datepicker-es.js"></script> - <script src="../../ui/i18n/jquery.ui.datepicker-et.js"></script> - <script src="../../ui/i18n/jquery.ui.datepicker-eu.js"></script> - <script src="../../ui/i18n/jquery.ui.datepicker-fa.js"></script> - <script src="../../ui/i18n/jquery.ui.datepicker-fi.js"></script> - <script src="../../ui/i18n/jquery.ui.datepicker-fo.js"></script> - <script src="../../ui/i18n/jquery.ui.datepicker-fr.js"></script> - <script src="../../ui/i18n/jquery.ui.datepicker-fr-CH.js"></script> - <script src="../../ui/i18n/jquery.ui.datepicker-gl.js"></script> - <script src="../../ui/i18n/jquery.ui.datepicker-he.js"></script> - <script src="../../ui/i18n/jquery.ui.datepicker-hi.js"></script> - <script src="../../ui/i18n/jquery.ui.datepicker-hr.js"></script> - <script src="../../ui/i18n/jquery.ui.datepicker-hu.js"></script> - <script src="../../ui/i18n/jquery.ui.datepicker-hy.js"></script> - <script src="../../ui/i18n/jquery.ui.datepicker-id.js"></script> - <script src="../../ui/i18n/jquery.ui.datepicker-is.js"></script> - <script src="../../ui/i18n/jquery.ui.datepicker-it.js"></script> - <script src="../../ui/i18n/jquery.ui.datepicker-ja.js"></script> - <script src="../../ui/i18n/jquery.ui.datepicker-ka.js"></script> - <script src="../../ui/i18n/jquery.ui.datepicker-kk.js"></script> - <script src="../../ui/i18n/jquery.ui.datepicker-km.js"></script> - <script src="../../ui/i18n/jquery.ui.datepicker-ko.js"></script> - <script src="../../ui/i18n/jquery.ui.datepicker-lb.js"></script> - <script src="../../ui/i18n/jquery.ui.datepicker-lt.js"></script> - <script src="../../ui/i18n/jquery.ui.datepicker-lv.js"></script> - <script src="../../ui/i18n/jquery.ui.datepicker-mk.js"></script> - <script src="../../ui/i18n/jquery.ui.datepicker-ml.js"></script> - <script src="../../ui/i18n/jquery.ui.datepicker-ms.js"></script> - <script src="../../ui/i18n/jquery.ui.datepicker-nl.js"></script> - <script src="../../ui/i18n/jquery.ui.datepicker-nl-BE.js"></script> - <script src="../../ui/i18n/jquery.ui.datepicker-no.js"></script> - <script src="../../ui/i18n/jquery.ui.datepicker-pl.js"></script> - <script src="../../ui/i18n/jquery.ui.datepicker-pt.js"></script> - <script src="../../ui/i18n/jquery.ui.datepicker-pt-BR.js"></script> - <script src="../../ui/i18n/jquery.ui.datepicker-rm.js"></script> - <script src="../../ui/i18n/jquery.ui.datepicker-ro.js"></script> - <script src="../../ui/i18n/jquery.ui.datepicker-ru.js"></script> - <script src="../../ui/i18n/jquery.ui.datepicker-sk.js"></script> - <script src="../../ui/i18n/jquery.ui.datepicker-sl.js"></script> - <script src="../../ui/i18n/jquery.ui.datepicker-sq.js"></script> - <script src="../../ui/i18n/jquery.ui.datepicker-sr.js"></script> - <script src="../../ui/i18n/jquery.ui.datepicker-sr-SR.js"></script> - <script src="../../ui/i18n/jquery.ui.datepicker-sv.js"></script> - <script src="../../ui/i18n/jquery.ui.datepicker-ta.js"></script> - <script src="../../ui/i18n/jquery.ui.datepicker-th.js"></script> - <script src="../../ui/i18n/jquery.ui.datepicker-tj.js"></script> - <script src="../../ui/i18n/jquery.ui.datepicker-tr.js"></script> - <script src="../../ui/i18n/jquery.ui.datepicker-uk.js"></script> - <script src="../../ui/i18n/jquery.ui.datepicker-vi.js"></script> - <script src="../../ui/i18n/jquery.ui.datepicker-zh-CN.js"></script> - <script src="../../ui/i18n/jquery.ui.datepicker-zh-HK.js"></script> - <script src="../../ui/i18n/jquery.ui.datepicker-zh-TW.js"></script> - <link rel="stylesheet" href="../demos.css"> - <script> - $(function() { - $.datepicker.setDefaults( $.datepicker.regional[ "" ] ); - $( "#datepicker" ).datepicker( $.datepicker.regional[ "fr" ] ); - $( "#locale" ).change(function() { - $( "#datepicker" ).datepicker( "option", - $.datepicker.regional[ $( this ).val() ] ); - }); - }); - </script> -</head> -<body> - -<div class="demo"> - -<p>Date: <input type="text" id="datepicker"/> - <select id="locale"> - <option value="af">Afrikaans</option> - <option value="sq">Albanian (Gjuha shqipe)</option> - <option value="ar-DZ">Algerian Arabic</option> - <option value="ar">Arabic (‫(لعربي</option> - <option value="hy">Armenian (Հայերեն)</option> - <option value="az">Azerbaijani (Azərbaycan dili)</option> - <option value="eu">Basque (Euskara)</option> - <option value="bs">Bosnian (Bosanski)</option> - <option value="bg">Bulgarian (български език)</option> - <option value="ca">Catalan (Català)</option> - <option value="zh-HK">Chinese Hong Kong (繁體中文)</option> - <option value="zh-CN">Chinese Simplified (简体中文)</option> - <option value="zh-TW">Chinese Traditional (繁體中文)</option> - <option value="hr">Croatian (Hrvatski jezik)</option> - <option value="cs">Czech (čeština)</option> - <option value="da">Danish (Dansk)</option> - <option value="nl-BE">Dutch (Belgium)</option> - <option value="nl">Dutch (Nederlands)</option> - <option value="en-AU">English/Australia</option> - <option value="en-NZ">English/New Zealand</option> - <option value="en-GB">English/UK</option> - <option value="eo">Esperanto</option> - <option value="et">Estonian (eesti keel)</option> - <option value="fo">Faroese (føroyskt)</option> - <option value="fa">Farsi/Persian (‫(فارسی</option> - <option value="fi">Finnish (suomi)</option> - <option value="fr" selected="selected">French (Français)</option> - <option value="fr-CH">French/Swiss (Français de Suisse)</option> - <option value="gl">Galician</option> - <option value="ge">Georgian</option> - <option value="de">German (Deutsch)</option> - <option value="el">Greek (Ελληνικά)</option> - <option value="he">Hebrew (‫(עברית</option> - <option value="hi">Hindi (हिंदी)</option> - <option value="hu">Hungarian (Magyar)</option> - <option value="is">Icelandic (Õslenska)</option> - <option value="id">Indonesian (Bahasa Indonesia)</option> - <option value="it">Italian (Italiano)</option> - <option value="ja">Japanese (日本語)</option> - <option value="kk">Kazakhstan (Kazakh)</option> - <option value="km">Khmer</option> - <option value="ko">Korean (한국어)</option> - <option value="lv">Latvian (Latvieöu Valoda)</option> - <option value="lt">Lithuanian (lietuviu kalba)</option> - <option value="lb">Luxembourgish</option> - <option value="mk">Macedonian</option> - <option value="ml">Malayalam</option> - <option value="ms">Malaysian (Bahasa Malaysia)</option> - <option value="no">Norwegian (Norsk)</option> - <option value="pl">Polish (Polski)</option> - <option value="pt">Portuguese (Português)</option> - <option value="pt-BR">Portuguese/Brazilian (Português)</option> - <option value="rm">Rhaeto-Romanic (Romansh)</option> - <option value="ro">Romanian (Română)</option> - <option value="ru">Russian (Русский)</option> - <option value="sr">Serbian (српски језик)</option> - <option value="sr-SR">Serbian (srpski jezik)</option> - <option value="sk">Slovak (Slovencina)</option> - <option value="sl">Slovenian (Slovenski Jezik)</option> - <option value="es">Spanish (Español)</option> - <option value="sv">Swedish (Svenska)</option> - <option value="ta">Tamil (தமிழ்)</option> - <option value="th">Thai (ภาษาไทย)</option> - <option value="tj">Tajikistan</option> - <option value="tr">Turkish (Türkçe)</option> - <option value="uk">Ukranian (Українська)</option> - <option value="vi">Vietnamese (Tiếng Việt)</option> - <option value="cy-GB">Welsh/UK (Cymraeg)</option> - </select></p> - -</div><!-- End demo --> - - - -<div class="demo-description"> -<p>Localize the datepicker calendar language and format (English / Western formatting is the default). The datepicker includes built-in support for languages that read right-to-left, such as Arabic and Hebrew.</p> -</div><!-- End demo-description --> - -</body> -</html> diff --git a/include/jquery_ui/development-bundle/demos/datepicker/min-max.html b/include/jquery_ui/development-bundle/demos/datepicker/min-max.html deleted file mode 100644 index cc1fbda42..000000000 --- a/include/jquery_ui/development-bundle/demos/datepicker/min-max.html +++ /dev/null @@ -1,33 +0,0 @@ -<!DOCTYPE html> -<html lang="en"> -<head> - <meta charset="utf-8"> - <title>jQuery UI Datepicker - Restrict date range</title> - <link rel="stylesheet" href="../../themes/base/jquery.ui.all.css"> - <script src="../../jquery-1.7.2.js"></script> - <script src="../../ui/jquery.ui.core.js"></script> - <script src="../../ui/jquery.ui.widget.js"></script> - <script src="../../ui/jquery.ui.datepicker.js"></script> - <link rel="stylesheet" href="../demos.css"> - <script> - $(function() { - $( "#datepicker" ).datepicker({ minDate: -20, maxDate: "+1M +10D" }); - }); - </script> -</head> -<body> - -<div class="demo"> - -<p>Date: <input type="text" id="datepicker"></p> - -</div><!-- End demo --> - - - -<div class="demo-description"> -<p>Restrict the range of selectable dates with the <code>minDate</code> and <code>maxDate</code> options. Set the beginning and end dates as actual dates (new Date(2009, 1 - 1, 26)), as a numeric offset from today (-20), or as a string of periods and units ('+1M +10D'). For the last, use 'D' for days, 'W' for weeks, 'M' for months, or 'Y' for years.</p> -</div><!-- End demo-description --> - -</body> -</html> diff --git a/include/jquery_ui/development-bundle/demos/datepicker/multiple-calendars.html b/include/jquery_ui/development-bundle/demos/datepicker/multiple-calendars.html deleted file mode 100644 index 9ebd63c34..000000000 --- a/include/jquery_ui/development-bundle/demos/datepicker/multiple-calendars.html +++ /dev/null @@ -1,36 +0,0 @@ -<!DOCTYPE html> -<html lang="en"> -<head> - <meta charset="utf-8"> - <title>jQuery UI Datepicker - Display multiple months</title> - <link rel="stylesheet" href="../../themes/base/jquery.ui.all.css"> - <script src="../../jquery-1.7.2.js"></script> - <script src="../../ui/jquery.ui.core.js"></script> - <script src="../../ui/jquery.ui.widget.js"></script> - <script src="../../ui/jquery.ui.datepicker.js"></script> - <link rel="stylesheet" href="../demos.css"> - <script> - $(function() { - $( "#datepicker" ).datepicker({ - numberOfMonths: 3, - showButtonPanel: true - }); - }); - </script> -</head> -<body> - -<div class="demo"> - -<p>Date: <input type="text" id="datepicker"></p> - -</div><!-- End demo --> - - - -<div class="demo-description"> -<p>Set the <code>numberOfMonths</code> option to an integer of 2 or more to show multiple months in a single datepicker.</p> -</div><!-- End demo-description --> - -</body> -</html> diff --git a/include/jquery_ui/development-bundle/demos/datepicker/other-months.html b/include/jquery_ui/development-bundle/demos/datepicker/other-months.html deleted file mode 100644 index e6b035801..000000000 --- a/include/jquery_ui/development-bundle/demos/datepicker/other-months.html +++ /dev/null @@ -1,37 +0,0 @@ -<!DOCTYPE html> -<html lang="en"> -<head> - <meta charset="utf-8"> - <title>jQuery UI Datepicker - Dates in other months</title> - <link rel="stylesheet" href="../../themes/base/jquery.ui.all.css"> - <script src="../../jquery-1.7.2.js"></script> - <script src="../../ui/jquery.ui.core.js"></script> - <script src="../../ui/jquery.ui.widget.js"></script> - <script src="../../ui/jquery.ui.datepicker.js"></script> - <link rel="stylesheet" href="../demos.css"> - <script> - $(function() { - $( "#datepicker" ).datepicker({ - showOtherMonths: true, - selectOtherMonths: true - }); - }); - </script> -</head> -<body> - -<div class="demo"> - -<p>Date: <input type="text" id="datepicker"></p> - -</div><!-- End demo --> - - - -<div class="demo-description"> -<p>The datepicker can show dates that come from other than the main month - being displayed. These other dates can also be made selectable.</p> -</div><!-- End demo-description --> - -</body> -</html> diff --git a/include/jquery_ui/development-bundle/demos/datepicker/show-week.html b/include/jquery_ui/development-bundle/demos/datepicker/show-week.html deleted file mode 100644 index eee2dd0ac..000000000 --- a/include/jquery_ui/development-bundle/demos/datepicker/show-week.html +++ /dev/null @@ -1,39 +0,0 @@ -<!DOCTYPE html> -<html lang="en"> -<head> - <meta charset="utf-8"> - <title>jQuery UI Datepicker - Show week of the year</title> - <link rel="stylesheet" href="../../themes/base/jquery.ui.all.css"> - <script src="../../jquery-1.7.2.js"></script> - <script src="../../ui/jquery.ui.core.js"></script> - <script src="../../ui/jquery.ui.widget.js"></script> - <script src="../../ui/jquery.ui.datepicker.js"></script> - <link rel="stylesheet" href="../demos.css"> - <script> - $(function() { - $( "#datepicker" ).datepicker({ - showWeek: true, - firstDay: 1 - }); - }); - </script> -</head> -<body> - -<div class="demo"> - -<p>Date: <input type="text" id="datepicker"></p> - -</div><!-- End demo --> - - - -<div class="demo-description"> -<p>The datepicker can show the week of the year. The default calculation follows - the ISO 8601 definition: the week starts on Monday, the first week of the year - contains the first Thursday of the year. This means that some days from one - year may be placed into weeks 'belonging' to another year.</p> -</div><!-- End demo-description --> - -</body> -</html> diff --git a/include/jquery_ui/development-bundle/demos/demos.css b/include/jquery_ui/development-bundle/demos/demos.css deleted file mode 100644 index 2d2ce1fc8..000000000 --- a/include/jquery_ui/development-bundle/demos/demos.css +++ /dev/null @@ -1,334 +0,0 @@ -body { - font-size: 62.5%; -} - -table { - font-size: 1em; -} - -/* Site - -------------------------------- */ - -body { - font-family: "Trebuchet MS", "Helvetica", "Arial", "Verdana", "sans-serif"; -} - -/* Layout - -------------------------------- */ - -.layout-grid { - width: 960px; -} - -.layout-grid td { - vertical-align: top; -} - -.layout-grid td.left-nav { - width: 140px; -} - -.layout-grid td.normal { - border-left: 1px solid #eee; - padding: 20px 24px; - font-family: "Trebuchet MS", "Helvetica", "Arial", "Verdana", "sans-serif"; -} - -.layout-grid td.demos { - background: url('/images/demos_bg.jpg') no-repeat; - height: 337px; - overflow: hidden; -} - -/* Normal - -------------------------------- */ - -.normal h3, -.normal h4 { - margin: 0; - font-weight: normal; -} - -.normal h3 { - padding: 0 0 9px; - font-size: 1.8em; -} - -.normal h4 { - padding-bottom: 21px; - border-bottom: 1px dashed #999; - font-size: 1.2em; - font-weight: bold; -} - -.normal p { - font-size: 1.2em; -} - -/* Demos */ - -.demos-nav, .demos-nav dt, .demos-nav dd, .demos-nav ul, .demos-nav li { - margin: 0; - padding: 0 -} - -.demos-nav { - float: left; - width: 170px; - font-size: 1.3em; -} - -.demos-nav dt, -.demos-nav h4 { - margin: 0; - padding: 0; - font: normal 1.1em "Trebuchet MS", "Helvetica", "Arial", "Verdana", "sans-serif"; - color: #e87b10; -} - -.demos-nav dt, -.demos-nav h4 { - margin-top: 1.5em; - margin-bottom: 0; - padding-left: 8px; - padding-bottom:5px; - line-height: 1.2em; - border-bottom: 1px solid #F4F4F4; -} - -.demos-nav dd a, -.demos-nav li a { - border-bottom: 1px solid #F4F4F4; - display:block; - padding: 4px 3px 4px 8px; - font-size: 90%; - text-decoration: none; - color: #555 ; - margin:2px 0; - height:13px; -} - -.demos-nav dd a:hover, -.demos-nav dd a:focus, -.demos-nav dd a:hover, -.demos-nav dd a:focus { - background: #f3f3f3; - color:#000; - -moz-border-radius: 5px; -webkit-border-radius: 5px; -} - .demos-nav dd a.selected { - background: #555; - color:#ffffff; - -moz-border-radius: 5px; -webkit-border-radius: 5px; -} - - -/* new styles for demo pages, added by Filament 12.29.08 -eventually we should convert the font sizes to ems -- using px for now to minimize style conflicts -*/ - -.normal h3.demo-header { font-size:32px; padding:0 0 5px; border-bottom:1px solid #eee; text-transform: capitalize; } -.normal h4.demo-subheader { font-size:10px; text-transform: uppercase; color:#999; padding:8px 0 3px; border:0; margin:0; } -.normal a:link, -.normal a:visited { color:#1b75bb; text-decoration:none; } -.normal a:hover, -.normal a:active { color:#0b559b; } - -#demo-config { padding:20px 0 0; } - -#demo-frame { float:left; width:540px; height:380px; border:1px solid #ddd; overflow: auto; position: relative; } -#demo-frame h3, #demo-frame h4 { padding: 0; font-weight: bold; font-size: 1em; } - -#demo-config-menu { float:right; width:180px; } -#demo-config-menu h4 { font-size:13px; color:#666; font-weight:normal; border:0; padding-left:18px; } - -#demo-config-menu ul { list-style: none; padding: 0; margin: 0; } - -#demo-config-menu li { font-size:12px; padding:0 0 0 10px; margin:3px 0; zoom: 1; } - -#demo-config-menu li a:link, -#demo-config-menu li a:visited { display:block; padding:1px 8px 4px; border-bottom:1px dotted #b3b3b3; } -* html #demo-config-menu li a:link, -* html #demo-config-menu li a:visited { padding:1px 8px 2px; } -#demo-config-menu li a:hover, -#demo-config-menu li a:active { background-color:#f6f6f6; } - -#demo-config-menu li.demo-config-on { background: url(images/demo-config-on-tile.gif) repeat-x left center; } - -#demo-config-menu li.demo-config-on a:link, -#demo-config-menu li.demo-config-on a:visited, -#demo-config-menu li.demo-config-on a:hover, -#demo-config-menu li.demo-config-on a:active { background: url(images/demo-config-on.gif) no-repeat left; padding-left:18px; color:#fff; border:0; margin-left:-10px; margin-top: 0px; margin-bottom: 0px; } - -#demo-source, #demo-notes { - clear: both; - padding: 20px 0 0; - font-size: 1.3em; -} - -#demo-notes { width:520px; color:#333; font-size: 1em; } -#demo-notes p code, .demo-description p code { padding: 0; font-weight: bold; } -#demo-source pre, #demo-source code { padding: 0; } -code, pre { padding:8px 0 8px 20px ; font-size: 1.2em; line-height:130%; } - -#demo-source a:link, -#demo-source a:visited, -#demo-source a:hover, -#demo-source a:active { font-size:12px; padding-left:13px; background-position: left center; background-repeat: no-repeat; } - -#demo-source a.source-open:link, -#demo-source a.source-open:visited, -#demo-source a.source-open:hover, -#demo-source a.source-open:active { background-image: url(images/demo-spindown-open.gif); } - -#demo-source a.source-closed:link, -#demo-source a.source-closed:visited, -#demo-source a.source-closed:hover, -#demo-source a.source-closed:active { background-image: url(images/demo-spindown-closed.gif); } - -div.demo { - padding:12px; - font-family: "Trebuchet MS", "Arial", "Helvetica", "Verdana", "sans-serif"; -} - -div.demo h3.docs { clear:left; font-size:12px; font-weight:normal; padding:0 0 1em; margin:0; } - -div.demo-description { - clear:both; - padding:12px; - font-family: "Trebuchet MS", "Arial", "Helvetica", "Verdana", "sans-serif"; - font-size: 1.3em; - line-height: 1.4em; -} - -.ui-draggable, .ui-droppable { - background-position: top left; -} - -.left-nav .demos-nav { - padding-right: 10px; -} - -#demo-link { font-size:11px; padding-top: 6px; clear: both; overflow: hidden; } -#demo-link a span.ui-icon { float:left; margin-right:3px; } - -/* Component containers -----------------------------------*/ -#widget-docs .ui-widget { font-family: Trebuchet MS,Verdana,Arial,sans-serif; font-size: 1em; } -#widget-docs .ui-widget input, #widget-docs .ui-widget select, #widget-docs .ui-widget textarea, #widget-docs .ui-widget button { font-family: Trebuchet MS,Verdana,Arial,sans-serif; font-size: 1em; } -#widget-docs .ui-widget-header { border: 1px solid #ffffff; background: #464646 url(images/464646_40x100_textures_01_flat_100.png) 50% 50% repeat-x; color: #ffffff; font-weight: bold; } -#widget-docs .ui-widget-header a { color: #ffffff; } -#widget-docs .ui-widget-content { border: 1px solid #ffffff; background: #ffffff url(images/ffffff_40x100_textures_01_flat_75.png) 50% 50% repeat-x; color: #222222; } -#widget-docs .ui-widget-content a { color: #222222; } - -/* Interaction states -----------------------------------*/ -#widget-docs .ui-state-default, #widget-docs .ui-widget-content #widget-docs .ui-state-default { border: 1px solid #666666; background: #555555 url(images/555555_40x100_textures_03_highlight_soft_75.png) 50% 50% repeat-x; font-weight: normal; color: #ffffff; outline: none; } -#widget-docs .ui-state-default a { color: #ffffff; text-decoration: none; outline: none; } -#widget-docs .ui-state-hover, #widget-docs .ui-widget-content #widget-docs .ui-state-hover, #widget-docs .ui-state-focus, #widget-docs .ui-widget-content #widget-docs .ui-state-focus { border: 1px solid #666666; background: #444444 url(images/444444_40x100_textures_03_highlight_soft_60.png) 50% 50% repeat-x; font-weight: normal; color: #ffffff; outline: none; } -#widget-docs .ui-state-hover a { color: #ffffff; text-decoration: none; outline: none; } -#widget-docs .ui-state-active, #widget-docs .ui-widget-content #widget-docs .ui-state-active { border: 1px solid #666666; background: #ffffff url(images/ffffff_40x100_textures_01_flat_65.png) 50% 50% repeat-x; font-weight: normal; color: #F6921E; outline: none; } -#widget-docs .ui-state-active a { color: #F6921E; outline: none; text-decoration: none; } - -/* Interaction Cues -----------------------------------*/ -#widget-docs .ui-state-highlight, #widget-docs .ui-widget-content #widget-docs .ui-state-highlight {border: 1px solid #fcefa1; background: #fbf9ee url(images/fbf9ee_40x100_textures_02_glass_55.png) 50% 50% repeat-x; color: #363636; } -#widget-docs .ui-state-error, #widget-docs .ui-widget-content #widget-docs .ui-state-error {border: 1px solid #cd0a0a; background: #fef1ec url(images/fef1ec_40x100_textures_05_inset_soft_95.png) 50% bottom repeat-x; color: #cd0a0a; } -#widget-docs .ui-state-error-text, #widget-docs .ui-widget-content #widget-docs .ui-state-error-text { color: #cd0a0a; } -#widget-docs .ui-state-disabled, #widget-docs .ui-widget-content #widget-docs .ui-state-disabled { opacity: .35; filter:Alpha(Opacity=35); background-image: none; } -#widget-docs .ui-priority-primary, #widget-docs .ui-widget-content #widget-docs .ui-priority-primary { font-weight: bold; } -#widget-docs .ui-priority-secondary, #widget-docs .ui-widget-content #widget-docs .ui-priority-secondary { opacity: .7; filter:Alpha(Opacity=70); font-weight: normal; } - -/* Icons -----------------------------------*/ - -/* states and images */ -#demo-frame-wrapper .ui-icon, #widget-docs .ui-icon { width: 16px; height: 16px; background-image: url(images/222222_256x240_icons_icons.png); } -#widget-docs .ui-widget-content .ui-icon {background-image: url(images/222222_256x240_icons_icons.png); } -#widget-docs .ui-widget-header .ui-icon {background-image: url(images/222222_256x240_icons_icons.png); } -#widget-docs .ui-state-default .ui-icon { background-image: url(images/888888_256x240_icons_icons.png); } -#widget-docs .ui-state-hover .ui-icon, #widget-docs .ui-state-focus .ui-icon {background-image: url(images/454545_256x240_icons_icons.png); } -#widget-docs .ui-state-active .ui-icon {background-image: url(images/454545_256x240_icons_icons.png); } -#widget-docs .ui-state-highlight .ui-icon {background-image: url(images/2e83ff_256x240_icons_icons.png); } -#widget-docs .ui-state-error .ui-icon, #widget-docs .ui-state-error-text .ui-icon {background-image: url(images/cd0a0a_256x240_icons_icons.png); } - - -/* Misc visuals -----------------------------------*/ - -/* Corner radius */ -#widget-docs .ui-corner-tl { -moz-border-radius-topleft: 4px; -webkit-border-top-left-radius: 4px; } -#widget-docs .ui-corner-tr { -moz-border-radius-topright: 4px; -webkit-border-top-right-radius: 4px; } -#widget-docs .ui-corner-bl { -moz-border-radius-bottomleft: 4px; -webkit-border-bottom-left-radius: 4px; } -#widget-docs .ui-corner-br { -moz-border-radius-bottomright: 4px; -webkit-border-bottom-right-radius: 4px; } -#widget-docs .ui-corner-top { -moz-border-radius-topleft: 4px; -webkit-border-top-left-radius: 4px; -moz-border-radius-topright: 4px; -webkit-border-top-right-radius: 4px; } -#widget-docs .ui-corner-bottom { -moz-border-radius-bottomleft: 4px; -webkit-border-bottom-left-radius: 4px; -moz-border-radius-bottomright: 4px; -webkit-border-bottom-right-radius: 4px; } -#widget-docs .ui-corner-right { -moz-border-radius-topright: 4px; -webkit-border-top-right-radius: 4px; -moz-border-radius-bottomright: 4px; -webkit-border-bottom-right-radius: 4px; } -#widget-docs .ui-corner-left { -moz-border-radius-topleft: 4px; -webkit-border-top-left-radius: 4px; -moz-border-radius-bottomleft: 4px; -webkit-border-bottom-left-radius: 4px; } -#widget-docs .ui-corner-all { -moz-border-radius: 4px; -webkit-border-radius: 4px; } - -/* Overlays */ -#widget-docs .ui-widget-overlay { background: #aaaaaa url(images/aaaaaa_40x100_textures_01_flat_0.png) 50% 50% repeat-x; opacity: .30;filter:Alpha(Opacity=30); } -#widget-docs .ui-widget-shadow { margin: -8px 0 0 -8px; padding: 8px; background: #aaaaaa url(images/aaaaaa_40x100_textures_01_flat_0.png) 50% 50% repeat-x; opacity: .30;filter:Alpha(Opacity=30); -moz-border-radius: 8px; -webkit-border-radius: 8px; } - -/* -----------------------------------*/ - -#widget-docs { margin:20px 0 0; border: none; } - -#widget-docs h2, #widget-docs h3, #widget-docs h4, #widget-docs p, #widget-docs ul, #widget-docs code { margin:0; padding:0; } -#widget-docs code { display:block; color:#444; font-size:.9em; margin:0 0 1em; } -#widget-docs code strong { color:#000; } -#widget-docs p { margin:0 3em 1.2em 0; } -#widget-docs p.intro { font-size:13px; color:#666; line-height:1.3; } -#widget-docs ul { list-style-type: none; } - -#widget-docs h2 { font-size:16px; margin:1.2em 0 .5em; } -#widget-docs h3 { font-size:14px; color:#e6820E; margin:1.5em 0 .5em; } -.normal #widget-docs h4 { font-size:12px; color:#000; border:0; margin:0 0 .5em; } - -#docs-overview-main { width:400px; } -#docs-overview-sidebar { float:right; width:200px; } -#docs-overview-sidebar a span { color:#666; } -#widget-docs #docs-overview-main p { margin-right:0; } -#widget-docs #docs-overview-sidebar h4 { padding-left:0; } - -.docs-list-header { float:left; width:100%; margin:10px 0 0; border-bottom:1px solid #eee; } -#widget-docs .docs-list-header h2 { float:left; margin:0; } -#widget-docs .docs-list-header p { float:right; margin:5px 0; font-size:11px; } - -.docs-list { float:left; width:100%; padding:0 0 10px; } -.docs-list .param-header { float:left; clear:left; width:100%; padding:8px 0; border-top:1px solid #eee; } -#widget-docs .param-header h3, #widget-docs .param-header p { margin:0; float:left; } -#widget-docs .param-header h3 { width:50%; } -#widget-docs .param-header h3 span { background: url(images/demo-spindown-closed.gif) no-repeat left; padding-left:13px; } -#widget-docs .param-open .param-header h3 span { background: url(images/demo-spindown-open.gif) no-repeat left; } -#widget-docs .param-header p { width:24%; } -#widget-docs .param-header p.param-type span { background: url(images/icon-docs-info.gif) no-repeat left; cursor:pointer; border-bottom:1px dashed #ccc; padding-left:15px; } - -.param-details { padding-left:13px; } -.param-args { margin:0 0 1.5em; border-top:1px dotted #ccc;} -.param-args td { padding:3px 30px 3px 5px; border-bottom:1px dotted #ccc; } - - -/* overrides for ui-tab styles */ -#widget-docs ul.ui-tabs-nav { padding:0 0 0 8px; } -#widget-docs .ui-tabs-nav li { margin:5px 5px 0 0; } - -#widget-docs .ui-tabs-nav li a:link, -#widget-docs .ui-tabs-nav li a:visited, -#widget-docs .ui-tabs-nav li a:hover, -#widget-docs .ui-tabs-nav li a:active { font-size:14px; padding:4px 1.2em 3px; color:#fff; } - -#widget-docs .ui-tabs-nav li.ui-tabs-selected a:link, -#widget-docs .ui-tabs-nav li.ui-tabs-selected a:visited, -#widget-docs .ui-tabs-nav li.ui-tabs-selected a:hover, -#widget-docs .ui-tabs-nav li.ui-tabs-selected a:active { color:#e6820E; } - -#widget-docs .ui-tabs-panel { padding:20px 9px; font-size:12px; line-height:1.4; color:#000; } - -#widget-docs .ui-widget-content a:link, -#widget-docs .ui-widget-content a:visited { color:#1b75bb; text-decoration:none; } -#widget-docs .ui-widget-content a:hover, -#widget-docs .ui-widget-content a:active { color:#0b559b; } - diff --git a/include/jquery_ui/development-bundle/demos/dialog/animated.html b/include/jquery_ui/development-bundle/demos/dialog/animated.html deleted file mode 100644 index 4124ae400..000000000 --- a/include/jquery_ui/development-bundle/demos/dialog/animated.html +++ /dev/null @@ -1,56 +0,0 @@ -<!DOCTYPE html> -<html lang="en"> -<head> - <meta charset="utf-8"> - <title>jQuery UI Dialog - Animation</title> - <link rel="stylesheet" href="../../themes/base/jquery.ui.all.css"> - <script src="../../jquery-1.7.2.js"></script> - <script src="../../external/jquery.bgiframe-2.1.2.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.dialog.js"></script> - <script src="../../ui/jquery.effects.core.js"></script> - <script src="../../ui/jquery.effects.blind.js"></script> - <script src="../../ui/jquery.effects.explode.js"></script> - <link rel="stylesheet" href="../demos.css"> - <script> - // increase the default animation speed to exaggerate the effect - $.fx.speeds._default = 1000; - $(function() { - $( "#dialog" ).dialog({ - autoOpen: false, - show: "blind", - hide: "explode" - }); - - $( "#opener" ).click(function() { - $( "#dialog" ).dialog( "open" ); - return false; - }); - }); - </script> -</head> -<body> - -<div class="demo"> - -<div id="dialog" title="Basic dialog"> - <p>This is an animated dialog which is useful for displaying information. The dialog window can be moved, resized and closed with the 'x' icon.</p> -</div> - -<button id="opener">Open Dialog</button> - -</div><!-- End demo --> - - - -<div class="demo-description"> -<p>Dialogs may be animated by specifying an effect for the show and/or hide properties. You must include the individual effects file for any effects you would like to use.</p> -</div><!-- End demo-description --> - -</body> -</html> diff --git a/include/jquery_ui/development-bundle/demos/dialog/default.html b/include/jquery_ui/development-bundle/demos/dialog/default.html deleted file mode 100644 index bd976a168..000000000 --- a/include/jquery_ui/development-bundle/demos/dialog/default.html +++ /dev/null @@ -1,54 +0,0 @@ -<!DOCTYPE html> -<html lang="en"> -<head> - <meta charset="utf-8"> - <title>jQuery UI Dialog - Default functionality</title> - <link rel="stylesheet" href="../../themes/base/jquery.ui.all.css"> - <script src="../../jquery-1.7.2.js"></script> - <script src="../../external/jquery.bgiframe-2.1.2.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.dialog.js"></script> - <link rel="stylesheet" href="../demos.css"> - <script> - $(function() { - $( "#dialog" ).dialog(); - }); - </script> -</head> -<body> - -<div class="demo"> - -<div id="dialog" title="Basic dialog"> - <p>This is the default dialog which is useful for displaying information. The dialog window can be moved, resized and closed with the 'x' icon.</p> -</div> - -<!-- Sample page content to illustrate the layering of the dialog --> -<div class="hiddenInViewSource" style="padding:20px;"> -<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> -<form> - <input value="text input" /><br /> - <input type="checkbox" />checkbox<br /> - <input type="radio" />radio<br /> - <select> - <option>select</option> - </select><br /><br /> - <textarea>textarea</textarea><br /> -</form> -</div><!-- End sample page content --> - -</div><!-- End demo --> - - - -<div class="demo-description"> -<p>The basic dialog window is an overlay positioned within the viewport and is protected from page content (like select elements) shining through with an iframe. It has a title bar and a content area, and can be moved, resized and closed with the 'x' icon by default.</p> -</div><!-- End demo-description --> - -</body> -</html> diff --git a/include/jquery_ui/development-bundle/demos/dialog/index.html b/include/jquery_ui/development-bundle/demos/dialog/index.html deleted file mode 100644 index 460e4fb36..000000000 --- a/include/jquery_ui/development-bundle/demos/dialog/index.html +++ /dev/null @@ -1,23 +0,0 @@ -<!DOCTYPE html> -<html lang="en"> -<head> - <meta charset="utf-8"> - <title>jQuery UI Dialog Demos</title> - <link rel="stylesheet" href="../demos.css"> -</head> -<body> - -<div class="demos-nav"> - <h4>Examples</h4> - <ul> - <li class="demo-config-on"><a href="default.html">Default functionality</a></li> - <li><a href="animated.html">Animated dialog</a></li> - <li><a href="modal.html">Modal dialog</a></li> - <li><a href="modal-message.html">Modal message</a></li> - <li><a href="modal-confirmation.html">Modal confirmation</a></li> - <li><a href="modal-form.html">Modal form</a></li> - </ul> -</div> - -</body> -</html> diff --git a/include/jquery_ui/development-bundle/demos/dialog/modal-confirmation.html b/include/jquery_ui/development-bundle/demos/dialog/modal-confirmation.html deleted file mode 100644 index f0b70b7d6..000000000 --- a/include/jquery_ui/development-bundle/demos/dialog/modal-confirmation.html +++ /dev/null @@ -1,69 +0,0 @@ -<!DOCTYPE html> -<html lang="en"> -<head> - <meta charset="utf-8"> - <title>jQuery UI Dialog - Modal confirmation</title> - <link rel="stylesheet" href="../../themes/base/jquery.ui.all.css"> - <script src="../../jquery-1.7.2.js"></script> - <script src="../../external/jquery.bgiframe-2.1.2.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.dialog.js"></script> - <link rel="stylesheet" href="../demos.css"> - <script> - $(function() { - // a workaround for a flaw in the demo system (http://dev.jqueryui.com/ticket/4375), ignore! - $( "#dialog:ui-dialog" ).dialog( "destroy" ); - - $( "#dialog-confirm" ).dialog({ - resizable: false, - height:140, - modal: true, - buttons: { - "Delete all items": function() { - $( this ).dialog( "close" ); - }, - Cancel: function() { - $( this ).dialog( "close" ); - } - } - }); - }); - </script> -</head> -<body> - -<div class="demo"> - -<div id="dialog-confirm" title="Empty the recycle bin?"> - <p><span class="ui-icon ui-icon-alert" style="float:left; margin:0 7px 20px 0;"></span>These items will be permanently deleted and cannot be recovered. Are you sure?</p> -</div> - -<!-- Sample page content to illustrate the layering of the dialog --> -<div class="hiddenInViewSource" style="padding:20px;"> - <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> - <form> - <input value="text input" /><br /> - <input type="checkbox" />checkbox<br /> - <input type="radio" />radio<br /> - <select> - <option>select</option> - </select><br /><br /> - <textarea>textarea</textarea><br /> - </form> -</div><!-- End sample page content --> - -</div><!-- End demo --> - - - -<div class="demo-description"> -<p>Confirm an action that may be destructive or important. Set the <code>modal</code> option to true, and specify primary and secondary user actions with the <code>buttons</code> option.</p> -</div><!-- End demo-description --> - -</body> -</html> diff --git a/include/jquery_ui/development-bundle/demos/dialog/modal-form.html b/include/jquery_ui/development-bundle/demos/dialog/modal-form.html deleted file mode 100644 index 553335227..000000000 --- a/include/jquery_ui/development-bundle/demos/dialog/modal-form.html +++ /dev/null @@ -1,167 +0,0 @@ -<!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.7.2.js"></script> - <script src="../../external/jquery.bgiframe-2.1.2.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.dialog.js"></script> - <script src="../../ui/jquery.effects.core.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() { - // a workaround for a flaw in the demo system (http://dev.jqueryui.com/ticket/4375), ignore! - $( "#dialog:ui-dialog" ).dialog( "destroy" ); - - 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 class="demo"> - -<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><!-- End demo --> - - - -<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><!-- End demo-description --> - -</body> -</html> diff --git a/include/jquery_ui/development-bundle/demos/dialog/modal-message.html b/include/jquery_ui/development-bundle/demos/dialog/modal-message.html deleted file mode 100644 index 17b3e0ece..000000000 --- a/include/jquery_ui/development-bundle/demos/dialog/modal-message.html +++ /dev/null @@ -1,71 +0,0 @@ -<!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.7.2.js"></script> - <script src="../../external/jquery.bgiframe-2.1.2.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.dialog.js"></script> - <link rel="stylesheet" href="../demos.css"> - <script> - $(function() { - // a workaround for a flaw in the demo system (http://dev.jqueryui.com/ticket/4375), ignore! - $( "#dialog:ui-dialog" ).dialog( "destroy" ); - - $( "#dialog-message" ).dialog({ - modal: true, - buttons: { - Ok: function() { - $( this ).dialog( "close" ); - } - } - }); - }); - </script> -</head> -<body> - -<div class="demo"> - -<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> - -<!-- Sample page content to illustrate the layering of the dialog --> -<div class="hiddenInViewSource" style="padding:20px;"> - <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> - <form> - <input value="text input" /><br /> - <input type="checkbox" />checkbox<br /> - <input type="radio" />radio<br /> - <select> - <option>select</option> - </select><br /><br /> - <textarea>textarea</textarea><br /> - </form> -</div><!-- End sample page content --> - -</div><!-- End demo --> - - - -<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><!-- End demo-description --> - -</body> -</html> diff --git a/include/jquery_ui/development-bundle/demos/dialog/modal.html b/include/jquery_ui/development-bundle/demos/dialog/modal.html deleted file mode 100644 index b352af0eb..000000000 --- a/include/jquery_ui/development-bundle/demos/dialog/modal.html +++ /dev/null @@ -1,60 +0,0 @@ -<!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.7.2.js"></script> - <script src="../../external/jquery.bgiframe-2.1.2.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.dialog.js"></script> - <link rel="stylesheet" href="../demos.css"> - <script> - $(function() { - // a workaround for a flaw in the demo system (http://dev.jqueryui.com/ticket/4375), ignore! - $( "#dialog:ui-dialog" ).dialog( "destroy" ); - - $( "#dialog-modal" ).dialog({ - height: 140, - modal: true - }); - }); - </script> -</head> -<body> - -<div class="demo"> - -<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> - -<!-- Sample page content to illustrate the layering of the dialog --> -<div class="hiddenInViewSource" style="padding:20px;"> - <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> - <form> - <input value="text input" /><br /> - <input type="checkbox" />checkbox<br /> - <input type="radio" />radio<br /> - <select> - <option>select</option> - </select><br /><br /> - <textarea>textarea</textarea><br /> - </form> -</div><!-- End sample page content --> - -</div><!-- End demo --> - - - -<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><!-- End demo-description --> - -</body> -</html> diff --git a/include/jquery_ui/development-bundle/demos/draggable/constrain-movement.html b/include/jquery_ui/development-bundle/demos/draggable/constrain-movement.html deleted file mode 100644 index 0f9474496..000000000 --- a/include/jquery_ui/development-bundle/demos/draggable/constrain-movement.html +++ /dev/null @@ -1,69 +0,0 @@ -<!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.7.2.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; } - </style> - <script> - $(function() { - $( "#draggable" ).draggable({ axis: "y" }); - $( "#draggable2" ).draggable({ axis: "x" }); - - $( "#draggable3" ).draggable({ containment: "#containment-wrapper", scroll: false }); - $( "#draggable4" ).draggable({ containment: "#demo-frame" }); - $( "#draggable5" ).draggable({ containment: "parent" }); - }); - </script> -</head> -<body> - -<div class="demo"> - -<h3 class="docs">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 class="docs">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 id="draggable4" class="draggable ui-widget-content"> - <p>I'm contained within the box's parent</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><!-- End demo --> - - - -<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><!-- End demo-description --> - -</body> -</html> diff --git a/include/jquery_ui/development-bundle/demos/draggable/cursor-style.html b/include/jquery_ui/development-bundle/demos/draggable/cursor-style.html deleted file mode 100644 index 71100efb5..000000000 --- a/include/jquery_ui/development-bundle/demos/draggable/cursor-style.html +++ /dev/null @@ -1,49 +0,0 @@ -<!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.7.2.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 class="demo"> - -<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><!-- End demo --> - - - -<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><!-- End demo-description --> - -</body> -</html> diff --git a/include/jquery_ui/development-bundle/demos/draggable/default.html b/include/jquery_ui/development-bundle/demos/draggable/default.html deleted file mode 100644 index 8d9be4c32..000000000 --- a/include/jquery_ui/development-bundle/demos/draggable/default.html +++ /dev/null @@ -1,39 +0,0 @@ -<!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.7.2.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 class="demo"> - -<div id="draggable" class="ui-widget-content"> - <p>Drag me around</p> -</div> - -</div><!-- End demo --> - - - -<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><!-- End demo-description --> - -</body> -</html> diff --git a/include/jquery_ui/development-bundle/demos/draggable/delay-start.html b/include/jquery_ui/development-bundle/demos/draggable/delay-start.html deleted file mode 100644 index 76e91b914..000000000 --- a/include/jquery_ui/development-bundle/demos/draggable/delay-start.html +++ /dev/null @@ -1,45 +0,0 @@ -<!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.7.2.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 class="demo"> - -<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><!-- End demo --> - - - -<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><!-- End demo-description --> - -</body> -</html> diff --git a/include/jquery_ui/development-bundle/demos/draggable/events.html b/include/jquery_ui/development-bundle/demos/draggable/events.html deleted file mode 100644 index 06577ecfe..000000000 --- a/include/jquery_ui/development-bundle/demos/draggable/events.html +++ /dev/null @@ -1,77 +0,0 @@ -<!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.7.2.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 class="demo"> - -<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><!-- End demo --> - - - -<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><!-- End demo-description --> - -</body> -</html> diff --git a/include/jquery_ui/development-bundle/demos/draggable/handle.html b/include/jquery_ui/development-bundle/demos/draggable/handle.html deleted file mode 100644 index 6efab53db..000000000 --- a/include/jquery_ui/development-bundle/demos/draggable/handle.html +++ /dev/null @@ -1,50 +0,0 @@ -<!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.7.2.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 class="demo"> - -<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> - -<!-- ADD CANCEL DEMO --> - -</div><!-- End demo --> - - - -<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><!-- End demo-description --> - -</body> -</html> diff --git a/include/jquery_ui/development-bundle/demos/draggable/index.html b/include/jquery_ui/development-bundle/demos/draggable/index.html deleted file mode 100644 index 0beda8e72..000000000 --- a/include/jquery_ui/development-bundle/demos/draggable/index.html +++ /dev/null @@ -1,28 +0,0 @@ -<!DOCTYPE html> -<html lang="en"> -<head> - <meta charset="utf-8"> - <title>jQuery UI Draggable Demos</title> - <link rel="stylesheet" href="../demos.css"> -</head> -<body> - -<div class="demos-nav"> - <h4>Examples</h4> - <ul> - <li class="demo-config-on"><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> -</div> - -</body> -</html> diff --git a/include/jquery_ui/development-bundle/demos/draggable/revert.html b/include/jquery_ui/development-bundle/demos/draggable/revert.html deleted file mode 100644 index 98843ae88..000000000 --- a/include/jquery_ui/development-bundle/demos/draggable/revert.html +++ /dev/null @@ -1,44 +0,0 @@ -<!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.7.2.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 class="demo"> - -<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><!-- End demo --> - - - -<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><!-- End demo-description --> - -</body> -</html> diff --git a/include/jquery_ui/development-bundle/demos/draggable/scroll.html b/include/jquery_ui/development-bundle/demos/draggable/scroll.html deleted file mode 100644 index 8e3c789fb..000000000 --- a/include/jquery_ui/development-bundle/demos/draggable/scroll.html +++ /dev/null @@ -1,51 +0,0 @@ -<!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.7.2.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 class="demo"> - -<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><!-- End demo --> - - - -<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><!-- End demo-description --> - -</body> -</html> diff --git a/include/jquery_ui/development-bundle/demos/draggable/snap-to.html b/include/jquery_ui/development-bundle/demos/draggable/snap-to.html deleted file mode 100644 index 320cb7947..000000000 --- a/include/jquery_ui/development-bundle/demos/draggable/snap-to.html +++ /dev/null @@ -1,68 +0,0 @@ -<!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.7.2.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 class="demo"> - -<div id="snaptarget" class="ui-widget-header"> - <p>I'm a snap target</p> -</div> - -<br 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><!-- End demo --> - - - -<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><!-- End demo-description --> - -</body> -</html> diff --git a/include/jquery_ui/development-bundle/demos/draggable/sortable.html b/include/jquery_ui/development-bundle/demos/draggable/sortable.html deleted file mode 100644 index 75b15b968..000000000 --- a/include/jquery_ui/development-bundle/demos/draggable/sortable.html +++ /dev/null @@ -1,57 +0,0 @@ -<!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.7.2.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> - .demo ul { list-style-type: none; margin: 0; padding: 0; margin-bottom: 10px; } - .demo 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> - -<div class="demo"> - -<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><!-- End demo --> - - - -<div class="demo-description"> -<p>Draggables are built to interact seamlessly with <a href="#">sortables</a>.</p> -</div><!-- End demo-description --> - -</body> -</html> diff --git a/include/jquery_ui/development-bundle/demos/draggable/visual-feedback.html b/include/jquery_ui/development-bundle/demos/draggable/visual-feedback.html deleted file mode 100644 index 26b6e1084..000000000 --- a/include/jquery_ui/development-bundle/demos/draggable/visual-feedback.html +++ /dev/null @@ -1,77 +0,0 @@ -<!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.7.2.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> - -<div class="demo"> - -<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><!-- End demo --> - - - -<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><!-- End demo-description --> - -</body> -</html> diff --git a/include/jquery_ui/development-bundle/demos/droppable/accepted-elements.html b/include/jquery_ui/development-bundle/demos/droppable/accepted-elements.html deleted file mode 100644 index 7e8451571..000000000 --- a/include/jquery_ui/development-bundle/demos/droppable/accepted-elements.html +++ /dev/null @@ -1,60 +0,0 @@ -<!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.7.2.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 class="demo"> - -<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><!-- End demo --> - - - -<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><!-- End demo-description --> - -</body> -</html> diff --git a/include/jquery_ui/development-bundle/demos/droppable/default.html b/include/jquery_ui/development-bundle/demos/droppable/default.html deleted file mode 100644 index 61e9c08ac..000000000 --- a/include/jquery_ui/development-bundle/demos/droppable/default.html +++ /dev/null @@ -1,53 +0,0 @@ -<!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.7.2.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 class="demo"> - -<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><!-- End demo --> - - - -<div class="demo-description"> -<p>Enable any DOM element to be droppable, a target for draggable elements.</p> -</div><!-- End demo-description --> - -</body> -</html> diff --git a/include/jquery_ui/development-bundle/demos/droppable/images/high_tatras.jpg b/include/jquery_ui/development-bundle/demos/droppable/images/high_tatras.jpg Binary files differdeleted file mode 100644 index 5723680df..000000000 --- a/include/jquery_ui/development-bundle/demos/droppable/images/high_tatras.jpg +++ /dev/null diff --git a/include/jquery_ui/development-bundle/demos/droppable/images/high_tatras2.jpg b/include/jquery_ui/development-bundle/demos/droppable/images/high_tatras2.jpg Binary files differdeleted file mode 100644 index 1acad3afb..000000000 --- a/include/jquery_ui/development-bundle/demos/droppable/images/high_tatras2.jpg +++ /dev/null diff --git a/include/jquery_ui/development-bundle/demos/droppable/images/high_tatras2_min.jpg b/include/jquery_ui/development-bundle/demos/droppable/images/high_tatras2_min.jpg Binary files differdeleted file mode 100644 index 493e0824a..000000000 --- a/include/jquery_ui/development-bundle/demos/droppable/images/high_tatras2_min.jpg +++ /dev/null diff --git a/include/jquery_ui/development-bundle/demos/droppable/images/high_tatras3.jpg b/include/jquery_ui/development-bundle/demos/droppable/images/high_tatras3.jpg Binary files differdeleted file mode 100644 index e158b1ae0..000000000 --- a/include/jquery_ui/development-bundle/demos/droppable/images/high_tatras3.jpg +++ /dev/null diff --git a/include/jquery_ui/development-bundle/demos/droppable/images/high_tatras3_min.jpg b/include/jquery_ui/development-bundle/demos/droppable/images/high_tatras3_min.jpg Binary files differdeleted file mode 100644 index 4aa96b01e..000000000 --- a/include/jquery_ui/development-bundle/demos/droppable/images/high_tatras3_min.jpg +++ /dev/null diff --git a/include/jquery_ui/development-bundle/demos/droppable/images/high_tatras4.jpg b/include/jquery_ui/development-bundle/demos/droppable/images/high_tatras4.jpg Binary files differdeleted file mode 100644 index da4124d88..000000000 --- a/include/jquery_ui/development-bundle/demos/droppable/images/high_tatras4.jpg +++ /dev/null diff --git a/include/jquery_ui/development-bundle/demos/droppable/images/high_tatras4_min.jpg b/include/jquery_ui/development-bundle/demos/droppable/images/high_tatras4_min.jpg Binary files differdeleted file mode 100644 index 794dbdf78..000000000 --- a/include/jquery_ui/development-bundle/demos/droppable/images/high_tatras4_min.jpg +++ /dev/null diff --git a/include/jquery_ui/development-bundle/demos/droppable/images/high_tatras_min.jpg b/include/jquery_ui/development-bundle/demos/droppable/images/high_tatras_min.jpg Binary files differdeleted file mode 100644 index 51e0cdedf..000000000 --- a/include/jquery_ui/development-bundle/demos/droppable/images/high_tatras_min.jpg +++ /dev/null diff --git a/include/jquery_ui/development-bundle/demos/droppable/index.html b/include/jquery_ui/development-bundle/demos/droppable/index.html deleted file mode 100644 index 13ae9855e..000000000 --- a/include/jquery_ui/development-bundle/demos/droppable/index.html +++ /dev/null @@ -1,24 +0,0 @@ -<!DOCTYPE html> -<html lang="en"> -<head> - <meta charset="utf-8"> - <title>jQuery UI Droppable Demos</title> - <link rel="stylesheet" href="../demos.css"> -</head> -<body> - -<div class="demos-nav"> - <h4>Examples</h4> - <ul> - <li class="demo-config-on"><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> -</div> - -</body> -</html> diff --git a/include/jquery_ui/development-bundle/demos/droppable/photo-manager.html b/include/jquery_ui/development-bundle/demos/droppable/photo-manager.html deleted file mode 100644 index d3586e62e..000000000 --- a/include/jquery_ui/development-bundle/demos/droppable/photo-manager.html +++ /dev/null @@ -1,184 +0,0 @@ -<!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.7.2.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; } * html #gallery { height: 12em; } /* IE6 */ - .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%;} * html #trash { height: 18em; } /* IE6 */ - #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: $( "#demo-frame" ).length ? "#demo-frame" : "document", // stick to demo-frame if present - 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="demo 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><!-- End demo --> - - -<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><!-- End demo-description --> - -</body> -</html> diff --git a/include/jquery_ui/development-bundle/demos/droppable/propagation.html b/include/jquery_ui/development-bundle/demos/droppable/propagation.html deleted file mode 100644 index 7982e2af0..000000000 --- a/include/jquery_ui/development-bundle/demos/droppable/propagation.html +++ /dev/null @@ -1,80 +0,0 @@ -<!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.7.2.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 class="demo"> - -<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><!-- End demo --> - - - -<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><!-- End demo-description --> - -</body> -</html> diff --git a/include/jquery_ui/development-bundle/demos/droppable/revert.html b/include/jquery_ui/development-bundle/demos/droppable/revert.html deleted file mode 100644 index 2809ff421..000000000 --- a/include/jquery_ui/development-bundle/demos/droppable/revert.html +++ /dev/null @@ -1,61 +0,0 @@ -<!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.7.2.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 class="demo"> - -<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><!-- End demo --> - - - -<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><!-- End demo-description --> - -</body> -</html> diff --git a/include/jquery_ui/development-bundle/demos/droppable/shopping-cart.html b/include/jquery_ui/development-bundle/demos/droppable/shopping-cart.html deleted file mode 100644 index 8a08f576b..000000000 --- a/include/jquery_ui/development-bundle/demos/droppable/shopping-cart.html +++ /dev/null @@ -1,101 +0,0 @@ -<!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.7.2.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; } - /* 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 class="demo"> - -<div id="products"> - <h1 class="ui-widget-header">Products</h1> - <div id="catalog"> - <h3><a href="#">T-Shirts</a></h3> - <div> - <ul> - <li>Lolcat Shirt</li> - <li>Cheezeburger Shirt</li> - <li>Buckit Shirt</li> - </ul> - </div> - <h3><a href="#">Bags</a></h3> - <div> - <ul> - <li>Zebra Striped</li> - <li>Black Leather</li> - <li>Alligator Leather</li> - </ul> - </div> - <h3><a href="#">Gadgets</a></h3> - <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><!-- End demo --> - - - -<div class="demo-description"> -<p>Demonstrate how to use an accordion to structure products into a catalog and make use drag and drop for adding them to a shopping cart, where they are sortable.</p> -</div><!-- End demo-description --> - -</body> -</html> diff --git a/include/jquery_ui/development-bundle/demos/droppable/visual-feedback.html b/include/jquery_ui/development-bundle/demos/droppable/visual-feedback.html deleted file mode 100644 index 889f3be02..000000000 --- a/include/jquery_ui/development-bundle/demos/droppable/visual-feedback.html +++ /dev/null @@ -1,78 +0,0 @@ -<!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.7.2.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; } - </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> - -<div class="demo"> - -<h3 class="docs">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 class="docs">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><!-- End demo --> - - - -<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><!-- End demo-description --> - -</body> -</html> diff --git a/include/jquery_ui/development-bundle/demos/effect/default.html b/include/jquery_ui/development-bundle/demos/effect/default.html deleted file mode 100644 index deffa6da2..000000000 --- a/include/jquery_ui/development-bundle/demos/effect/default.html +++ /dev/null @@ -1,109 +0,0 @@ -<!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.7.2.js"></script> - <script src="../../ui/jquery.effects.core.js"></script> - <script src="../../ui/jquery.effects.blind.js"></script> - <script src="../../ui/jquery.effects.bounce.js"></script> - <script src="../../ui/jquery.effects.clip.js"></script> - <script src="../../ui/jquery.effects.drop.js"></script> - <script src="../../ui/jquery.effects.explode.js"></script> - <script src="../../ui/jquery.effects.fade.js"></script> - <script src="../../ui/jquery.effects.fold.js"></script> - <script src="../../ui/jquery.effects.highlight.js"></script> - <script src="../../ui/jquery.effects.pulsate.js"></script> - <script src="../../ui/jquery.effects.scale.js"></script> - <script src="../../ui/jquery.effects.shake.js"></script> - <script src="../../ui/jquery.effects.slide.js"></script> - <script src="../../ui/jquery.effects.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="demo"> - -<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><!-- End demo --> - - - -<div class="demo-description"> -<p>Click the button above to show the effect.</p> -</div><!-- End demo-description --> - -</body> -</html> diff --git a/include/jquery_ui/development-bundle/demos/effect/easing.html b/include/jquery_ui/development-bundle/demos/effect/easing.html deleted file mode 100644 index c97535c0b..000000000 --- a/include/jquery_ui/development-bundle/demos/effect/easing.html +++ /dev/null @@ -1,108 +0,0 @@ -<!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.7.2.js"></script> - <script src="../../ui/jquery.effects.core.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. " + - "Give Firefox 3 a try!" - ).appendTo( "#graphs" ); - return; - } - - var i = 0, - width = 100, - height = 100; - $.each( $.easing, function( name, impl ) { - // skip linear/jswing and any non functioning implementation - if ( !$.isFunction( impl ) || /jswing/.test( name ) ) { - return; - } - 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"; - - 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(); - - ctx.strokeStyle = "#555"; - ctx.beginPath(); - ctx.moveTo( width * 0.1, drawHeight + .5 ); - ctx.lineTo( width * 0.9, drawHeight + .5 ); - ctx.stroke(); - - ctx.strokeStyle = "#555"; - ctx.beginPath(); - ctx.moveTo( width * 0.1, drawHeight * .3 - .5 ); - ctx.lineTo( width * 0.9, drawHeight * .3 - .5 ); - ctx.stroke(); - - ctx.strokeStyle = "white"; - ctx.beginPath(); - ctx.lineWidth = 2; - ctx.moveTo( width * 0.1, drawHeight ); - $.each( new Array( width ), function( position ) { - var val = impl( 0, position, 0, 1, height ); - if ( /linear|jswing/.test( name ) ) { - val = position / width; - } - ctx.lineTo( position * 0.8 + width * 0.1, - drawHeight - drawHeight * val * 0.7 ); - }); - ctx.stroke(); - 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 class="demo"> - -<div id="graphs"></div> - -</div><!-- End demo --> - - - -<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><!-- End demo-description --> - -</body> -</html> diff --git a/include/jquery_ui/development-bundle/demos/effect/index.html b/include/jquery_ui/development-bundle/demos/effect/index.html deleted file mode 100644 index 65aa3993a..000000000 --- a/include/jquery_ui/development-bundle/demos/effect/index.html +++ /dev/null @@ -1,19 +0,0 @@ -<!DOCTYPE html> -<html lang="en"> -<head> - <meta charset="utf-8"> - <title>jQuery UI Effects Demos</title> - <link rel="stylesheet" href="../demos.css"> -</head> -<body> - -<div class="demos-nav"> - <h4>Examples</h4> - <ul> - <li class="demo-config-on"><a href="default.html">Effect showcase</a></li> - <li><a href="easing.html">Easing showcase</a></li> - </ul> -</div> - -</body> -</html> diff --git a/include/jquery_ui/development-bundle/demos/hide/default.html b/include/jquery_ui/development-bundle/demos/hide/default.html deleted file mode 100644 index 75ec1eb38..000000000 --- a/include/jquery_ui/development-bundle/demos/hide/default.html +++ /dev/null @@ -1,102 +0,0 @@ -<!DOCTYPE html> -<html lang="en"> -<head> - <meta charset="utf-8"> - <title>jQuery UI Effects - Hide Demo</title> - <link rel="stylesheet" href="../../themes/base/jquery.ui.all.css"> - <script src="../../jquery-1.7.2.js"></script> - <script src="../../ui/jquery.effects.core.js"></script> - <script src="../../ui/jquery.effects.blind.js"></script> - <script src="../../ui/jquery.effects.bounce.js"></script> - <script src="../../ui/jquery.effects.clip.js"></script> - <script src="../../ui/jquery.effects.drop.js"></script> - <script src="../../ui/jquery.effects.explode.js"></script> - <script src="../../ui/jquery.effects.fold.js"></script> - <script src="../../ui/jquery.effects.highlight.js"></script> - <script src="../../ui/jquery.effects.pulsate.js"></script> - <script src="../../ui/jquery.effects.scale.js"></script> - <script src="../../ui/jquery.effects.shake.js"></script> - <script src="../../ui/jquery.effects.slide.js"></script> - <link rel="stylesheet" href="../demos.css"> - <style> - .toggler { width: 500px; height: 200px; } - #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; } - </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 === "size" ) { - options = { to: { width: 200, height: 60 } }; - } - - // run the effect - $( "#effect" ).hide( selectedEffect, options, 1000, 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="demo"> - -<div class="toggler"> - <div id="effect" class="ui-widget-content ui-corner-all"> - <h3 class="ui-widget-header ui-corner-all">Hide</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="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> -</select> - -<a href="#" id="button" class="ui-state-default ui-corner-all">Run Effect</a> - -</div><!-- End demo --> - - - -<div class="demo-description"> -<p>Click the button above to preview the effect.</p> -</div><!-- End demo-description --> - -</body> -</html> diff --git a/include/jquery_ui/development-bundle/demos/hide/index.html b/include/jquery_ui/development-bundle/demos/hide/index.html deleted file mode 100644 index f5bd6a0e4..000000000 --- a/include/jquery_ui/development-bundle/demos/hide/index.html +++ /dev/null @@ -1,18 +0,0 @@ -<!DOCTYPE html> -<html lang="en"> -<head> - <meta charset="utf-8"> - <title>jQuery UI Effects Demos</title> - <link rel="stylesheet" href="../demos.css"> -</head> -<body> - -<div class="demos-nav"> - <h4>Examples</h4> - <ul> - <li class="demo-config-on"><a href="default.html">Default functionality</a></li> - </ul> -</div> - -</body> -</html> diff --git a/include/jquery_ui/development-bundle/demos/images/calendar.gif b/include/jquery_ui/development-bundle/demos/images/calendar.gif Binary files differdeleted file mode 100644 index d0abaa7c0..000000000 --- a/include/jquery_ui/development-bundle/demos/images/calendar.gif +++ /dev/null diff --git a/include/jquery_ui/development-bundle/demos/images/demo-config-on-tile.gif b/include/jquery_ui/development-bundle/demos/images/demo-config-on-tile.gif Binary files differdeleted file mode 100644 index a96b5bf33..000000000 --- a/include/jquery_ui/development-bundle/demos/images/demo-config-on-tile.gif +++ /dev/null diff --git a/include/jquery_ui/development-bundle/demos/images/demo-config-on.gif b/include/jquery_ui/development-bundle/demos/images/demo-config-on.gif Binary files differdeleted file mode 100644 index e3b6d7c0f..000000000 --- a/include/jquery_ui/development-bundle/demos/images/demo-config-on.gif +++ /dev/null diff --git a/include/jquery_ui/development-bundle/demos/images/demo-spindown-closed.gif b/include/jquery_ui/development-bundle/demos/images/demo-spindown-closed.gif Binary files differdeleted file mode 100644 index ad4bd3781..000000000 --- a/include/jquery_ui/development-bundle/demos/images/demo-spindown-closed.gif +++ /dev/null diff --git a/include/jquery_ui/development-bundle/demos/images/demo-spindown-open.gif b/include/jquery_ui/development-bundle/demos/images/demo-spindown-open.gif Binary files differdeleted file mode 100644 index e1c60aa55..000000000 --- a/include/jquery_ui/development-bundle/demos/images/demo-spindown-open.gif +++ /dev/null diff --git a/include/jquery_ui/development-bundle/demos/images/icon-docs-info.gif b/include/jquery_ui/development-bundle/demos/images/icon-docs-info.gif Binary files differdeleted file mode 100644 index ea6d2bece..000000000 --- a/include/jquery_ui/development-bundle/demos/images/icon-docs-info.gif +++ /dev/null diff --git a/include/jquery_ui/development-bundle/demos/images/pbar-ani.gif b/include/jquery_ui/development-bundle/demos/images/pbar-ani.gif Binary files differdeleted file mode 100644 index cb59a04f9..000000000 --- a/include/jquery_ui/development-bundle/demos/images/pbar-ani.gif +++ /dev/null diff --git a/include/jquery_ui/development-bundle/demos/index.html b/include/jquery_ui/development-bundle/demos/index.html deleted file mode 100644 index 0c06d6056..000000000 --- a/include/jquery_ui/development-bundle/demos/index.html +++ /dev/null @@ -1,329 +0,0 @@ -<!DOCTYPE html> -<html lang="en"> -<head> - <meta charset="utf-8"> - <title>jQuery UI Demos</title> - <link rel="stylesheet" href="../themes/base/jquery.ui.all.css"> - <link rel="stylesheet" href="demos.css"> - <script src="../jquery-1.7.2.js"></script> - <script src="../external/jquery.bgiframe-2.1.2.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.accordion.js"></script> - <script src="../ui/jquery.ui.autocomplete.js"></script> - <script src="../ui/jquery.ui.button.js"></script> - <script src="../ui/jquery.ui.datepicker.js"></script> - <script src="../ui/jquery.ui.dialog.js"></script> - <script src="../ui/jquery.ui.draggable.js"></script> - <script src="../ui/jquery.ui.droppable.js"></script> - <script src="../ui/jquery.ui.position.js"></script> - <script src="../ui/jquery.ui.progressbar.js"></script> - <script src="../ui/jquery.ui.resizable.js"></script> - <script src="../ui/jquery.ui.selectable.js"></script> - <script src="../ui/jquery.ui.slider.js"></script> - <script src="../ui/jquery.ui.sortable.js"></script> - <script src="../ui/jquery.ui.tabs.js"></script> - <script src="../ui/jquery.effects.core.js"></script> - <script src="../ui/jquery.effects.blind.js"></script> - <script src="../ui/jquery.effects.bounce.js"></script> - <script src="../ui/jquery.effects.clip.js"></script> - <script src="../ui/jquery.effects.drop.js"></script> - <script src="../ui/jquery.effects.explode.js"></script> - <script src="../ui/jquery.effects.fold.js"></script> - <script src="../ui/jquery.effects.highlight.js"></script> - <script src="../ui/jquery.effects.pulsate.js"></script> - <script src="../ui/jquery.effects.scale.js"></script> - <script src="../ui/jquery.effects.shake.js"></script> - <script src="../ui/jquery.effects.slide.js"></script> - <script src="../ui/jquery.effects.transfer.js"></script> - <script src="../ui/i18n/jquery.ui.datepicker-af.js"></script> - <script src="../ui/i18n/jquery.ui.datepicker-ar.js"></script> - <script src="../ui/i18n/jquery.ui.datepicker-ar-DZ.js"></script> - <script src="../ui/i18n/jquery.ui.datepicker-az.js"></script> - <script src="../ui/i18n/jquery.ui.datepicker-bs.js"></script> - <script src="../ui/i18n/jquery.ui.datepicker-bg.js"></script> - <script src="../ui/i18n/jquery.ui.datepicker-ca.js"></script> - <script src="../ui/i18n/jquery.ui.datepicker-cs.js"></script> - <script src="../ui/i18n/jquery.ui.datepicker-cy-GB.js"></script> - <script src="../ui/i18n/jquery.ui.datepicker-da.js"></script> - <script src="../ui/i18n/jquery.ui.datepicker-de.js"></script> - <script src="../ui/i18n/jquery.ui.datepicker-el.js"></script> - <script src="../ui/i18n/jquery.ui.datepicker-en-AU.js"></script> - <script src="../ui/i18n/jquery.ui.datepicker-en-GB.js"></script> - <script src="../ui/i18n/jquery.ui.datepicker-en-NZ.js"></script> - <script src="../ui/i18n/jquery.ui.datepicker-eo.js"></script> - <script src="../ui/i18n/jquery.ui.datepicker-es.js"></script> - <script src="../ui/i18n/jquery.ui.datepicker-et.js"></script> - <script src="../ui/i18n/jquery.ui.datepicker-eu.js"></script> - <script src="../ui/i18n/jquery.ui.datepicker-fa.js"></script> - <script src="../ui/i18n/jquery.ui.datepicker-fi.js"></script> - <script src="../ui/i18n/jquery.ui.datepicker-fo.js"></script> - <script src="../ui/i18n/jquery.ui.datepicker-fr.js"></script> - <script src="../ui/i18n/jquery.ui.datepicker-fr-CH.js"></script> - <script src="../ui/i18n/jquery.ui.datepicker-gl.js"></script> - <script src="../ui/i18n/jquery.ui.datepicker-he.js"></script> - <script src="../ui/i18n/jquery.ui.datepicker-hi.js"></script> - <script src="../ui/i18n/jquery.ui.datepicker-hr.js"></script> - <script src="../ui/i18n/jquery.ui.datepicker-hu.js"></script> - <script src="../ui/i18n/jquery.ui.datepicker-hy.js"></script> - <script src="../ui/i18n/jquery.ui.datepicker-id.js"></script> - <script src="../ui/i18n/jquery.ui.datepicker-is.js"></script> - <script src="../ui/i18n/jquery.ui.datepicker-it.js"></script> - <script src="../ui/i18n/jquery.ui.datepicker-ja.js"></script> - <script src="../ui/i18n/jquery.ui.datepicker-ka.js"></script> - <script src="../ui/i18n/jquery.ui.datepicker-kk.js"></script> - <script src="../ui/i18n/jquery.ui.datepicker-km.js"></script> - <script src="../ui/i18n/jquery.ui.datepicker-ko.js"></script> - <script src="../ui/i18n/jquery.ui.datepicker-lb.js"></script> - <script src="../ui/i18n/jquery.ui.datepicker-lt.js"></script> - <script src="../ui/i18n/jquery.ui.datepicker-lv.js"></script> - <script src="../ui/i18n/jquery.ui.datepicker-mk.js"></script> - <script src="../ui/i18n/jquery.ui.datepicker-ml.js"></script> - <script src="../ui/i18n/jquery.ui.datepicker-ms.js"></script> - <script src="../ui/i18n/jquery.ui.datepicker-nl.js"></script> - <script src="../ui/i18n/jquery.ui.datepicker-nl-BE.js"></script> - <script src="../ui/i18n/jquery.ui.datepicker-no.js"></script> - <script src="../ui/i18n/jquery.ui.datepicker-pl.js"></script> - <script src="../ui/i18n/jquery.ui.datepicker-pt.js"></script> - <script src="../ui/i18n/jquery.ui.datepicker-pt-BR.js"></script> - <script src="../ui/i18n/jquery.ui.datepicker-rm.js"></script> - <script src="../ui/i18n/jquery.ui.datepicker-ro.js"></script> - <script src="../ui/i18n/jquery.ui.datepicker-ru.js"></script> - <script src="../ui/i18n/jquery.ui.datepicker-sk.js"></script> - <script src="../ui/i18n/jquery.ui.datepicker-sl.js"></script> - <script src="../ui/i18n/jquery.ui.datepicker-sq.js"></script> - <script src="../ui/i18n/jquery.ui.datepicker-sr.js"></script> - <script src="../ui/i18n/jquery.ui.datepicker-sr-SR.js"></script> - <script src="../ui/i18n/jquery.ui.datepicker-sv.js"></script> - <script src="../ui/i18n/jquery.ui.datepicker-ta.js"></script> - <script src="../ui/i18n/jquery.ui.datepicker-th.js"></script> - <script src="../ui/i18n/jquery.ui.datepicker-tj.js"></script> - <script src="../ui/i18n/jquery.ui.datepicker-tr.js"></script> - <script src="../ui/i18n/jquery.ui.datepicker-uk.js"></script> - <script src="../ui/i18n/jquery.ui.datepicker-vi.js"></script> - <script src="../ui/i18n/jquery.ui.datepicker-zh-CN.js"></script> - <script src="../ui/i18n/jquery.ui.datepicker-zh-HK.js"></script> - <script src="../ui/i18n/jquery.ui.datepicker-zh-TW.js"></script> - <script> - $(function() { - - $('.left-nav a').click(function(ev) { - window.location.hash = this.href.replace(/.+\/([^\/]+)\/index\.html/,'$1') + '|default'; - loadPage(this.href); - $('.left-nav a.selected').removeClass('selected'); - $(this).addClass('selected'); - ev.preventDefault(); - }); - - if (window.location.hash) { - if (window.location.hash.indexOf('|') === -1) { - window.location.hash += '|default'; - } - var path = window.location.href.replace(/(index\.html)?#/,''); - path = path.replace('\|','/') + '.html'; - loadPage(path); - } - - function loadPage(path) { - var section = path.replace(/\/[^\/]+\.html/,''); - var header = section.replace(/.+\/([^\/]+)/,'$1').replace(/_/, ' '); - - $('td.normal div.normal') - .empty() - .append('<h4 class="demo-subheader">Functional demo:</h4>') - .append('<h3 class="demo-header">'+ header +'</h3>') - .append('<div id="demo-config"></div>') - .find('#demo-config') - .append('<div id="demo-frame"></div><div id="demo-config-menu"></div><div id="demo-link"><a class="demoWindowLink" href="#"><span class="ui-icon ui-icon-newwin"></span>Open demo in a new window</a></div>') - .find('#demo-config-menu') - .load(section + '/index.html .demos-nav', function() { - $('#demo-config-menu a').each(function() { - this.setAttribute('href', section + '/' + this.getAttribute('href').replace(/.+\/([^\/]+)/,'$1')); - $(this).attr('target', 'demo-frame'); - $(this).click(function() { - - resetDemos(); - - $(this).parents('ul').find('li').removeClass('demo-config-on'); - $(this).parent().addClass('demo-config-on'); - $('#demo-notes').fadeOut(); - - //Set the hash to the actual page without ".html" - window.location.hash = header + '|' + this.getAttribute('href').match((/\/([^\/\\]+)\.html/))[1]; - - loadDemo(this.getAttribute('href')); - - return false; - }); - }); - - if (window.location.hash) { - var demo = window.location.hash.split('|')[1]; - $('#demo-config-menu a').each(function(){ - if (this.href.indexOf(demo + '.html') !== -1) { - $(this).parents('ul').find('li').removeClass('demo-config-on'); - $(this).parent().addClass('demo-config-on'); - loadDemo(this.href); - } - }); - } - - updateDemoNotes(); - }) - .end() - .find('#demo-link a') - .bind('click', function(ev){ - window.open(this.href); - ev.preventDefault(); - }) - .end() - .end() - ; - - resetDemos(); - } - - function loadDemo(path) { - var directory = path.match(/([^\/]+)\/[^\/\.]+\.html$/)[1]; - $.get(path, function(data) { - var source = data; - data = data.replace(/<script.*>.*<\/script>/ig,""); // Remove script tags - data = data.replace(/<\/?link.*>/ig,""); //Remove link tags - data = data.replace(/<\/?html.*>/ig,""); //Remove html tag - data = data.replace(/<\/?body.*>/ig,""); //Remove body tag - data = data.replace(/<\/?head.*>/ig,""); //Remove head tag - data = data.replace(/<\/?!doctype.*>/ig,""); //Remove doctype - data = data.replace(/<title.*>.*<\/title>/ig,""); // Remove title tags - data = data.replace(/((href|src)=["'])(?!(http|#))/ig, "$1" + directory + "/"); - - $('#demo-style').remove(); - $('#demo-frame').empty().html(data); - $('#demo-frame style').clone().appendTo('head').attr('id','demo-style'); - $('#demo-link a').attr('href', path); - updateDemoNotes(); - updateDemoSource(source); - - if (/default.html$/.test(path)) { - $.get("documentation/docs-" + path.match(/demos\/(.+)\//)[1] + ".html", function(html) { - $("#demo-source").after(html); - $("#widget-docs").tabs(); - $(".param-header").click(function() { - $(this).parent().toggleClass("param-open").end().next().toggle(); - }); - $(".docs-list-header").each(function() { - var header = $(this); - var details = header.next().find(".param-details").hide(); - $("a:first", header).click(function() { - details.show().parent().addClass("param-open"); - return false; - }); - $("a:last", header).click(function() { - details.hide().parent().removeClass("param-open"); - return false; - }); - }); - }, "html" ); - } - }, "html" ); - } - - function updateDemoNotes() { - var notes = $('#demo-frame .demo-description'); - if ($('#demo-notes').length == 0) { - $('<div id="demo-notes"></div>').insertAfter('#demo-config'); - } - $('#demo-notes').hide().empty().html(notes.html()); - $('#demo-notes').show(); - notes.hide(); - } - - function updateDemoSource(source) { - if ($('#demo-source').length == 0) { - $('<div id="demo-source"><a href="#" class="source-closed">View Source</a><div><pre><code></code></pre></div></div>').insertAfter('#demo-notes'); - $('#demo-source').find(">a").click(function() { - $(this).toggleClass("source-closed").toggleClass("source-open").next().toggle(); - return false; - }).end().find(">div").hide(); - } - var cleanedSource = source - .replace('themes/base/jquery.ui.all.css', 'theme/jquery.ui.all.css') - .replace(/\s*\x3Clink.*demos\x2Ecss.*\x3E\s*/, '\r\n\t') - .replace(/\x2E\x2E\x2F\x2E\x2E\x2F/g, ''); - - $('#demo-source code').empty().text(cleanedSource); - } - - function resetDemos() { - $.datepicker.setDefaults($.extend({showMonthAfterYear: false}, $.datepicker.regional[''])); - $(".ui-dialog-content").remove(); - } - - }); - </script> -</head> -<body> - -<table class="layout-grid" cellspacing="0" cellpadding="0"> - <tr> - <td class="left-nav"> - <dl class="demos-nav"> - <dt>Interactions</dt> - <dd><a href="draggable/index.html">Draggable</a></dd> - <dd><a href="droppable/index.html">Droppable</a></dd> - <dd><a href="resizable/index.html">Resizable</a></dd> - <dd><a href="selectable/index.html">Selectable</a></dd> - <dd><a href="sortable/index.html">Sortable</a></dd> - <dt>Widgets</dt> - <dd><a href="accordion/index.html">Accordion</a></dd> - <dd><a href="autocomplete/index.html">Autocomplete</a></dd> - <dd><a href="button/index.html">Button</a></dd> - <dd><a href="datepicker/index.html">Datepicker</a></dd> - <dd><a href="dialog/index.html">Dialog</a></dd> - <dd><a href="progressbar/index.html">Progressbar</a></dd> - <dd><a href="slider/index.html">Slider</a></dd> - <dd><a href="tabs/index.html">Tabs</a></dd> - <dt>Effects</dt> - <dd><a href="animate/index.html">Color Animation</a></dd> - <dd><a href="toggleClass/index.html">Toggle Class</a></dd> - <dd><a href="addClass/index.html">Add Class</a></dd> - <dd><a href="removeClass/index.html">Remove Class</a></dd> - <dd><a href="switchClass/index.html">Switch Class</a></dd> - <dd><a href="effect/index.html">Effect</a></dd> - <dd><a href="toggle/index.html">Toggle</a></dd> - <dd><a href="hide/index.html">Hide</a></dd> - <dd><a href="show/index.html">Show</a></dd> - <dt>Utilities</dt> - <dd><a href="position/index.html">Position</a></dd> - <dd><a href="widget/index.html">Widget</a></dd> - <dt>About jQuery UI</dt> - <dd><a href="http://jqueryui.com/docs/Getting_Started">Getting Started</a></dd> - <dd><a href="http://jqueryui.com/docs/Upgrade_Guide">Upgrade Guide</a></dd> - <dd><a href="http://jqueryui.com/docs/Changelog">Changelog</a></dd> - <dd><a href="http://jqueryui.com/docs/Roadmap">Roadmap</a></dd> - <dd><a href="http://jqueryui.com/docs/Subversion">Subversion Access</a></dd> - <dd><a href="http://jqueryui.com/docs/Developer_Guide">UI Developer Guidelines</a></dd> - <dt>Theming</dt> - <dd><a href="http://jqueryui.com/docs/Theming">Theming jQuery UI</a></dd> - <dd><a href="http://jqueryui.com/docs/Theming/API">jQuery UI CSS Framework</a></dd> - <dd><a href="http://jqueryui.com/docs/Theming/Themeroller">ThemeRoller application</a></dd> - <dd><a href="http://jqueryui.com/docs/Theming/ThemeSwitcher">Theme Switcher Widget</a></dd> - - </dl> - </td> - <td class="normal"> - - <div class="normal"> - - <h3>Instructions</h3> - <p> - 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. - </p> - - </div> - - </td> - </tr> -</table> -</body> -</html> diff --git a/include/jquery_ui/development-bundle/demos/position/cycler.html b/include/jquery_ui/development-bundle/demos/position/cycler.html deleted file mode 100644 index 90dbb9cf1..000000000 --- a/include/jquery_ui/development-bundle/demos/position/cycler.html +++ /dev/null @@ -1,122 +0,0 @@ -<!DOCTYPE html> -<html lang="en"> -<head> - <meta charset="utf-8"> - <title>jQuery UI Position - Default functionality</title> - <link rel="stylesheet" href="../../themes/base/jquery.ui.all.css"> - <script src="../../jquery-1.7.2.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> - <link rel="stylesheet" href="../demos.css"> - <style> - html, body { - margin: 0; - padding: 0 - } - </style> - <script> - $(function() { - $.fn.position2 = function( options ) { - return this.position( $.extend({ - of: window, - using: function( to ) { - $( this ).css({ - top: to.top, - left: to.left - }) - }, - collision: "none" - }, options)); - } - - $.fn.left = function( using ) { - return this.position2({ - my: "right middle", - at: "left middle", - offset: "25 0", - using: using - }); - } - $.fn.right = function( using ) { - return this.position2({ - my: "left middle", - at: "right middle", - offset: "-25 0", - using: using - }); - } - $.fn.center = function( using ) { - return this.position2({ - my: "center middle", - at: "center middle", - using: using - }); - }; - - $( "img:eq(0)" ).left(); - $( "img:eq(1)" ).center(); - $( "img:eq(2)" ).right(); - - $( "body" ).css({ - overflow: "hidden" - }) - $( ".demo" ).css({ - position: "relative", - }); - $( ".demo img" ).css({ - position: "absolute", - }); - - function animate( to ) { - $(this).animate( to ); - } - function next() { - $( "img:eq(2)" ).center( animate ); - $( "img:eq(1)" ).left( animate ) - $( "img:eq(0)" ).right().appendTo( ".demo" ); - } - function previous() { - $( "img:eq(0)" ).center( animate ); - $( "img:eq(1)" ).right( animate ); - $( "img:eq(2)" ).left().prependTo( ".demo" ); - } - $( "#previous" ).click( previous ); - $( "#next" ).click( next ); - - $( ".demo img" ).click(function() { - $( ".demo img" ).index( this ) === 0 ? previous() : next(); - }); - - $( window ).resize(function() { - $( "img:eq(0)" ).left( animate ); - $( "img:eq(1)" ).center( animate ); - $( "img:eq(2)" ).right( animate ); - }); - }); - </script> -</head> -<body> - -<div class="demo"> - -<img src="images/earth.jpg" /> -<img src="images/flight.jpg" /> -<img src="images/rocket.jpg" /> - -<a id="previous" href="#">Previous</a> -<a id="next" href="#">Next</a> - -</div><!-- End demo --> - - - -<div class="demo-description"> -<p>A prototype for the <a href="http://wiki.jqueryui.com/Photoviewer">Photoviewer</a> using Position to place images at the center, left and right and cycle them. -<br/>Use the links at the top to cycle, or click on the images on the left and right. -<br/>Note how the images are repositioned when resizing the window. -<br/>Warning: Doesn't currently work inside the demo viewer; open in a new window instead!</p> -</div><!-- End demo-description --> - -</body> -</html> diff --git a/include/jquery_ui/development-bundle/demos/position/default.html b/include/jquery_ui/development-bundle/demos/position/default.html deleted file mode 100644 index 54c9331a2..000000000 --- a/include/jquery_ui/development-bundle/demos/position/default.html +++ /dev/null @@ -1,140 +0,0 @@ -<!doctype html> -<html lang="en"> -<head> - <meta charset="utf-8"> - <title>jQuery UI Position - Default functionality</title> - <link rel="stylesheet" href="../../themes/base/jquery.ui.all.css"> - <script src="../../jquery-1.7.2.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> - <link rel="stylesheet" href="../demos.css"> - <style> - div#parent { - width: 60%; - margin: 10px auto; - padding: 5px; - border: 1px solid #777; - background-color: #fbca93; - text-align: center; - } - div.positionable { - width: 75px; - height: 75px; - position: absolute; - display: block; - right: 0; - bottom: 0; - background-color: #bcd5e6; - text-align: center; - } - select, input { - margin-left: 15px; - } - </style> - <script> - $(function() { - function position() { - $( ".positionable" ).position({ - of: $( "#parent" ), - my: $( "#my_horizontal" ).val() + " " + $( "#my_vertical" ).val(), - at: $( "#at_horizontal" ).val() + " " + $( "#at_vertical" ).val(), - offset: $( "#offset" ).val(), - collision: $( "#collision_horizontal" ).val() + " " + $( "#collision_vertical" ).val() - }); - } - - $( ".positionable" ).css( "opacity", 0.5 ); - - $( ":input" ).bind( "click keyup change", position ); - - $( "#parent" ).draggable({ - drag: position - }); - - position(); - }); - </script> -</head> -<body> - -<div class="demo"> - -<div id="parent"> - <p> - This is the position parent element. - </p> -</div> - -<div class="positionable"> - <p> - to position - </p> -</div> - -<div class="positionable" style="width:120px; height: 40px;"> - <p> - to position 2 - </p> -</div> - -<div style="padding: 20px; margin-top: 75px;"> - position... - <div style="padding-bottom: 20px;"> - <b>my:</b> - <select id="my_horizontal"> - <option value="left">left</option> - <option value="center">center</option> - <option value="right">right</option> - </select> - <select id="my_vertical"> - <option value="top">top</option> - <option value="middle">center</option> - <option value="bottom">bottom</option> - </select> - </div> - <div style="padding-bottom: 20px;"> - <b>at:</b> - <select id="at_horizontal"> - <option value="left">left</option> - <option value="center">center</option> - <option value="right">right</option> - </select> - <select id="at_vertical"> - <option value="top">top</option> - <option value="middle">center</option> - <option value="bottom">bottom</option> - </select> - </div> - <div style="padding-bottom: 20px;"> - <b>offset:</b> - <input id="offset"> - </div> - <div style="padding-bottom: 20px;"> - <b>collision:</b> - <select id="collision_horizontal"> - <option value="flip">flip</option> - <option value="fit">fit</option> - <option value="none">none</option> - </select> - <select id="collision_vertical"> - <option value="flip">flip</option> - <option value="fit">fit</option> - <option value="none">none</option> - </select> - </div> -</div> - -</div><!-- End demo --> - - - -<div class="demo-description"> -<p>Use the form controls to configure the positioning, or drag the positioned element to modify its offset. -<br/>Drag around the parent element to see collision detection in action.</p> -</div><!-- End demo-description --> - -</body> -</html> diff --git a/include/jquery_ui/development-bundle/demos/position/images/earth.jpg b/include/jquery_ui/development-bundle/demos/position/images/earth.jpg Binary files differdeleted file mode 100644 index e5477f754..000000000 --- a/include/jquery_ui/development-bundle/demos/position/images/earth.jpg +++ /dev/null diff --git a/include/jquery_ui/development-bundle/demos/position/images/flight.jpg b/include/jquery_ui/development-bundle/demos/position/images/flight.jpg Binary files differdeleted file mode 100644 index 362bd1a22..000000000 --- a/include/jquery_ui/development-bundle/demos/position/images/flight.jpg +++ /dev/null diff --git a/include/jquery_ui/development-bundle/demos/position/images/rocket.jpg b/include/jquery_ui/development-bundle/demos/position/images/rocket.jpg Binary files differdeleted file mode 100644 index 9c0495c61..000000000 --- a/include/jquery_ui/development-bundle/demos/position/images/rocket.jpg +++ /dev/null diff --git a/include/jquery_ui/development-bundle/demos/position/index.html b/include/jquery_ui/development-bundle/demos/position/index.html deleted file mode 100644 index 498c09b2b..000000000 --- a/include/jquery_ui/development-bundle/demos/position/index.html +++ /dev/null @@ -1,19 +0,0 @@ -<!DOCTYPE html> -<html lang="en"> -<head> - <meta charset="utf-8"> - <title>jQuery UI Position Demo</title> - <link rel="stylesheet" href="../demos.css"> -</head> -<body> - -<div class="demos-nav"> - <h4>Examples</h4> - <ul> - <li class="demo-config-on"><a href="default.html">Default functionality</a></li> - <li><a href="cycler.html">Cycling images</a></li> - </ul> -</div> - -</body> -</html> diff --git a/include/jquery_ui/development-bundle/demos/progressbar/animated.html b/include/jquery_ui/development-bundle/demos/progressbar/animated.html deleted file mode 100644 index 6134a8ca7..000000000 --- a/include/jquery_ui/development-bundle/demos/progressbar/animated.html +++ /dev/null @@ -1,44 +0,0 @@ -<!DOCTYPE html> -<html lang="en"> -<head> - <meta charset="utf-8"> - <title>jQuery UI Progressbar - Animated</title> - <link rel="stylesheet" href="../../themes/base/jquery.ui.all.css"> - <script src="../../jquery-1.7.2.js"></script> - <script src="../../ui/jquery.ui.core.js"></script> - <script src="../../ui/jquery.ui.widget.js"></script> - <script src="../../ui/jquery.ui.progressbar.js"></script> - <link rel="stylesheet" href="../demos.css"> - <style> - .ui-progressbar .ui-progressbar-value { background-image: url(images/pbar-ani.gif); } - </style> - <script> - $(function() { - $( "#progressbar" ).progressbar({ - value: 59 - }); - }); - </script> -</head> -<body> - -<div class="demo"> - -<div id="progressbar"></div> - -</div><!-- End demo --> - - - -<div class="demo-description"> -<p> -This progressbar has an animated fill by setting the -<code>background-image</code> -on the -<code>.ui-progressbar-value</code> -element, using css. -</p> -</div><!-- End demo-description --> - -</body> -</html> diff --git a/include/jquery_ui/development-bundle/demos/progressbar/default.html b/include/jquery_ui/development-bundle/demos/progressbar/default.html deleted file mode 100644 index 0f0d692cd..000000000 --- a/include/jquery_ui/development-bundle/demos/progressbar/default.html +++ /dev/null @@ -1,35 +0,0 @@ -<!DOCTYPE html> -<html lang="en"> -<head> - <meta charset="utf-8"> - <title>jQuery UI Progressbar - Default functionality</title> - <link rel="stylesheet" href="../../themes/base/jquery.ui.all.css"> - <script src="../../jquery-1.7.2.js"></script> - <script src="../../ui/jquery.ui.core.js"></script> - <script src="../../ui/jquery.ui.widget.js"></script> - <script src="../../ui/jquery.ui.progressbar.js"></script> - <link rel="stylesheet" href="../demos.css"> - <script> - $(function() { - $( "#progressbar" ).progressbar({ - value: 37 - }); - }); - </script> -</head> -<body> - -<div class="demo"> - -<div id="progressbar"></div> - -</div><!-- End demo --> - - - -<div class="demo-description"> -<p>Default determinate progress bar.</p> -</div><!-- End demo-description --> - -</body> -</html> diff --git a/include/jquery_ui/development-bundle/demos/progressbar/images/pbar-ani.gif b/include/jquery_ui/development-bundle/demos/progressbar/images/pbar-ani.gif Binary files differdeleted file mode 100644 index cb59a04f9..000000000 --- a/include/jquery_ui/development-bundle/demos/progressbar/images/pbar-ani.gif +++ /dev/null diff --git a/include/jquery_ui/development-bundle/demos/progressbar/index.html b/include/jquery_ui/development-bundle/demos/progressbar/index.html deleted file mode 100644 index 9836f59aa..000000000 --- a/include/jquery_ui/development-bundle/demos/progressbar/index.html +++ /dev/null @@ -1,20 +0,0 @@ -<!DOCTYPE html> -<html lang="en"> -<head> - <meta charset="utf-8"> - <title>jQuery UI Progressbar Demos</title> - <link rel="stylesheet" href="../demos.css"> -</head> -<body> - -<div class="demos-nav"> - <h4>Examples</h4> - <ul> - <li class="demo-config-on"><a href="default.html">Default functionality</a></li> - <li><a href="animated.html">Animated</a></li> - <li><a href="resize.html">Resizable progressbar</a></li> - </ul> -</div> - -</body> -</html> diff --git a/include/jquery_ui/development-bundle/demos/progressbar/resize.html b/include/jquery_ui/development-bundle/demos/progressbar/resize.html deleted file mode 100644 index 7452075f5..000000000 --- a/include/jquery_ui/development-bundle/demos/progressbar/resize.html +++ /dev/null @@ -1,40 +0,0 @@ -<!DOCTYPE html> -<html lang="en"> -<head> - <meta charset="utf-8"> - <title>jQuery UI Progressbar - Resizable</title> - <link rel="stylesheet" href="../../themes/base/jquery.ui.all.css"> - <script src="../../jquery-1.7.2.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.progressbar.js"></script> - <script src="../../ui/jquery.ui.resizable.js"></script> - <link rel="stylesheet" href="../demos.css"> - <script> - $(function() { - $( "#progressbar" ).progressbar({ - value: 37 - }); - $( "#progressbarWrapper" ).resizable(); - }); - </script> -</head> -<body> - -<div class="demo"> - -<div id="progressbarWrapper" style="height:30px; " class="ui-widget-default"> - <div id="progressbar" style="height:100%;"></div> -</div> - -</div><!-- End demo --> - - - -<div class="demo-description"> -<p>The progress bar's widths are specified in percentages for flexible sizing so it will resize to fit its container. Try resizing the height and width of this bar to see how it maintains the correct proportions. (This is not necessarily a real-world example, but it's a good illustration of how flexibly all the plugins are coded.)</p> -</div><!-- End demo-description --> - -</body> -</html> diff --git a/include/jquery_ui/development-bundle/demos/removeClass/default.html b/include/jquery_ui/development-bundle/demos/removeClass/default.html deleted file mode 100644 index a9f7c047d..000000000 --- a/include/jquery_ui/development-bundle/demos/removeClass/default.html +++ /dev/null @@ -1,52 +0,0 @@ -<!DOCTYPE html> -<html lang="en"> -<head> - <meta charset="utf-8"> - <title>jQuery UI Effects - removeClass Demo</title> - <link rel="stylesheet" href="../../themes/base/jquery.ui.all.css"> - <script src="../../jquery-1.7.2.js"></script> - <script src="../../ui/jquery.effects.core.js"></script> - <link rel="stylesheet" href="../demos.css"> - <style> - .toggler { width: 500px; height: 200px; position: relative; } - #button { padding: .5em 1em; text-decoration: none; } - #effect { position: relative; width: 240px; padding: 1em; letter-spacing: 0; font-size: 1.2em; border: 1px solid #000; background: #eee; color: #333; } - .newClass { text-indent: 40px; letter-spacing: .4em; width: 410px; height: 100px; padding: 30px; margin: 10px; font-size: 1.6em; } - </style> - <script> - $(function() { - $( "#button" ).click(function() { - $( "#effect" ).removeClass( "newClass", 1000, callback ); - return false; - }); - - function callback() { - setTimeout(function() { - $( "#effect" ).addClass( "newClass" ); - }, 1500 ); - } - }); - </script> -</head> -<body> - -<div class="demo"> - -<div class="toggler"> - <div id="effect" class="newClass ui-corner-all"> - Etiam libero neque, luctus a, eleifend nec, semper at, lorem. Sed pede. - </div> -</div> - -<a href="#" id="button" class="ui-state-default ui-corner-all">Run Effect</a> - -</div><!-- End demo --> - - - -<div class="demo-description"> -<p>Click the button above to preview the effect.</p> -</div><!-- End demo-description --> - -</body> -</html> diff --git a/include/jquery_ui/development-bundle/demos/removeClass/index.html b/include/jquery_ui/development-bundle/demos/removeClass/index.html deleted file mode 100644 index f5bd6a0e4..000000000 --- a/include/jquery_ui/development-bundle/demos/removeClass/index.html +++ /dev/null @@ -1,18 +0,0 @@ -<!DOCTYPE html> -<html lang="en"> -<head> - <meta charset="utf-8"> - <title>jQuery UI Effects Demos</title> - <link rel="stylesheet" href="../demos.css"> -</head> -<body> - -<div class="demos-nav"> - <h4>Examples</h4> - <ul> - <li class="demo-config-on"><a href="default.html">Default functionality</a></li> - </ul> -</div> - -</body> -</html> diff --git a/include/jquery_ui/development-bundle/demos/resizable/animate.html b/include/jquery_ui/development-bundle/demos/resizable/animate.html deleted file mode 100644 index ebb47a2c7..000000000 --- a/include/jquery_ui/development-bundle/demos/resizable/animate.html +++ /dev/null @@ -1,43 +0,0 @@ -<!DOCTYPE html> -<html lang="en"> -<head> - <meta charset="utf-8"> - <title>jQuery UI Resizable - Animate</title> - <link rel="stylesheet" href="../../themes/base/jquery.ui.all.css"> - <script src="../../jquery-1.7.2.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.resizable.js"></script> - <link rel="stylesheet" href="../demos.css"> - <style> - #resizable { width: 150px; height: 150px; padding: 0.5em; } - #resizable h3 { text-align: center; margin: 0; } - .ui-resizable-helper { border: 1px dotted gray; } - </style> - <script> - $(function() { - $( "#resizable" ).resizable({ - animate: true - }); - }); - </script> -</head> -<body> - -<div class="demo"> - -<div id="resizable" class="ui-widget-content"> - <h3 class="ui-widget-header">Animate</h3> -</div> - -</div><!-- End demo --> - - - -<div class="demo-description"> -<p>Animate the resize action using the <code>animate</code> option (boolean). When this option is set to true, drag the outline to the desired location; the element animates to that size on drag stop.</p> -</div><!-- End demo-description --> - -</body> -</html> diff --git a/include/jquery_ui/development-bundle/demos/resizable/aspect-ratio.html b/include/jquery_ui/development-bundle/demos/resizable/aspect-ratio.html deleted file mode 100644 index 959e4f77b..000000000 --- a/include/jquery_ui/development-bundle/demos/resizable/aspect-ratio.html +++ /dev/null @@ -1,42 +0,0 @@ -<!DOCTYPE html> -<html lang="en"> -<head> - <meta charset="utf-8"> - <title>jQuery UI Resizable - Preserve aspect ratio</title> - <link rel="stylesheet" href="../../themes/base/jquery.ui.all.css"> - <script src="../../jquery-1.7.2.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.resizable.js"></script> - <link rel="stylesheet" href="../demos.css"> - <style> - #resizable { width: 160px; height: 90px; padding: 0.5em; } - #resizable h3 { text-align: center; margin: 0; } - </style> - <script> - $(function() { - $( "#resizable" ).resizable({ - aspectRatio: 16 / 9 - }); - }); - </script> -</head> -<body> - -<div class="demo"> - -<div id="resizable" class="ui-widget-content"> - <h3 class="ui-widget-header">Preserve aspect ratio</h3> -</div> - -</div><!-- End demo --> - - - -<div class="demo-description"> -<p>Maintain the existing aspect ratio or set a new one to constrain the proportions on resize. Set the <code>aspectRatio</code> option to true, and optionally pass in a new ratio (i.e., 4/3)</p> -</div><!-- End demo-description --> - -</body> -</html> diff --git a/include/jquery_ui/development-bundle/demos/resizable/constrain-area.html b/include/jquery_ui/development-bundle/demos/resizable/constrain-area.html deleted file mode 100644 index 86d3bd70b..000000000 --- a/include/jquery_ui/development-bundle/demos/resizable/constrain-area.html +++ /dev/null @@ -1,47 +0,0 @@ -<!DOCTYPE html> -<html lang="en"> -<head> - <meta charset="utf-8"> - <title>jQuery UI Resizable - Constrain resize area</title> - <link rel="stylesheet" href="../../themes/base/jquery.ui.all.css"> - <script src="../../jquery-1.7.2.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.resizable.js"></script> - <link rel="stylesheet" href="../demos.css"> - <style> - #container { width: 300px; height: 300px; } - #container h3 { text-align: center; margin: 0; margin-bottom: 10px; } - #resizable { background-position: top left; width: 150px; height: 150px; } - #resizable, #container { padding: 0.5em; } - </style> - <script> - $(function() { - $( "#resizable" ).resizable({ - containment: "#container" - }); - }); - </script> -</head> -<body> - -<div class="demo"> - -<div id="container" class="ui-widget-content"> - <h3 class="ui-widget-header">Containment</h3> - <div id="resizable" class="ui-state-active"> - <h3 class="ui-widget-header">Resizable</h3> - </div> -</div> - -</div><!-- End demo --> - - - -<div class="demo-description"> -<p>Define the boundaries of the resizable area. Use the <code>containment</code> option to specify a parent DOM element or a jQuery selector, like 'document.'</p> -</div><!-- End demo-description --> - -</body> -</html> diff --git a/include/jquery_ui/development-bundle/demos/resizable/default.html b/include/jquery_ui/development-bundle/demos/resizable/default.html deleted file mode 100644 index 6f64dc585..000000000 --- a/include/jquery_ui/development-bundle/demos/resizable/default.html +++ /dev/null @@ -1,40 +0,0 @@ -<!DOCTYPE html> -<html lang="en"> -<head> - <meta charset="utf-8"> - <title>jQuery UI Resizable - Default functionality</title> - <link rel="stylesheet" href="../../themes/base/jquery.ui.all.css"> - <script src="../../jquery-1.7.2.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.resizable.js"></script> - <link rel="stylesheet" href="../demos.css"> - <style> - #resizable { width: 150px; height: 150px; padding: 0.5em; } - #resizable h3 { text-align: center; margin: 0; } - </style> - <script> - $(function() { - $( "#resizable" ).resizable(); - }); - </script> -</head> -<body> - -<div class="demo"> - -<div id="resizable" class="ui-widget-content"> - <h3 class="ui-widget-header">Resizable</h3> -</div> - -</div><!-- End demo --> - - - -<div class="demo-description"> -<p>Enable any DOM element to be resizable. With the cursor grab the right or bottom border and drag to the desired width or height.</p> -</div><!-- End demo-description --> - -</body> -</html> diff --git a/include/jquery_ui/development-bundle/demos/resizable/delay-start.html b/include/jquery_ui/development-bundle/demos/resizable/delay-start.html deleted file mode 100644 index 6ca17f76e..000000000 --- a/include/jquery_ui/development-bundle/demos/resizable/delay-start.html +++ /dev/null @@ -1,52 +0,0 @@ -<!DOCTYPE html> -<html lang="en"> -<head> - <meta charset="utf-8"> - <title>jQuery UI Resizable - Delay start</title> - <link rel="stylesheet" href="../../themes/base/jquery.ui.all.css"> - <script src="../../jquery-1.7.2.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.resizable.js"></script> - <link rel="stylesheet" href="../demos.css"> - <style> - #resizable, #resizable2 { width: 150px; height: 150px; padding: 0.5em; } - #resizable h3, #resizable2 h3 { text-align: center; margin: 0; } - </style> - <script> - $(function() { - $( "#resizable" ).resizable({ - delay: 1000 - }); - - $( "#resizable2" ).resizable({ - distance: 40 - }); - }); - </script> -</head> -<body> - -<div class="demo"> - -<h3 class="docs">Time delay (ms):</h3> -<div id="resizable" class="ui-widget-content"> - <h3 class="ui-widget-header">Time</h3> -</div> - -<h3 class="docs">Distance delay (px):</h3> -<div id="resizable2" class="ui-widget-content"> - <h3 class="ui-widget-header">Distance</h3> -</div> - -</div><!-- End demo --> - - - -<div class="demo-description"> -<p>Delay the start of resizng for a number of milliseconds with the <code>delay</code> option; prevent resizing until the cursor is held down and dragged a specifed number of pixels with the <code>distance</code> option.</p> -</div><!-- End demo-description --> - -</body> -</html> diff --git a/include/jquery_ui/development-bundle/demos/resizable/helper.html b/include/jquery_ui/development-bundle/demos/resizable/helper.html deleted file mode 100644 index 981ee9536..000000000 --- a/include/jquery_ui/development-bundle/demos/resizable/helper.html +++ /dev/null @@ -1,43 +0,0 @@ -<!DOCTYPE html> -<html lang="en"> -<head> - <meta charset="utf-8"> - <title>jQuery UI Resizable - Helper</title> - <link rel="stylesheet" href="../../themes/base/jquery.ui.all.css"> - <script src="../../jquery-1.7.2.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.resizable.js"></script> - <link rel="stylesheet" href="../demos.css"> - <style> - #resizable { width: 150px; height: 150px; padding: 0.5em; } - #resizable h3 { text-align: center; margin: 0; } - .ui-resizable-helper { border: 2px dotted #00F; } - </style> - <script> - $(function() { - $( "#resizable" ).resizable({ - helper: "ui-resizable-helper" - }); - }); - </script> -</head> -<body> - -<div class="demo"> - -<div id="resizable" class="ui-widget-content"> - <h3 class="ui-widget-header">Helper</h3> -</div> - -</div><!-- End demo --> - - - -<div class="demo-description"> -<p>Display only an outline of the element while resizing by setting the <code>helper</code> option to a CSS class.</p> -</div><!-- End demo-description --> - -</body> -</html> diff --git a/include/jquery_ui/development-bundle/demos/resizable/index.html b/include/jquery_ui/development-bundle/demos/resizable/index.html deleted file mode 100644 index 45f400621..000000000 --- a/include/jquery_ui/development-bundle/demos/resizable/index.html +++ /dev/null @@ -1,28 +0,0 @@ -<!DOCTYPE html> -<html lang="en"> -<head> - <meta charset="utf-8"> - <title>jQuery UI Resizable Demos</title> - <link rel="stylesheet" href="../demos.css"> -</head> -<body> - -<div class="demos-nav"> - <h4>Examples</h4> - <ul> - <li class="demo-config-on"><a href="default.html">Default functionality</a></li> - <li><a href="aspect-ratio.html">Preserve aspect ratio</a></li> - <li><a href="max-min.html">Maximum / minimum size</a></li> - <li><a href="constrain-area.html">Constrain resize area</a></li> - <li><a href="delay-start.html">Delay start</a></li> - <li><a href="snap-to-grid.html">Snap to grid</a></li> - <li><a href="visual-feedback.html">Visual feedback</a></li> - <li><a href="synchronous-resize.html">Synchronous resize</a></li> - <li><a href="animate.html">Animate</a></li> - <li><a href="helper.html">Resize Helper</a></li> - <li><a href="textarea.html">Textarea</a></li> - </ul> -</div> - -</body> -</html> diff --git a/include/jquery_ui/development-bundle/demos/resizable/max-min.html b/include/jquery_ui/development-bundle/demos/resizable/max-min.html deleted file mode 100644 index c4e5441b5..000000000 --- a/include/jquery_ui/development-bundle/demos/resizable/max-min.html +++ /dev/null @@ -1,45 +0,0 @@ -<!DOCTYPE html> -<html lang="en"> -<head> - <meta charset="utf-8"> - <title>jQuery UI Resizable - Maximum / minimum size</title> - <link rel="stylesheet" href="../../themes/base/jquery.ui.all.css"> - <script src="../../jquery-1.7.2.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.resizable.js"></script> - <link rel="stylesheet" href="../demos.css"> - <style> - #resizable { width: 200px; height: 150px; padding: 5px; } - #resizable h3 { text-align: center; margin: 0; } - </style> - <script> - $(function() { - $( "#resizable" ).resizable({ - maxHeight: 250, - maxWidth: 350, - minHeight: 150, - minWidth: 200 - }); - }); - </script> -</head> -<body> - -<div class="demo"> - -<div id="resizable" class="ui-widget-content"> - <h3 class="ui-widget-header">Resize larger / smaller</h3> -</div> - -</div><!-- End demo --> - - - -<div class="demo-description"> -<p>Limit the resizable element to a maximum or minimum height or width using the <code>maxHeight</code>, <code>maxWidth</code>, <code>minHeight</code>, and <code>minWidth</code> options.</p> -</div><!-- End demo-description --> - -</body> -</html> diff --git a/include/jquery_ui/development-bundle/demos/resizable/snap-to-grid.html b/include/jquery_ui/development-bundle/demos/resizable/snap-to-grid.html deleted file mode 100644 index d81072749..000000000 --- a/include/jquery_ui/development-bundle/demos/resizable/snap-to-grid.html +++ /dev/null @@ -1,42 +0,0 @@ -<!DOCTYPE html> -<html lang="en"> -<head> - <meta charset="utf-8"> - <title>jQuery UI Resizable - Snap to grid</title> - <link rel="stylesheet" href="../../themes/base/jquery.ui.all.css"> - <script src="../../jquery-1.7.2.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.resizable.js"></script> - <link rel="stylesheet" href="../demos.css"> - <style> - #resizable { width: 150px; height: 150px; padding: 0.5em; } - #resizable h3 { text-align: center; margin: 0; } - </style> - <script> - $(function() { - $( "#resizable" ).resizable({ - grid: 50 - }); - }); - </script> -</head> -<body> - -<div class="demo"> - -<div id="resizable" class="ui-widget-content"> - <h3 class="ui-widget-header">Grid</h3> -</div> - -</div><!-- End demo --> - - - -<div class="demo-description"> -<p>Snap the resizable element to a grid. Set the dimensions of grid cells (height and width in pixels) with the <code>grid</code> option.</p> -</div><!-- End demo-description --> - -</body> -</html> diff --git a/include/jquery_ui/development-bundle/demos/resizable/synchronous-resize.html b/include/jquery_ui/development-bundle/demos/resizable/synchronous-resize.html deleted file mode 100644 index 7a2421200..000000000 --- a/include/jquery_ui/development-bundle/demos/resizable/synchronous-resize.html +++ /dev/null @@ -1,49 +0,0 @@ -<!DOCTYPE html> -<html lang="en"> -<head> - <meta charset="utf-8"> - <title>jQuery UI Resizable - Synchronous resize</title> - <link rel="stylesheet" href="../../themes/base/jquery.ui.all.css"> - <script src="../../jquery-1.7.2.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.resizable.js"></script> - <link rel="stylesheet" href="../demos.css"> - <style> - #resizable { background-position: top left; } - #resizable, #also { width: 150px; height: 120px; padding: 0.5em; } - #resizable h3, #also h3 { text-align: center; margin: 0; } - #also { margin-top: 1em; } - </style> - <script> - $(function() { - $( "#resizable" ).resizable({ - alsoResize: "#also" - }); - $( "#also" ).resizable(); - }); - </script> -</head> -<body> - -<div class="demo"> - -<div id="resizable" class="ui-widget-header"> - <h3 class="ui-state-active">Resize</h3> -</div> - -<div id="also" class="ui-widget-content"> - <h3 class="ui-widget-header">will also resize</h3> -</div> - -</div><!-- End demo --> - - - -<div class="demo-description"> -<p>Resize multiple elements simultaneously by clicking and dragging the sides of one. Pass a shared selector into the <code>alsoResize</code> option.</p> -</div><!-- End demo-description --> - -</body> -</html> diff --git a/include/jquery_ui/development-bundle/demos/resizable/textarea.html b/include/jquery_ui/development-bundle/demos/resizable/textarea.html deleted file mode 100644 index f7582d453..000000000 --- a/include/jquery_ui/development-bundle/demos/resizable/textarea.html +++ /dev/null @@ -1,41 +0,0 @@ -<!DOCTYPE html> -<html lang="en"> -<head> - <meta charset="utf-8"> - <title>jQuery UI Resizable - Textarea</title> - <link rel="stylesheet" href="../../themes/base/jquery.ui.all.css"> - <script src="../../jquery-1.7.2.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.resizable.js"></script> - <link rel="stylesheet" href="../demos.css"> - <style> - .ui-resizable-se { - bottom: 17px; - } - </style> - <script> - $(function() { - $( "#resizable" ).resizable({ - handles: "se" - }); - }); - </script> -</head> -<body> - -<div class="demo"> - -<textarea id="resizable" rows="5" cols="20"></textarea> - -</div><!-- End demo --> - - - -<div class="demo-description"> -<p>Display only an outline of the element while resizing by setting the <code>helper</code> option to a CSS class.</p> -</div><!-- End demo-description --> - -</body> -</html> diff --git a/include/jquery_ui/development-bundle/demos/resizable/visual-feedback.html b/include/jquery_ui/development-bundle/demos/resizable/visual-feedback.html deleted file mode 100644 index 06765defe..000000000 --- a/include/jquery_ui/development-bundle/demos/resizable/visual-feedback.html +++ /dev/null @@ -1,43 +0,0 @@ -<!DOCTYPE html> -<html lang="en"> -<head> - <meta charset="utf-8"> - <title>jQuery UI Resizable - Visual feedback</title> - <link rel="stylesheet" href="../../themes/base/jquery.ui.all.css"> - <script src="../../jquery-1.7.2.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.resizable.js"></script> - <link rel="stylesheet" href="../demos.css"> - <style> - #resizable { width: 150px; height: 150px; padding: 0.5em; } - #resizable h3 { text-align: center; margin: 0; } - .ui-resizable-ghost { border: 1px dotted gray; } - </style> - <script> - $(function() { - $( "#resizable" ).resizable({ - ghost: true - }); - }); - </script> -</head> -<body> - -<div class="demo"> - -<div id="resizable" class="ui-widget-content"> - <h3 class="ui-widget-header">Ghost</h3> -</div> - -</div><!-- End demo --> - - - -<div class="demo-description"> -<p>Instead of showing the actual element during resize, set the <code>ghost</code> option to true to show a semi-transparent part of the element.</p> -</div><!-- End demo-description --> - -</body> -</html> diff --git a/include/jquery_ui/development-bundle/demos/selectable/default.html b/include/jquery_ui/development-bundle/demos/selectable/default.html deleted file mode 100644 index 91cc3d0cf..000000000 --- a/include/jquery_ui/development-bundle/demos/selectable/default.html +++ /dev/null @@ -1,50 +0,0 @@ -<!DOCTYPE html> -<html lang="en"> -<head> - <meta charset="utf-8"> - <title>jQuery UI Selectable - Default functionality</title> - <link rel="stylesheet" href="../../themes/base/jquery.ui.all.css"> - <script src="../../jquery-1.7.2.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.selectable.js"></script> - <link rel="stylesheet" href="../demos.css"> - - <style> - #feedback { font-size: 1.4em; } - #selectable .ui-selecting { background: #FECA40; } - #selectable .ui-selected { background: #F39814; color: white; } - #selectable { list-style-type: none; margin: 0; padding: 0; width: 60%; } - #selectable li { margin: 3px; padding: 0.4em; font-size: 1.4em; height: 18px; } - </style> - <script> - $(function() { - $( "#selectable" ).selectable(); - }); - </script> -</head> -<body> - -<div class="demo"> - -<ol id="selectable"> - <li class="ui-widget-content">Item 1</li> - <li class="ui-widget-content">Item 2</li> - <li class="ui-widget-content">Item 3</li> - <li class="ui-widget-content">Item 4</li> - <li class="ui-widget-content">Item 5</li> - <li class="ui-widget-content">Item 6</li> - <li class="ui-widget-content">Item 7</li> -</ol> - -</div><!-- End demo --> - - - -<div class="demo-description"> -<p>Enable a DOM element (or group of elements) to be selectable. Draw a box with your cursor to select items. Hold down the Ctrl key to make multiple non-adjacent selections. </p> -</div><!-- End demo-description --> - -</body> -</html> diff --git a/include/jquery_ui/development-bundle/demos/selectable/display-grid.html b/include/jquery_ui/development-bundle/demos/selectable/display-grid.html deleted file mode 100644 index dc9d41b45..000000000 --- a/include/jquery_ui/development-bundle/demos/selectable/display-grid.html +++ /dev/null @@ -1,55 +0,0 @@ -<!DOCTYPE html> -<html lang="en"> -<head> - <meta charset="utf-8"> - <title>jQuery UI Selectable - Display as grid</title> - <link rel="stylesheet" href="../../themes/base/jquery.ui.all.css"> - <script src="../../jquery-1.7.2.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.selectable.js"></script> - <link rel="stylesheet" href="../demos.css"> - - <style> - #feedback { font-size: 1.4em; } - #selectable .ui-selecting { background: #FECA40; } - #selectable .ui-selected { background: #F39814; color: white; } - #selectable { list-style-type: none; margin: 0; padding: 0; } - #selectable li { margin: 3px; padding: 1px; float: left; width: 100px; height: 80px; font-size: 4em; text-align: center; } - </style> - <script> - $(function() { - $( "#selectable" ).selectable(); - }); - </script> -</head> -<body> - -<div class="demo"> - -<ol id="selectable"> - <li class="ui-state-default">1</li> - <li class="ui-state-default">2</li> - <li class="ui-state-default">3</li> - <li class="ui-state-default">4</li> - <li class="ui-state-default">5</li> - <li class="ui-state-default">6</li> - <li class="ui-state-default">7</li> - <li class="ui-state-default">8</li> - <li class="ui-state-default">9</li> - <li class="ui-state-default">10</li> - <li class="ui-state-default">11</li> - <li class="ui-state-default">12</li> -</ol> - -</div><!-- End demo --> - - - -<div class="demo-description"> -<p>To arrange selectable items as a grid, give them identical dimensions and float them using CSS.</p> -</div><!-- End demo-description --> - -</body> -</html> diff --git a/include/jquery_ui/development-bundle/demos/selectable/index.html b/include/jquery_ui/development-bundle/demos/selectable/index.html deleted file mode 100644 index 21fa4d5a7..000000000 --- a/include/jquery_ui/development-bundle/demos/selectable/index.html +++ /dev/null @@ -1,20 +0,0 @@ -<!DOCTYPE html> -<html lang="en"> -<head> - <meta charset="utf-8"> - <title>jQuery UI Selectable Demos</title> - <link rel="stylesheet" href="../demos.css"> -</head> -<body> - -<div class="demos-nav"> - <h4>Examples</h4> - <ul> - <li class="demo-config-on"><a href="default.html">Default functionality</a></li> - <li><a href="serialize.html">Serialize</a></li> - <li><a href="display-grid.html">Display as grid</a></li> - </ul> -</div> - -</body> -</html> diff --git a/include/jquery_ui/development-bundle/demos/selectable/serialize.html b/include/jquery_ui/development-bundle/demos/selectable/serialize.html deleted file mode 100644 index 3da4e0f5a..000000000 --- a/include/jquery_ui/development-bundle/demos/selectable/serialize.html +++ /dev/null @@ -1,61 +0,0 @@ -<!DOCTYPE html> -<html lang="en"> -<head> - <meta charset="utf-8"> - <title>jQuery UI Selectable - Serialize</title> - <link rel="stylesheet" href="../../themes/base/jquery.ui.all.css"> - <script src="../../jquery-1.7.2.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.selectable.js"></script> - <link rel="stylesheet" href="../demos.css"> - - <style> - #feedback { font-size: 1.4em; } - #selectable .ui-selecting { background: #FECA40; } - #selectable .ui-selected { background: #F39814; color: white; } - #selectable { list-style-type: none; margin: 0; padding: 0; width: 60%; } - #selectable li { margin: 3px; padding: 0.4em; font-size: 1.4em; height: 18px; } - </style> - <script> - $(function() { - $( "#selectable" ).selectable({ - stop: function() { - var result = $( "#select-result" ).empty(); - $( ".ui-selected", this ).each(function() { - var index = $( "#selectable li" ).index( this ); - result.append( " #" + ( index + 1 ) ); - }); - } - }); - }); - </script> -</head> -<body> - -<div class="demo"> - -<p id="feedback"> -<span>You've selected:</span> <span id="select-result">none</span>. -</p> - -<ol id="selectable"> - <li class="ui-widget-content">Item 1</li> - <li class="ui-widget-content">Item 2</li> - <li class="ui-widget-content">Item 3</li> - <li class="ui-widget-content">Item 4</li> - <li class="ui-widget-content">Item 5</li> - <li class="ui-widget-content">Item 6</li> -</ol> - -</div><!-- End demo --> - - - -<div class="demo-description"> -<p>Write a function that fires on the <code>stop</code> event to collect the index values of selected items. Present values as feedback, or pass as a data string.</p> -</div><!-- End demo-description --> - -</body> -</html> diff --git a/include/jquery_ui/development-bundle/demos/show/default.html b/include/jquery_ui/development-bundle/demos/show/default.html deleted file mode 100644 index 091a71167..000000000 --- a/include/jquery_ui/development-bundle/demos/show/default.html +++ /dev/null @@ -1,104 +0,0 @@ -<!DOCTYPE html> -<html lang="en"> -<head> - <meta charset="utf-8"> - <title>jQuery UI Effects - Show Demo</title> - <link rel="stylesheet" href="../../themes/base/jquery.ui.all.css"> - <script src="../../jquery-1.7.2.js"></script> - <script src="../../ui/jquery.effects.core.js"></script> - <script src="../../ui/jquery.effects.blind.js"></script> - <script src="../../ui/jquery.effects.bounce.js"></script> - <script src="../../ui/jquery.effects.clip.js"></script> - <script src="../../ui/jquery.effects.drop.js"></script> - <script src="../../ui/jquery.effects.explode.js"></script> - <script src="../../ui/jquery.effects.fold.js"></script> - <script src="../../ui/jquery.effects.highlight.js"></script> - <script src="../../ui/jquery.effects.pulsate.js"></script> - <script src="../../ui/jquery.effects.scale.js"></script> - <script src="../../ui/jquery.effects.shake.js"></script> - <script src="../../ui/jquery.effects.slide.js"></script> - <link rel="stylesheet" href="../demos.css"> - <style> - .toggler { width: 500px; height: 200px; } - #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; } - </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: 100 }; - } else if ( selectedEffect === "size" ) { - options = { to: { width: 280, height: 185 } }; - } - - // run the effect - $( "#effect" ).show( selectedEffect, options, 500, callback ); - }; - - //callback function to bring a hidden box back - function callback() { - setTimeout(function() { - $( "#effect:visible" ).removeAttr( "style" ).fadeOut(); - }, 1000 ); - }; - - // set effect from select menu value - $( "#button" ).click(function() { - runEffect(); - return false; - }); - - $( "#effect" ).hide(); - }); - </script> -</head> -<body> - -<div class="demo"> - -<div class="toggler"> - <div id="effect" class="ui-widget-content ui-corner-all"> - <h3 class="ui-widget-header ui-corner-all">Show</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="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> -</select> - -<a href="#" id="button" class="ui-state-default ui-corner-all">Run Effect</a> - -</div><!-- End demo --> - - - -<div class="demo-description"> -<p>Click the button above to preview the effect.</p> -</div><!-- End demo-description --> - -</body> -</html> diff --git a/include/jquery_ui/development-bundle/demos/show/index.html b/include/jquery_ui/development-bundle/demos/show/index.html deleted file mode 100644 index f5bd6a0e4..000000000 --- a/include/jquery_ui/development-bundle/demos/show/index.html +++ /dev/null @@ -1,18 +0,0 @@ -<!DOCTYPE html> -<html lang="en"> -<head> - <meta charset="utf-8"> - <title>jQuery UI Effects Demos</title> - <link rel="stylesheet" href="../demos.css"> -</head> -<body> - -<div class="demos-nav"> - <h4>Examples</h4> - <ul> - <li class="demo-config-on"><a href="default.html">Default functionality</a></li> - </ul> -</div> - -</body> -</html> diff --git a/include/jquery_ui/development-bundle/demos/slider/colorpicker.html b/include/jquery_ui/development-bundle/demos/slider/colorpicker.html deleted file mode 100644 index f551c43bf..000000000 --- a/include/jquery_ui/development-bundle/demos/slider/colorpicker.html +++ /dev/null @@ -1,95 +0,0 @@ -<!DOCTYPE html> -<html lang="en"> -<head> - <meta charset="utf-8"> - <title>jQuery UI Slider - Colorpicker</title> - <link rel="stylesheet" href="../../themes/base/jquery.ui.all.css"> - <script src="../../jquery-1.7.2.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.slider.js"></script> - <link rel="stylesheet" href="../demos.css"> - <style> - #red, #green, #blue { - float: left; - clear: left; - width: 300px; - margin: 15px; - } - #swatch { - width: 120px; - height: 100px; - margin-top: 18px; - margin-left: 350px; - background-image: none; - } - #red .ui-slider-range { background: #ef2929; } - #red .ui-slider-handle { border-color: #ef2929; } - #green .ui-slider-range { background: #8ae234; } - #green .ui-slider-handle { border-color: #8ae234; } - #blue .ui-slider-range { background: #729fcf; } - #blue .ui-slider-handle { border-color: #729fcf; } - #demo-frame > div.demo { padding: 10px !important; }; - </style> - <script> - function hexFromRGB(r, g, b) { - var hex = [ - r.toString( 16 ), - g.toString( 16 ), - b.toString( 16 ) - ]; - $.each( hex, function( nr, val ) { - if ( val.length === 1 ) { - hex[ nr ] = "0" + val; - } - }); - return hex.join( "" ).toUpperCase(); - } - function refreshSwatch() { - var red = $( "#red" ).slider( "value" ), - green = $( "#green" ).slider( "value" ), - blue = $( "#blue" ).slider( "value" ), - hex = hexFromRGB( red, green, blue ); - $( "#swatch" ).css( "background-color", "#" + hex ); - } - $(function() { - $( "#red, #green, #blue" ).slider({ - orientation: "horizontal", - range: "min", - max: 255, - value: 127, - slide: refreshSwatch, - change: refreshSwatch - }); - $( "#red" ).slider( "value", 255 ); - $( "#green" ).slider( "value", 140 ); - $( "#blue" ).slider( "value", 60 ); - }); - </script> -</head> -<body class="ui-widget-content" style="border:0;"> - -<div class="demo"> - -<p class="ui-state-default ui-corner-all ui-helper-clearfix" style="padding:4px;"> - <span class="ui-icon ui-icon-pencil" style="float:left; margin:-2px 5px 0 0;"></span> - Simple Colorpicker -</p> - -<div id="red"></div> -<div id="green"></div> -<div id="blue"></div> - -<div id="swatch" class="ui-widget-content ui-corner-all"></div> - -</div><!-- End demo --> - - - -<div class="demo-description" style="clear:left;"> -<p>Combine three sliders to create a simple RGB colorpicker.</p> -</div><!-- End demo-description --> - -</body> -</html> diff --git a/include/jquery_ui/development-bundle/demos/slider/default.html b/include/jquery_ui/development-bundle/demos/slider/default.html deleted file mode 100644 index dd39f07ce..000000000 --- a/include/jquery_ui/development-bundle/demos/slider/default.html +++ /dev/null @@ -1,37 +0,0 @@ -<!DOCTYPE html> -<html lang="en"> -<head> - <meta charset="utf-8" > - <title>jQuery UI Slider - Default functionality</title> - <link rel="stylesheet" href="../../themes/base/jquery.ui.all.css"> - <script src="../../jquery-1.7.2.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.slider.js"></script> - <link rel="stylesheet" href="../demos.css"> - <style> - #demo-frame > div.demo { padding: 10px !important; } - </style> - <script> - $(function() { - $( "#slider" ).slider(); - }); - </script> -</head> -<body> - -<div class="demo"> - -<div id="slider"></div> - -</div><!-- End demo --> - - - -<div class="demo-description"> -<p>The basic slider is horizontal and has a single handle that can be moved with the mouse or by using the arrow keys.</p> -</div><!-- End demo-description --> - -</body> -</html> diff --git a/include/jquery_ui/development-bundle/demos/slider/hotelrooms.html b/include/jquery_ui/development-bundle/demos/slider/hotelrooms.html deleted file mode 100644 index a0ea31de1..000000000 --- a/include/jquery_ui/development-bundle/demos/slider/hotelrooms.html +++ /dev/null @@ -1,59 +0,0 @@ -<!DOCTYPE html> -<html lang="en"> -<head> - <meta charset="utf-8"> - <title>jQuery UI Slider - Range with fixed minimum</title> - <link rel="stylesheet" href="../../themes/base/jquery.ui.all.css"> - <script src="../../jquery-1.7.2.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.slider.js"></script> - <link rel="stylesheet" href="../demos.css"> - <style> - #demo-frame > div.demo { padding: 10px !important; }; - </style> - <script> - $(function() { - var select = $( "#minbeds" ); - var slider = $( "<div id='slider'></div>" ).insertAfter( select ).slider({ - min: 1, - max: 6, - range: "min", - value: select[ 0 ].selectedIndex + 1, - slide: function( event, ui ) { - select[ 0 ].selectedIndex = ui.value - 1; - } - }); - $( "#minbeds" ).change(function() { - slider.slider( "value", this.selectedIndex + 1 ); - }); - }); - </script> -</head> -<body> - -<div class="demo"> - -<form id="reservation"> - <label for="minbeds">Minimum number of beds</label> - <select name="minbeds" id="minbeds"> - <option>1</option> - <option>2</option> - <option>3</option> - <option>4</option> - <option>5</option> - <option>6</option> - </select> -</form> - -</div><!-- End demo --> - - - -<div class="demo-description"> -<p>How to bind a slider to an existing select element. The select stays visible to display the change. When the select is changed, the slider is updated, too.</p> -</div><!-- End demo-description --> - -</body> -</html> diff --git a/include/jquery_ui/development-bundle/demos/slider/index.html b/include/jquery_ui/development-bundle/demos/slider/index.html deleted file mode 100644 index caf68fe97..000000000 --- a/include/jquery_ui/development-bundle/demos/slider/index.html +++ /dev/null @@ -1,29 +0,0 @@ -<!DOCTYPE html> -<html lang="en"> -<head> - <meta charset="utf-8"> - <title>jQuery UI Slider Demos</title> - <link rel="stylesheet" href="../demos.css"> -</head> -<body> - -<div class="demos-nav"> - <h4>Examples</h4> - <ul> - <li class="demo-config-on"><a href="default.html">Default functionality</a></li> - <li><a href="steps.html">Snap to increments</a></li> - <li><a href="range.html">Range slider</a></li> - <li><a href="rangemin.html">Range with fixed minimum</a></li> - <li><a href="hotelrooms.html">Room reservation</a></li> - <li><a href="rangemax.html">Range with fixed maximum</a></li> - <li><a href="slider-vertical.html">Vertical slider</a></li> - <li><a href="range-vertical.html">Vertical range slider</a></li> - <li><a href="multiple-vertical.html">Multiple sliders</a></li> - <li><a href="colorpicker.html">Simple colorpicker</a></li> - <li><a href="side-scroll.html">Simple scrollbar</a></li> - <li><a href="tabs.html">Slider controls tabs</a></li> - </ul> -</div> - -</body> -</html> diff --git a/include/jquery_ui/development-bundle/demos/slider/multiple-vertical.html b/include/jquery_ui/development-bundle/demos/slider/multiple-vertical.html deleted file mode 100644 index 080a40d4b..000000000 --- a/include/jquery_ui/development-bundle/demos/slider/multiple-vertical.html +++ /dev/null @@ -1,77 +0,0 @@ -<!DOCTYPE html> -<html lang="en"> -<head> - <meta charset="utf-8"> - <title>jQuery UI Slider - Multiple sliders</title> - <link rel="stylesheet" href="../../themes/base/jquery.ui.all.css"> - <script src="../../jquery-1.7.2.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.slider.js"></script> - <link rel="stylesheet" href="../demos.css"> - <style> - #demo-frame > div.demo { padding: 10px !important; } - #eq span { - height:120px; float:left; margin:15px - } - </style> - <script> - $(function() { - // setup master volume - $( "#master" ).slider({ - value: 60, - orientation: "horizontal", - range: "min", - animate: true - }); - // setup graphic EQ - $( "#eq > span" ).each(function() { - // read initial values from markup and remove that - var value = parseInt( $( this ).text(), 10 ); - $( this ).empty().slider({ - value: value, - range: "min", - animate: true, - orientation: "vertical" - }); - }); - }); - </script> -</head> -<body class="ui-widget-content" style="border:0;"> - -<div class="demo"> - -<p class="ui-state-default ui-corner-all ui-helper-clearfix" style="padding:4px;"> - <span class="ui-icon ui-icon-volume-on" style="float:left; margin:-2px 5px 0 0;"></span> - Master volume -</p> - -<div id="master" style="width:260px; margin:15px;"></div> - -<p class="ui-state-default ui-corner-all" style="padding:4px;margin-top:4em;"> - <span class="ui-icon ui-icon-signal" style="float:left; margin:-2px 5px 0 0;"></span> - Graphic EQ -</p> - -<div id="eq"> - <span>88</span> - <span>77</span> - <span>55</span> - <span>33</span> - <span>40</span> - <span>45</span> - <span>70</span> -</div> - -</div><!-- End demo --> - - - -<div class="demo-description" style="clear:left;"> -<p>Combine horizontal and vertical sliders, each with their own options, to create the UI for a music player.</p> -</div><!-- End demo-description --> - -</body> -</html> diff --git a/include/jquery_ui/development-bundle/demos/slider/range-vertical.html b/include/jquery_ui/development-bundle/demos/slider/range-vertical.html deleted file mode 100644 index d0abb1468..000000000 --- a/include/jquery_ui/development-bundle/demos/slider/range-vertical.html +++ /dev/null @@ -1,51 +0,0 @@ -<!DOCTYPE html> -<html lang="en"> -<head> - <meta charset="utf-8"> - <title>jQuery UI Slider - Vertical range slider</title> - <link rel="stylesheet" href="../../themes/base/jquery.ui.all.css"> - <script src="../../jquery-1.7.2.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.slider.js"></script> - <link rel="stylesheet" href="../demos.css"> - <style> - #demo-frame > div.demo { padding: 10px !important; }; - </style> - <script> - $(function() { - $( "#slider-range" ).slider({ - orientation: "vertical", - range: true, - values: [ 17, 67 ], - slide: function( event, ui ) { - $( "#amount" ).val( "$" + ui.values[ 0 ] + " - $" + ui.values[ 1 ] ); - } - }); - $( "#amount" ).val( "$" + $( "#slider-range" ).slider( "values", 0 ) + - " - $" + $( "#slider-range" ).slider( "values", 1 ) ); - }); - </script> -</head> -<body> - -<div class="demo"> - -<p> - <label for="amount">Target sales goal (Millions):</label> - <input type="text" id="amount" style="border:0; color:#f6931f; font-weight:bold;" /> -</p> - -<div id="slider-range" style="height:250px;"></div> - -</div><!-- End demo --> - - - -<div class="demo-description"> -<p>Change the orientation of the range slider to vertical. Assign a height value via <code>.height()</code> or by setting the height through CSS, and set the <code>orientation</code> option to "vertical."</p> -</div><!-- End demo-description --> - -</body> -</html> diff --git a/include/jquery_ui/development-bundle/demos/slider/range.html b/include/jquery_ui/development-bundle/demos/slider/range.html deleted file mode 100644 index 21c5080ec..000000000 --- a/include/jquery_ui/development-bundle/demos/slider/range.html +++ /dev/null @@ -1,52 +0,0 @@ -<!DOCTYPE html> -<html lang="en"> -<head> - <meta charset="utf-8"> - <title>jQuery UI Slider - Range slider</title> - <link rel="stylesheet" href="../../themes/base/jquery.ui.all.css"> - <script src="../../jquery-1.7.2.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.slider.js"></script> - <link rel="stylesheet" href="../demos.css"> - <style> - #demo-frame > div.demo { padding: 10px !important; }; - </style> - <script> - $(function() { - $( "#slider-range" ).slider({ - range: true, - min: 0, - max: 500, - values: [ 75, 300 ], - slide: function( event, ui ) { - $( "#amount" ).val( "$" + ui.values[ 0 ] + " - $" + ui.values[ 1 ] ); - } - }); - $( "#amount" ).val( "$" + $( "#slider-range" ).slider( "values", 0 ) + - " - $" + $( "#slider-range" ).slider( "values", 1 ) ); - }); - </script> -</head> -<body> - -<div class="demo"> - -<p> - <label for="amount">Price range:</label> - <input type="text" id="amount" style="border:0; color:#f6931f; font-weight:bold;" /> -</p> - -<div id="slider-range"></div> - -</div><!-- End demo --> - - - -<div class="demo-description"> -<p>Set the <code>range</code> option to true to capture a range of values with two drag handles. The space between the handles is filled with a different background color to indicate those values are selected.</p> -</div><!-- End demo-description --> - -</body> -</html> diff --git a/include/jquery_ui/development-bundle/demos/slider/rangemax.html b/include/jquery_ui/development-bundle/demos/slider/rangemax.html deleted file mode 100644 index 3f04bcf4a..000000000 --- a/include/jquery_ui/development-bundle/demos/slider/rangemax.html +++ /dev/null @@ -1,50 +0,0 @@ -<!DOCTYPE html> -<html lang="en"> -<head> - <meta charset="utf-8"> - <title>jQuery UI Slider - Range with fixed maximum</title> - <link rel="stylesheet" href="../../themes/base/jquery.ui.all.css"> - <script src="../../jquery-1.7.2.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.slider.js"></script> - <link rel="stylesheet" href="../demos.css"> - <style> - #demo-frame > div.demo { padding: 10px !important; }; - </style> - <script> - $(function() { - $( "#slider-range-max" ).slider({ - range: "max", - min: 1, - max: 10, - value: 2, - slide: function( event, ui ) { - $( "#amount" ).val( ui.value ); - } - }); - $( "#amount" ).val( $( "#slider-range-max" ).slider( "value" ) ); - }); - </script> -</head> -<body> - -<div class="demo"> - -<p> - <label for="amount">Minimum number of bedrooms:</label> - <input type="text" id="amount" style="border:0; color:#f6931f; font-weight:bold;" /> -</p> -<div id="slider-range-max"></div> - -</div><!-- End demo --> - - - -<div class="demo-description"> -<p>Fix the maximum value of the range slider so that the user can only select a minimum. Set the <code>range</code> option to "max."</p> -</div><!-- End demo-description --> - -</body> -</html> diff --git a/include/jquery_ui/development-bundle/demos/slider/rangemin.html b/include/jquery_ui/development-bundle/demos/slider/rangemin.html deleted file mode 100644 index 125b73dfa..000000000 --- a/include/jquery_ui/development-bundle/demos/slider/rangemin.html +++ /dev/null @@ -1,51 +0,0 @@ -<!DOCTYPE html> -<html lang="en"> -<head> - <meta charset="utf-8"> - <title>jQuery UI Slider - Range with fixed minimum</title> - <link rel="stylesheet" href="../../themes/base/jquery.ui.all.css"> - <script src="../../jquery-1.7.2.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.slider.js"></script> - <link rel="stylesheet" href="../demos.css"> - <style> - #demo-frame > div.demo { padding: 10px !important; }; - </style> - <script> - $(function() { - $( "#slider-range-min" ).slider({ - range: "min", - value: 37, - min: 1, - max: 700, - slide: function( event, ui ) { - $( "#amount" ).val( "$" + ui.value ); - } - }); - $( "#amount" ).val( "$" + $( "#slider-range-min" ).slider( "value" ) ); - }); - </script> -</head> -<body> - -<div class="demo"> - -<p> - <label for="amount">Maximum price:</label> - <input type="text" id="amount" style="border:0; color:#f6931f; font-weight:bold;" /> -</p> - -<div id="slider-range-min"></div> - -</div><!-- End demo --> - - - -<div class="demo-description"> -<p>Fix the minimum value of the range slider so that the user can only select a maximum. Set the <code>range</code> option to "min."</p> -</div><!-- End demo-description --> - -</body> -</html> diff --git a/include/jquery_ui/development-bundle/demos/slider/side-scroll.html b/include/jquery_ui/development-bundle/demos/slider/side-scroll.html deleted file mode 100644 index be23f6923..000000000 --- a/include/jquery_ui/development-bundle/demos/slider/side-scroll.html +++ /dev/null @@ -1,140 +0,0 @@ -<!DOCTYPE html> -<html lang="en"> -<head> - <meta charset="utf-8"> - <title>jQuery UI Slider - Slider scrollbar</title> - <link rel="stylesheet" href="../../themes/base/jquery.ui.all.css"> - <script src="../../jquery-1.7.2.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.slider.js"></script> - <link rel="stylesheet" href="../demos.css"> - <style> - #demo-frame > div.demo { padding: 10px !important; } - .scroll-pane { overflow: auto; width: 99%; float:left; } - .scroll-content { width: 2440px; float: left; } - .scroll-content-item { width: 100px; height: 100px; float: left; margin: 10px; font-size: 3em; line-height: 96px; text-align: center; } - * html .scroll-content-item { display: inline; } /* IE6 float double margin bug */ - .scroll-bar-wrap { clear: left; padding: 0 4px 0 2px; margin: 0 -1px -1px -1px; } - .scroll-bar-wrap .ui-slider { background: none; border:0; height: 2em; margin: 0 auto; } - .scroll-bar-wrap .ui-handle-helper-parent { position: relative; width: 100%; height: 100%; margin: 0 auto; } - .scroll-bar-wrap .ui-slider-handle { top:.2em; height: 1.5em; } - .scroll-bar-wrap .ui-slider-handle .ui-icon { margin: -8px auto 0; position: relative; top: 50%; } - </style> - <script> - $(function() { - //scrollpane parts - var scrollPane = $( ".scroll-pane" ), - scrollContent = $( ".scroll-content" ); - - //build slider - var scrollbar = $( ".scroll-bar" ).slider({ - slide: function( event, ui ) { - if ( scrollContent.width() > scrollPane.width() ) { - scrollContent.css( "margin-left", Math.round( - ui.value / 100 * ( scrollPane.width() - scrollContent.width() ) - ) + "px" ); - } else { - scrollContent.css( "margin-left", 0 ); - } - } - }); - - //append icon to handle - var handleHelper = scrollbar.find( ".ui-slider-handle" ) - .mousedown(function() { - scrollbar.width( handleHelper.width() ); - }) - .mouseup(function() { - scrollbar.width( "100%" ); - }) - .append( "<span class='ui-icon ui-icon-grip-dotted-vertical'></span>" ) - .wrap( "<div class='ui-handle-helper-parent'></div>" ).parent(); - - //change overflow to hidden now that slider handles the scrolling - scrollPane.css( "overflow", "hidden" ); - - //size scrollbar and handle proportionally to scroll distance - function sizeScrollbar() { - var remainder = scrollContent.width() - scrollPane.width(); - var proportion = remainder / scrollContent.width(); - var handleSize = scrollPane.width() - ( proportion * scrollPane.width() ); - scrollbar.find( ".ui-slider-handle" ).css({ - width: handleSize, - "margin-left": -handleSize / 2 - }); - handleHelper.width( "" ).width( scrollbar.width() - handleSize ); - } - - //reset slider value based on scroll content position - function resetValue() { - var remainder = scrollPane.width() - scrollContent.width(); - var leftVal = scrollContent.css( "margin-left" ) === "auto" ? 0 : - parseInt( scrollContent.css( "margin-left" ) ); - var percentage = Math.round( leftVal / remainder * 100 ); - scrollbar.slider( "value", percentage ); - } - - //if the slider is 100% and window gets larger, reveal content - function reflowContent() { - var showing = scrollContent.width() + parseInt( scrollContent.css( "margin-left" ), 10 ); - var gap = scrollPane.width() - showing; - if ( gap > 0 ) { - scrollContent.css( "margin-left", parseInt( scrollContent.css( "margin-left" ), 10 ) + gap ); - } - } - - //change handle position on window resize - $( window ).resize(function() { - resetValue(); - sizeScrollbar(); - reflowContent(); - }); - //init scrollbar size - setTimeout( sizeScrollbar, 10 );//safari wants a timeout - }); - </script> -</head> -<body> - -<div class="demo"> - -<div class="scroll-pane ui-widget ui-widget-header ui-corner-all"> - <div class="scroll-content"> - <div class="scroll-content-item ui-widget-header">1</div> - <div class="scroll-content-item ui-widget-header">2</div> - <div class="scroll-content-item ui-widget-header">3</div> - <div class="scroll-content-item ui-widget-header">4</div> - <div class="scroll-content-item ui-widget-header">5</div> - <div class="scroll-content-item ui-widget-header">6</div> - <div class="scroll-content-item ui-widget-header">7</div> - <div class="scroll-content-item ui-widget-header">8</div> - <div class="scroll-content-item ui-widget-header">9</div> - <div class="scroll-content-item ui-widget-header">10</div> - <div class="scroll-content-item ui-widget-header">11</div> - <div class="scroll-content-item ui-widget-header">12</div> - <div class="scroll-content-item ui-widget-header">13</div> - <div class="scroll-content-item ui-widget-header">14</div> - <div class="scroll-content-item ui-widget-header">15</div> - <div class="scroll-content-item ui-widget-header">16</div> - <div class="scroll-content-item ui-widget-header">17</div> - <div class="scroll-content-item ui-widget-header">18</div> - <div class="scroll-content-item ui-widget-header">19</div> - <div class="scroll-content-item ui-widget-header">20</div> - </div> - <div class="scroll-bar-wrap ui-widget-content ui-corner-bottom"> - <div class="scroll-bar"></div> - </div> -</div> - -</div><!-- End demo --> - - - -<div class="demo-description"> -<p>Use a slider to manipulate the positioning of content on the page. In this case, it acts as a scrollbar with the potential to capture values if needed.</p> -</div><!-- End demo-description --> - -</body> -</html> diff --git a/include/jquery_ui/development-bundle/demos/slider/slider-vertical.html b/include/jquery_ui/development-bundle/demos/slider/slider-vertical.html deleted file mode 100644 index 0d3f1ee26..000000000 --- a/include/jquery_ui/development-bundle/demos/slider/slider-vertical.html +++ /dev/null @@ -1,52 +0,0 @@ -<!DOCTYPE html> -<html lang="en"> -<head> - <meta charset="utf-8"> - <title>jQuery UI Slider - Vertical slider</title> - <link rel="stylesheet" href="../../themes/base/jquery.ui.all.css"> - <script src="../../jquery-1.7.2.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.slider.js"></script> - <link rel="stylesheet" href="../demos.css"> - <style> - #demo-frame > div.demo { padding: 10px !important; }; - </style> - <script> - $(function() { - $( "#slider-vertical" ).slider({ - orientation: "vertical", - range: "min", - min: 0, - max: 100, - value: 60, - slide: function( event, ui ) { - $( "#amount" ).val( ui.value ); - } - }); - $( "#amount" ).val( $( "#slider-vertical" ).slider( "value" ) ); - }); - </script> -</head> -<body> - -<div class="demo"> - -<p> - <label for="amount">Volume:</label> - <input type="text" id="amount" style="border:0; color:#f6931f; font-weight:bold;" /> -</p> - -<div id="slider-vertical" style="height:200px;"></div> - -</div><!-- End demo --> - - - -<div class="demo-description"> -<p>Change the orientation of the slider to vertical. Assign a height value via <code>.height()</code> or by setting the height through CSS, and set the <code>orientation</code> option to "vertical."</p> -</div><!-- End demo-description --> - -</body> -</html> diff --git a/include/jquery_ui/development-bundle/demos/slider/steps.html b/include/jquery_ui/development-bundle/demos/slider/steps.html deleted file mode 100644 index 7444df61f..000000000 --- a/include/jquery_ui/development-bundle/demos/slider/steps.html +++ /dev/null @@ -1,51 +0,0 @@ -<!DOCTYPE html> -<html lang="en"> -<head> - <meta charset="utf-8"> - <title>jQuery UI Slider - Snap to increments</title> - <link rel="stylesheet" href="../../themes/base/jquery.ui.all.css"> - <script src="../../jquery-1.7.2.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.slider.js"></script> - <link rel="stylesheet" href="../demos.css"> - <style> - #demo-frame > div.demo { padding: 10px !important; }; - </style> - <script> - $(function() { - $( "#slider" ).slider({ - value:100, - min: 0, - max: 500, - step: 50, - slide: function( event, ui ) { - $( "#amount" ).val( "$" + ui.value ); - } - }); - $( "#amount" ).val( "$" + $( "#slider" ).slider( "value" ) ); - }); - </script> -</head> -<body> - -<div class="demo"> - -<p> - <label for="amount">Donation amount ($50 increments):</label> - <input type="text" id="amount" style="border:0; color:#f6931f; font-weight:bold;" /> -</p> - -<div id="slider"></div> - -</div><!-- End demo --> - - - -<div class="demo-description"> -<p>Increment slider values with the <code>step</code> option set to an integer, commonly a dividend of the slider's maximum value. The default increment is 1.</p> -</div><!-- End demo-description --> - -</body> -</html> diff --git a/include/jquery_ui/development-bundle/demos/slider/tabs.html b/include/jquery_ui/development-bundle/demos/slider/tabs.html deleted file mode 100644 index fec0a46ac..000000000 --- a/include/jquery_ui/development-bundle/demos/slider/tabs.html +++ /dev/null @@ -1,67 +0,0 @@ -<!DOCTYPE html> -<html lang="en"> -<head> - <meta charset="utf-8"> - <title>jQuery UI Slider - Snap to increments</title> - <link rel="stylesheet" href="../../themes/base/jquery.ui.all.css"> - <script src="../../jquery-1.7.2.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.tabs.js"></script> - <script src="../../ui/jquery.ui.slider.js"></script> - <link rel="stylesheet" href="../demos.css"> - <style> - #demo-frame > div.demo { padding: 10px !important; } - </style> - <script> - $(function() { - $( "#tabs" ).tabs({ - select: function( event, ui ) { - $( "#slider" ).slider( "value", ui.index ); - } - }); - $( "#slider" ).slider({ - min: 0, - max: $( "#tabs" ).tabs( "length" ) - 1, - slide: function( event, ui ) { - $( "#tabs" ).tabs( "select", ui.value ); - } - }); - }); - </script> -</head> -<body> - -<div class="demo"> - -<div id="slider" style="width:100px"></div> - -<div id="tabs"> - <ul> - <li><a href="#tabs-1">Nunc tincidunt</a></li> - <li><a href="#tabs-2">Proin dolor</a></li> - <li><a href="#tabs-3">Aenean lacinia</a></li> - </ul> - <div id="tabs-1"> - <p>Proin elit arcu, rutrum commodo, vehicula tempus, commodo a, risus. Curabitur nec arcu. Donec sollicitudin mi sit amet mauris. Nam elementum quam ullamcorper ante. Etiam aliquet massa et lorem. Mauris dapibus lacus auctor risus. Aenean tempor ullamcorper leo. Vivamus sed magna quis ligula eleifend adipiscing. Duis orci. Aliquam sodales tortor vitae ipsum. Aliquam nulla. Duis aliquam molestie erat. Ut et mauris vel pede varius sollicitudin. Sed ut dolor nec orci tincidunt interdum. Phasellus ipsum. Nunc tristique tempus lectus.</p> - </div> - <div id="tabs-2"> - <p>Morbi tincidunt, dui sit amet facilisis feugiat, odio metus gravida ante, ut pharetra massa metus id nunc. Duis scelerisque molestie turpis. Sed fringilla, massa eget luctus malesuada, metus eros molestie lectus, ut tempus eros massa ut dolor. Aenean aliquet fringilla sem. Suspendisse sed ligula in ligula suscipit aliquam. Praesent in eros vestibulum mi adipiscing adipiscing. Morbi facilisis. Curabitur ornare consequat nunc. Aenean vel metus. Ut posuere viverra nulla. Aliquam erat volutpat. Pellentesque convallis. Maecenas feugiat, tellus pellentesque pretium posuere, felis lorem euismod felis, eu ornare leo nisi vel felis. Mauris consectetur tortor et purus.</p> - </div> - <div id="tabs-3"> - <p>Mauris eleifend est et turpis. Duis id erat. Suspendisse potenti. Aliquam vulputate, pede vel vehicula accumsan, mi neque rutrum erat, eu congue orci lorem eget lorem. Vestibulum non ante. Class aptent taciti sociosqu ad litora torquent per conubia nostra, per inceptos himenaeos. Fusce sodales. Quisque eu urna vel enim commodo pellentesque. Praesent eu risus hendrerit ligula tempus pretium. Curabitur lorem enim, pretium nec, feugiat nec, luctus a, lacus.</p> - <p>Duis cursus. Maecenas ligula eros, blandit nec, pharetra at, semper at, magna. Nullam ac lacus. Nulla facilisi. Praesent viverra justo vitae neque. Praesent blandit adipiscing velit. Suspendisse potenti. Donec mattis, pede vel pharetra blandit, magna ligula faucibus eros, id euismod lacus dolor eget odio. Nam scelerisque. Donec non libero sed nulla mattis commodo. Ut sagittis. Donec nisi lectus, feugiat porttitor, tempor ac, tempor vitae, pede. Aenean vehicula velit eu tellus interdum rutrum. Maecenas commodo. Pellentesque nec elit. Fusce in lacus. Vivamus a libero vitae lectus hendrerit hendrerit.</p> - </div> -</div> - -</div><!-- End demo --> - - - -<div class="demo-description"> -<p>Control tabs with a slider.</p> -</div><!-- End demo-description --> - -</body> -</html> diff --git a/include/jquery_ui/development-bundle/demos/sortable/connect-lists-through-tabs.html b/include/jquery_ui/development-bundle/demos/sortable/connect-lists-through-tabs.html deleted file mode 100644 index ff69d5d97..000000000 --- a/include/jquery_ui/development-bundle/demos/sortable/connect-lists-through-tabs.html +++ /dev/null @@ -1,78 +0,0 @@ -<!DOCTYPE html> -<html lang="en"> -<head> - <meta charset="utf-8"> - <title>jQuery UI Sortable - Connect lists with Tabs</title> - <link rel="stylesheet" href="../../themes/base/jquery.ui.all.css"> - <script src="../../jquery-1.7.2.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.sortable.js"></script> - <script src="../../ui/jquery.ui.droppable.js"></script> - <script src="../../ui/jquery.ui.tabs.js"></script> - <link rel="stylesheet" href="../demos.css"> - <style> - #sortable1 li, #sortable2 li { margin: 0 5px 5px 5px; padding: 5px; font-size: 1.2em; width: 120px; } - </style> - <script> - $(function() { - $( "#sortable1, #sortable2" ).sortable().disableSelection(); - - var $tabs = $( "#tabs" ).tabs(); - - var $tab_items = $( "ul:first li", $tabs ).droppable({ - accept: ".connectedSortable li", - hoverClass: "ui-state-hover", - drop: function( event, ui ) { - var $item = $( this ); - var $list = $( $item.find( "a" ).attr( "href" ) ) - .find( ".connectedSortable" ); - - ui.draggable.hide( "slow", function() { - $tabs.tabs( "select", $tab_items.index( $item ) ); - $( this ).appendTo( $list ).show( "slow" ); - }); - } - }); - }); - </script> -</head> -<body> -<div class="demo"> - -<div id="tabs"> - <ul> - <li><a href="#tabs-1">Nunc tincidunt</a></li> - <li><a href="#tabs-2">Proin dolor</a></li> - </ul> - <div id="tabs-1"> - <ul id="sortable1" class="connectedSortable ui-helper-reset"> - <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> - <div id="tabs-2"> - <ul id="sortable2" class="connectedSortable ui-helper-reset"> - <li class="ui-state-highlight">Item 1</li> - <li class="ui-state-highlight">Item 2</li> - <li class="ui-state-highlight">Item 3</li> - <li class="ui-state-highlight">Item 4</li> - <li class="ui-state-highlight">Item 5</li> - </ul> - </div> -</div> - -</div><!-- End demo --> - - - -<div class="demo-description"> -<p>Sort items from one list into another and vice versa, by dropping the list item on the appropriate tab above.</p> -</div><!-- End demo-description --> - -</body> -</html> diff --git a/include/jquery_ui/development-bundle/demos/sortable/connect-lists.html b/include/jquery_ui/development-bundle/demos/sortable/connect-lists.html deleted file mode 100644 index 275859e0e..000000000 --- a/include/jquery_ui/development-bundle/demos/sortable/connect-lists.html +++ /dev/null @@ -1,58 +0,0 @@ -<!DOCTYPE html> -<html lang="en"> -<head> - <meta charset="utf-8"> - <title>jQuery UI Sortable - Connect lists</title> - <link rel="stylesheet" href="../../themes/base/jquery.ui.all.css"> - <script src="../../jquery-1.7.2.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.sortable.js"></script> - <link rel="stylesheet" href="../demos.css"> - <style> - #sortable1, #sortable2 { list-style-type: none; margin: 0; padding: 0 0 2.5em; float: left; margin-right: 10px; } - #sortable1 li, #sortable2 li { margin: 0 5px 5px 5px; padding: 5px; font-size: 1.2em; width: 120px; } - </style> - <script> - $(function() { - $( "#sortable1, #sortable2" ).sortable({ - connectWith: ".connectedSortable" - }).disableSelection(); - }); - </script> -</head> -<body> -<div class="demo"> - -<ul id="sortable1" class="connectedSortable"> - <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> - -<ul id="sortable2" class="connectedSortable"> - <li class="ui-state-highlight">Item 1</li> - <li class="ui-state-highlight">Item 2</li> - <li class="ui-state-highlight">Item 3</li> - <li class="ui-state-highlight">Item 4</li> - <li class="ui-state-highlight">Item 5</li> -</ul> - -</div><!-- End demo --> - - - -<div class="demo-description"> -<p> - Sort items from one list into another and vice versa, by passing a selector into - the <code>connectWith</code> 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., <code>connectWith: '.myclass'</code>). -</p> -</div><!-- End demo-description --> - -</body> -</html> diff --git a/include/jquery_ui/development-bundle/demos/sortable/default.html b/include/jquery_ui/development-bundle/demos/sortable/default.html deleted file mode 100644 index 3590de17f..000000000 --- a/include/jquery_ui/development-bundle/demos/sortable/default.html +++ /dev/null @@ -1,51 +0,0 @@ -<!DOCTYPE html> -<html lang="en"> -<head> - <meta charset="utf-8"> - <title>jQuery UI Sortable - Default functionality</title> - <link rel="stylesheet" href="../../themes/base/jquery.ui.all.css"> - <script src="../../jquery-1.7.2.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.sortable.js"></script> - <link rel="stylesheet" href="../demos.css"> - <style> - #sortable { list-style-type: none; margin: 0; padding: 0; width: 60%; } - #sortable li { margin: 0 3px 3px 3px; padding: 0.4em; padding-left: 1.5em; font-size: 1.4em; height: 18px; } - #sortable li span { position: absolute; margin-left: -1.3em; } - </style> - <script> - $(function() { - $( "#sortable" ).sortable(); - $( "#sortable" ).disableSelection(); - }); - </script> -</head> -<body> -<div class="demo"> - -<ul id="sortable"> - <li class="ui-state-default"><span class="ui-icon ui-icon-arrowthick-2-n-s"></span>Item 1</li> - <li class="ui-state-default"><span class="ui-icon ui-icon-arrowthick-2-n-s"></span>Item 2</li> - <li class="ui-state-default"><span class="ui-icon ui-icon-arrowthick-2-n-s"></span>Item 3</li> - <li class="ui-state-default"><span class="ui-icon ui-icon-arrowthick-2-n-s"></span>Item 4</li> - <li class="ui-state-default"><span class="ui-icon ui-icon-arrowthick-2-n-s"></span>Item 5</li> - <li class="ui-state-default"><span class="ui-icon ui-icon-arrowthick-2-n-s"></span>Item 6</li> - <li class="ui-state-default"><span class="ui-icon ui-icon-arrowthick-2-n-s"></span>Item 7</li> -</ul> - -</div><!-- End demo --> - - - -<div class="demo-description"> -<p> - 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 <code>draggable</code> properties. -</p> -</div><!-- End demo-description --> - -</body> -</html> diff --git a/include/jquery_ui/development-bundle/demos/sortable/delay-start.html b/include/jquery_ui/development-bundle/demos/sortable/delay-start.html deleted file mode 100644 index 6096e9a5c..000000000 --- a/include/jquery_ui/development-bundle/demos/sortable/delay-start.html +++ /dev/null @@ -1,67 +0,0 @@ -<!DOCTYPE html> -<html lang="en"> -<head> - <meta charset="utf-8"> - <title>jQuery UI Sortable - Delay start</title> - <link rel="stylesheet" href="../../themes/base/jquery.ui.all.css"> - <script src="../../jquery-1.7.2.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.sortable.js"></script> - <link rel="stylesheet" href="../demos.css"> - <style> - #sortable1, #sortable2 { list-style-type: none; margin: 0; padding: 0; margin-bottom: 15px;zoom: 1; } - #sortable1 li, #sortable2 li { margin: 0 5px 5px 5px; padding: 5px; font-size: 1.2em; width: 95%; } - </style> - <script> - $(function() { - $( "#sortable1" ).sortable({ - delay: 300 - }); - - $( "#sortable2" ).sortable({ - distance: 15 - }); - - $( "li" ).disableSelection(); - }); - </script> -</head> -<body> -<div class="demo"> - -<h3 class="docs">Time delay of 300ms:</h3> - -<ul id="sortable1"> - <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> -</ul> - -<h3 class="docs">Distance delay of 15px:</h3> - -<ul id="sortable2"> - <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> -</ul> - -</div><!-- End demo --> - - - -<div class="demo-description"> -<p> - 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 <code>delay</code> option. Set a distance in pixels the element - needs to be dragged before sorting starts with the <code>distance</code> - option. -</p> -</div><!-- End demo-description --> - -</body> -</html> diff --git a/include/jquery_ui/development-bundle/demos/sortable/display-grid.html b/include/jquery_ui/development-bundle/demos/sortable/display-grid.html deleted file mode 100644 index a9287d204..000000000 --- a/include/jquery_ui/development-bundle/demos/sortable/display-grid.html +++ /dev/null @@ -1,54 +0,0 @@ -<!DOCTYPE html> -<html lang="en"> -<head> - <meta charset="utf-8"> - <title>jQuery UI Sortable - Display as grid</title> - <link rel="stylesheet" href="../../themes/base/jquery.ui.all.css"> - <script src="../../jquery-1.7.2.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.sortable.js"></script> - <link rel="stylesheet" href="../demos.css"> - <style> - #sortable { list-style-type: none; margin: 0; padding: 0; } - #sortable li { margin: 3px 3px 3px 0; padding: 1px; float: left; width: 100px; height: 90px; font-size: 4em; text-align: center; } - </style> - <script> - $(function() { - $( "#sortable" ).sortable(); - $( "#sortable" ).disableSelection(); - }); - </script> -</head> -<body> -<div class="demo"> - -<ul id="sortable"> - <li class="ui-state-default">1</li> - <li class="ui-state-default">2</li> - <li class="ui-state-default">3</li> - <li class="ui-state-default">4</li> - <li class="ui-state-default">5</li> - <li class="ui-state-default">6</li> - <li class="ui-state-default">7</li> - <li class="ui-state-default">8</li> - <li class="ui-state-default">9</li> - <li class="ui-state-default">10</li> - <li class="ui-state-default">11</li> - <li class="ui-state-default">12</li> -</ul> - -</div><!-- End demo --> - - - -<div class="demo-description"> -<p> - To arrange sortable items as a grid, give them identical dimensions and - float them using CSS. -</p> -</div><!-- End demo-description --> - -</body> -</html> diff --git a/include/jquery_ui/development-bundle/demos/sortable/empty-lists.html b/include/jquery_ui/development-bundle/demos/sortable/empty-lists.html deleted file mode 100644 index f49b1072f..000000000 --- a/include/jquery_ui/development-bundle/demos/sortable/empty-lists.html +++ /dev/null @@ -1,69 +0,0 @@ -<!DOCTYPE html> -<html lang="en"> -<head> - <meta charset="utf-8"> - <title>jQuery UI Sortable - Handle empty lists</title> - <link rel="stylesheet" href="../../themes/base/jquery.ui.all.css"> - <script src="../../jquery-1.7.2.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.sortable.js"></script> - <link rel="stylesheet" href="../demos.css"> - <style> - #sortable1, #sortable2, #sortable3 { list-style-type: none; margin: 0; padding: 0; float: left; margin-right: 10px; background: #eee; padding: 5px; width: 143px;} - #sortable1 li, #sortable2 li, #sortable3 li { margin: 5px; padding: 5px; font-size: 1.2em; width: 120px; } - </style> - <script> - $(function() { - $( "ul.droptrue" ).sortable({ - connectWith: "ul" - }); - - $( "ul.dropfalse" ).sortable({ - connectWith: "ul", - dropOnEmpty: false - }); - - $( "#sortable1, #sortable2, #sortable3" ).disableSelection(); - }); - </script> -</head> -<body> -<div class="demo"> - -<ul id="sortable1" class='droptrue'> - <li class="ui-state-default">Can be dropped..</li> - <li class="ui-state-default">..on an empty list</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> - -<ul id="sortable2" class='dropfalse'> - <li class="ui-state-highlight">Cannot be dropped..</li> - <li class="ui-state-highlight">..on an empty list</li> - <li class="ui-state-highlight">Item 3</li> - <li class="ui-state-highlight">Item 4</li> - <li class="ui-state-highlight">Item 5</li> -</ul> - -<ul id="sortable3" class='droptrue'> -</ul> - -<br clear="both" /> - -</div><!-- End demo --> - - - -<div class="demo-description"> -<p> - Prevent all items in a list from being dropped into a separate, empty list - using the <code>dropOnEmpty</code> option set to <code>false</code>. By default, - sortable items can be dropped on empty lists. -</p> -</div><!-- End demo-description --> - -</body> -</html> diff --git a/include/jquery_ui/development-bundle/demos/sortable/index.html b/include/jquery_ui/development-bundle/demos/sortable/index.html deleted file mode 100644 index b307ef777..000000000 --- a/include/jquery_ui/development-bundle/demos/sortable/index.html +++ /dev/null @@ -1,26 +0,0 @@ -<!DOCTYPE html> -<html lang="en"> -<head> - <meta charset="utf-8"> - <title>jQuery UI Sortable Demos</title> - <link rel="stylesheet" href="../demos.css"> -</head> -<body> - -<div class="demos-nav"> - <h4>Examples</h4> - <ul> - <li class="demo-config-on"><a href="default.html">Default functionality</a></li> - <li><a href="placeholder.html">Drop placeholder</a></li> - <li><a href="connect-lists.html">Connect lists</a></li> - <li><a href="connect-lists-through-tabs.html">Connect lists through tabs</a></li> - <li><a href="empty-lists.html">Handle empty lists</a></li> - <li><a href="items.html">Include / exclude items</a></li> - <li><a href="delay-start.html">Delay start</a></li> - <li><a href="display-grid.html">Display as grid</a></li> - <li><a href="portlets.html">Portlets</a></li> - </ul> -</div> - -</body> -</html> diff --git a/include/jquery_ui/development-bundle/demos/sortable/items.html b/include/jquery_ui/development-bundle/demos/sortable/items.html deleted file mode 100644 index 07a2ca963..000000000 --- a/include/jquery_ui/development-bundle/demos/sortable/items.html +++ /dev/null @@ -1,70 +0,0 @@ -<!DOCTYPE html> -<html lang="en"> -<head> - <meta charset="utf-8"> - <title>jQuery UI Sortable - Include / exclude items</title> - <link rel="stylesheet" href="../../themes/base/jquery.ui.all.css"> - <script src="../../jquery-1.7.2.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.sortable.js"></script> - <link rel="stylesheet" href="../demos.css"> - <style> - #sortable1, #sortable2 { list-style-type: none; margin: 0; padding: 0; zoom: 1; } - #sortable1 li, #sortable2 li { margin: 0 5px 5px 5px; padding: 3px; width: 90%; } - </style> - <script> - $(function() { - $( "#sortable1" ).sortable({ - items: "li:not(.ui-state-disabled)" - }); - - $( "#sortable2" ).sortable({ - cancel: ".ui-state-disabled" - }); - - $( "#sortable1 li, #sortable2 li" ).disableSelection(); - }); - </script> -</head> -<body> -<div class="demo"> - -<h3 class="docs">Specify which items are sortable:</h3> - -<ul id="sortable1"> - <li class="ui-state-default">Item 1</li> - <li class="ui-state-default ui-state-disabled">(I'm not sortable or a drop target)</li> - <li class="ui-state-default ui-state-disabled">(I'm not sortable or a drop target)</li> - <li class="ui-state-default">Item 4</li> -</ul> - -<h3 class="docs">Cancel sorting (but keep as drop targets):</h3> - -<ul id="sortable2"> - <li class="ui-state-default">Item 1</li> - <li class="ui-state-default ui-state-disabled">(I'm not sortable)</li> - <li class="ui-state-default ui-state-disabled">(I'm not sortable)</li> - <li class="ui-state-default">Item 4</li> -</ul> - -</div><!-- End demo --> - - - -<div class="demo-description"> -<p> - Specify which items are eligible to sort by passing a jQuery selector into - the <code>items</code> option. Items excluded from this option are not - sortable, nor are they valid targets for sortable items. -</p> -<p> - To only prevent sorting on certain items, pass a jQuery selector into the - <code>cancel</code> option. Cancelled items remain valid sort targets for - others. -</p> -</div><!-- End demo-description --> - -</body> -</html> diff --git a/include/jquery_ui/development-bundle/demos/sortable/placeholder.html b/include/jquery_ui/development-bundle/demos/sortable/placeholder.html deleted file mode 100644 index 4aa07ce15..000000000 --- a/include/jquery_ui/development-bundle/demos/sortable/placeholder.html +++ /dev/null @@ -1,56 +0,0 @@ -<!DOCTYPE html> -<html lang="en"> -<head> - <meta charset="utf-8"> - <title>jQuery UI Sortable - Drop placeholder</title> - <link rel="stylesheet" href="../../themes/base/jquery.ui.all.css"> - <script src="../../jquery-1.7.2.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.sortable.js"></script> - <link rel="stylesheet" href="../demos.css"> - <style> - #sortable { list-style-type: none; margin: 0; padding: 0; width: 60%; } - #sortable li { margin: 0 5px 5px 5px; padding: 5px; font-size: 1.2em; height: 1.5em; } - html>body #sortable li { height: 1.5em; line-height: 1.2em; } - .ui-state-highlight { height: 1.5em; line-height: 1.2em; } - </style> - <script> - $(function() { - $( "#sortable" ).sortable({ - placeholder: "ui-state-highlight" - }); - $( "#sortable" ).disableSelection(); - }); - </script> -</head> -<body> -<div class="demo"> - -<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> - <li class="ui-state-default">Item 6</li> - <li class="ui-state-default">Item 7</li> -</ul> - -</div><!-- End demo --> - - - -<div class="demo-description"> -<p> - 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 <code>placeholder</code> option to style that space to - be visible. Use the boolean <code>forcePlaceholderSize</code> option - to set dimensions on the placeholder. -</p> -</div><!-- End demo-description --> - -</body> -</html> diff --git a/include/jquery_ui/development-bundle/demos/sortable/portlets.html b/include/jquery_ui/development-bundle/demos/sortable/portlets.html deleted file mode 100644 index a932dbc1a..000000000 --- a/include/jquery_ui/development-bundle/demos/sortable/portlets.html +++ /dev/null @@ -1,96 +0,0 @@ -<!DOCTYPE html> -<html lang="en"> -<head> - <meta charset="utf-8"> - <title>jQuery UI Sortable - Portlets</title> - <link rel="stylesheet" href="../../themes/base/jquery.ui.all.css"> - <script src="../../jquery-1.7.2.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.sortable.js"></script> - <link rel="stylesheet" href="../demos.css"> - <style> - .column { width: 170px; float: left; padding-bottom: 100px; } - .portlet { margin: 0 1em 1em 0; } - .portlet-header { margin: 0.3em; padding-bottom: 4px; padding-left: 0.2em; } - .portlet-header .ui-icon { float: right; } - .portlet-content { padding: 0.4em; } - .ui-sortable-placeholder { border: 1px dotted black; visibility: visible !important; height: 50px !important; } - .ui-sortable-placeholder * { visibility: hidden; } - </style> - <script> - $(function() { - $( ".column" ).sortable({ - connectWith: ".column" - }); - - $( ".portlet" ).addClass( "ui-widget ui-widget-content ui-helper-clearfix ui-corner-all" ) - .find( ".portlet-header" ) - .addClass( "ui-widget-header ui-corner-all" ) - .prepend( "<span class='ui-icon ui-icon-minusthick'></span>") - .end() - .find( ".portlet-content" ); - - $( ".portlet-header .ui-icon" ).click(function() { - $( this ).toggleClass( "ui-icon-minusthick" ).toggleClass( "ui-icon-plusthick" ); - $( this ).parents( ".portlet:first" ).find( ".portlet-content" ).toggle(); - }); - - $( ".column" ).disableSelection(); - }); - </script> -</head> -<body> -<div class="demo"> - -<div class="column"> - - <div class="portlet"> - <div class="portlet-header">Feeds</div> - <div class="portlet-content">Lorem ipsum dolor sit amet, consectetuer adipiscing elit</div> - </div> - - <div class="portlet"> - <div class="portlet-header">News</div> - <div class="portlet-content">Lorem ipsum dolor sit amet, consectetuer adipiscing elit</div> - </div> - -</div> - -<div class="column"> - - <div class="portlet"> - <div class="portlet-header">Shopping</div> - <div class="portlet-content">Lorem ipsum dolor sit amet, consectetuer adipiscing elit</div> - </div> - -</div> - -<div class="column"> - - <div class="portlet"> - <div class="portlet-header">Links</div> - <div class="portlet-content">Lorem ipsum dolor sit amet, consectetuer adipiscing elit</div> - </div> - - <div class="portlet"> - <div class="portlet-header">Images</div> - <div class="portlet-content">Lorem ipsum dolor sit amet, consectetuer adipiscing elit</div> - </div> - -</div> - -</div><!-- End demo --> - - - -<div class="demo-description"> -<p> - Enable portlets (styled divs) as sortables and use the <code>connectWith</code> - option to allow sorting between columns. -</p> -</div><!-- End demo-description --> - -</body> -</html> diff --git a/include/jquery_ui/development-bundle/demos/switchClass/default.html b/include/jquery_ui/development-bundle/demos/switchClass/default.html deleted file mode 100644 index 673a19d3b..000000000 --- a/include/jquery_ui/development-bundle/demos/switchClass/default.html +++ /dev/null @@ -1,47 +0,0 @@ -<!DOCTYPE html> -<html lang="en"> -<head> - <meta charset="utf-8"> - <title>jQuery UI Effects - switchClass Demo</title> - <link rel="stylesheet" href="../../themes/base/jquery.ui.all.css"> - <script src="../../jquery-1.7.2.js"></script> - <script src="../../ui/jquery.effects.core.js"></script> - <link rel="stylesheet" href="../demos.css"> - <style> - .toggler { width: 500px; height: 200px; position: relative; } - #button { padding: .5em 1em; text-decoration: none; } - #effect {position: relative; } - .newClass { width: 240px; padding: 1em; letter-spacing: 0; font-size: 1.2em; margin: 0; } - .anotherNewClass { text-indent: 40px; letter-spacing: .4em; width: 410px; height: 100px; padding: 30px; margin: 10px; font-size: 1.6em; } - </style> - <script> - $(function() { - $( "#button" ).click(function(){ - $( ".newClass" ).switchClass( "newClass", "anotherNewClass", 1000 ); - $( ".anotherNewClass" ).switchClass( "anotherNewClass", "newClass", 1000 ); - return false; - }); - }); - </script> -</head> -<body> - -<div class="demo"> - -<div class="toggler"> - <div id="effect" class="newClass ui-corner-all"> - Etiam libero neque, luctus a, eleifend nec, semper at, lorem. Sed pede. - </div> -</div> -<a href="#" id="button" class="ui-state-default ui-corner-all">Run Effect</a> - -</div><!-- End demo --> - - - -<div class="demo-description"> -<p>Click the button above to preview the effect.</p> -</div><!-- End demo-description --> - -</body> -</html> diff --git a/include/jquery_ui/development-bundle/demos/switchClass/index.html b/include/jquery_ui/development-bundle/demos/switchClass/index.html deleted file mode 100644 index f5bd6a0e4..000000000 --- a/include/jquery_ui/development-bundle/demos/switchClass/index.html +++ /dev/null @@ -1,18 +0,0 @@ -<!DOCTYPE html> -<html lang="en"> -<head> - <meta charset="utf-8"> - <title>jQuery UI Effects Demos</title> - <link rel="stylesheet" href="../demos.css"> -</head> -<body> - -<div class="demos-nav"> - <h4>Examples</h4> - <ul> - <li class="demo-config-on"><a href="default.html">Default functionality</a></li> - </ul> -</div> - -</body> -</html> diff --git a/include/jquery_ui/development-bundle/demos/tabs/ajax.html b/include/jquery_ui/development-bundle/demos/tabs/ajax.html deleted file mode 100644 index a4c5e9457..000000000 --- a/include/jquery_ui/development-bundle/demos/tabs/ajax.html +++ /dev/null @@ -1,53 +0,0 @@ -<!DOCTYPE html> -<html lang="en"> -<head> - <meta charset="utf-8"> - <title>jQuery UI Tabs - Content via Ajax</title> - <link rel="stylesheet" href="../../themes/base/jquery.ui.all.css"> - <script src="../../jquery-1.7.2.js"></script> - <script src="../../ui/jquery.ui.core.js"></script> - <script src="../../ui/jquery.ui.widget.js"></script> - <script src="../../ui/jquery.ui.tabs.js"></script> - <link rel="stylesheet" href="../demos.css"> - <script> - $(function() { - $( "#tabs" ).tabs({ - ajaxOptions: { - error: function( xhr, status, index, anchor ) { - $( anchor.hash ).html( - "Couldn't load this tab. We'll try to fix this as soon as possible. " + - "If this wouldn't be a demo." ); - } - } - }); - }); - </script> -</head> -<body> - -<div class="demo"> - -<div id="tabs"> - <ul> - <li><a href="#tabs-1">Preloaded</a></li> - <li><a href="ajax/content1.html">Tab 1</a></li> - <li><a href="ajax/content2.html">Tab 2</a></li> - <li><a href="ajax/content3-slow.php">Tab 3 (slow)</a></li> - <li><a href="ajax/content4-broken.php">Tab 4 (broken)</a></li> - </ul> - <div id="tabs-1"> - <p>Proin elit arcu, rutrum commodo, vehicula tempus, commodo a, risus. Curabitur nec arcu. Donec sollicitudin mi sit amet mauris. Nam elementum quam ullamcorper ante. Etiam aliquet massa et lorem. Mauris dapibus lacus auctor risus. Aenean tempor ullamcorper leo. Vivamus sed magna quis ligula eleifend adipiscing. Duis orci. Aliquam sodales tortor vitae ipsum. Aliquam nulla. Duis aliquam molestie erat. Ut et mauris vel pede varius sollicitudin. Sed ut dolor nec orci tincidunt interdum. Phasellus ipsum. Nunc tristique tempus lectus.</p> - </div> -</div> - -</div><!-- End demo --> - - - -<div class="demo-description"> -<p>Fetch external content via Ajax for the tabs by setting an href value in the tab links. While the Ajax request is waiting for a response, the tab label changes to say "Loading...", then returns to the normal label once loaded.</p> -<p>Tabs 3 and 4 demonstrate slow-loading and broken AJAX tabs, and how to handle serverside errors in those cases. Note: These two require a webserver to interpret PHP. They won't work from the filesystem.</p> -</div><!-- End demo-description --> - -</body> -</html> diff --git a/include/jquery_ui/development-bundle/demos/tabs/ajax/content1.html b/include/jquery_ui/development-bundle/demos/tabs/ajax/content1.html deleted file mode 100644 index 472bdfb36..000000000 --- a/include/jquery_ui/development-bundle/demos/tabs/ajax/content1.html +++ /dev/null @@ -1,4 +0,0 @@ -<p><strong>This content was loaded via ajax.</strong></p> -<p>Proin elit arcu, rutrum commodo, vehicula tempus, commodo a, risus. Curabitur nec arcu. Donec sollicitudin mi sit amet mauris. Nam elementum quam ullamcorper ante. Etiam aliquet massa et lorem. Mauris dapibus lacus auctor risus. Aenean tempor ullamcorper leo. Vivamus sed magna quis ligula eleifend adipiscing. Duis orci. Aliquam sodales tortor vitae ipsum. Aliquam nulla. Duis aliquam molestie erat. Ut et mauris vel pede varius sollicitudin. Sed ut dolor nec orci tincidunt interdum. Phasellus ipsum. Nunc tristique tempus lectus.</p> -<p>Mauris vitae ante. Curabitur augue. Nulla purus nibh, lobortis ut, feugiat at, aliquam id, purus. Sed venenatis, lorem venenatis volutpat commodo, purus quam lacinia justo, mattis interdum pede pede a odio. Fusce nibh. Morbi nisl mauris, dapibus in, tristique eget, accumsan et, pede. Donec mauris risus, pulvinar ut, faucibus eu, mollis in, nunc. In augue massa, commodo a, cursus vehicula, varius eu, dui. Suspendisse sodales suscipit lorem. Morbi malesuada, eros quis condimentum dignissim, lectus nibh tristique urna, non bibendum diam massa vel risus. Morbi suscipit. Proin egestas, eros at scelerisque scelerisque, dolor lacus fringilla lacus, ut ullamcorper mi magna at quam. Aliquam sed elit. Aliquam turpis purus, congue quis, iaculis id, ullamcorper sit amet, justo. Maecenas sed mauris. Proin magna justo, interdum in, tincidunt eu, viverra eu, turpis. Suspendisse mollis. In magna. Phasellus pellentesque, urna pellentesque convallis pellentesque, augue sem blandit pede, at rhoncus libero nisl a odio.</p> -<p>Sed vitae nibh non magna semper tempor. Duis dolor. Nam congue laoreet arcu. Fusce lobortis enim quis ligula. Maecenas commodo odio id mi. Maecenas scelerisque tellus eu odio. Etiam dolor purus, lacinia a, imperdiet in, aliquam et, eros. In pellentesque. Nullam ac massa. Integer et turpis. Ut quam augue, congue non, imperdiet id, eleifend ac, nisi. Etiam ac arcu. Cras iaculis accumsan erat. Nullam vulputate sapien nec nisi pretium rhoncus. Aliquam a nibh. Vivamus est ante, fermentum a, tincidunt ut, imperdiet nec, velit. Aenean non tortor. Sed nec mauris eget tellus condimentum rutrum.</p>
\ No newline at end of file diff --git a/include/jquery_ui/development-bundle/demos/tabs/ajax/content2.html b/include/jquery_ui/development-bundle/demos/tabs/ajax/content2.html deleted file mode 100644 index 18b03e40b..000000000 --- a/include/jquery_ui/development-bundle/demos/tabs/ajax/content2.html +++ /dev/null @@ -1,4 +0,0 @@ -<p><strong>This other content was loaded via ajax.</strong></p> -<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Aenean nec turpis justo, et facilisis ligula. In congue interdum odio, a scelerisque eros posuere ac. Aenean massa tellus, dictum sit amet laoreet ut, aliquam in orci. Duis eu aliquam ligula. Nullam vel placerat ligula. Fusce venenatis viverra dictum. Phasellus dui dolor, imperdiet in sodales at, mattis sed libero. Morbi ac ipsum ligula. Quisque suscipit dui vel diam pretium nec cursus lacus malesuada. Donec sollicitudin, eros eget dignissim mollis, risus leo feugiat tellus, vel posuere nisl ipsum eu erat. Quisque posuere lacinia imperdiet. Quisque nunc leo, elementum quis ultricies et, vehicula sit amet turpis. Nullam sed nunc nec nibh condimentum mattis. Quisque sed ligula sit amet nisi ultricies bibendum eget id nisi.</p> -<p>Proin ut erat vel nunc tincidunt commodo. Curabitur feugiat, nisi et vehicula viverra, nisl orci eleifend arcu, sed blandit lectus nisl quis nisi. In hac habitasse platea dictumst. In hac habitasse platea dictumst. Aenean rutrum gravida velit ac imperdiet. Integer vitae arcu risus. Vestibulum ante ipsum primis in faucibus orci luctus et ultrices posuere cubilia Curae; Proin tincidunt orci at leo egestas porta. Vivamus ac augue et enim bibendum hendrerit ut id urna. Donec sollicitudin pulvinar turpis vitae scelerisque. Etiam tempor porttitor est sed blandit. Phasellus varius consequat leo eget tincidunt. Aliquam ac dui lectus. In et consectetur orci. Duis posuere nulla ac turpis faucibus vestibulum. Sed ut velit et dolor rhoncus dapibus. Sed sit amet pellentesque est.</p> -<p>Nam in volutpat orci. Morbi sit amet orci in erat egestas dignissim. Etiam mi sapien, tempus sed iaculis a, adipiscing quis tellus. Suspendisse potenti. Nam malesuada tristique vestibulum. In tempor tellus dignissim neque consectetur eu vestibulum nisl pellentesque. Phasellus ultrices cursus velit, id aliquam nisl fringilla quis. Cras varius elit sed urna ultrices congue. Sed ornare odio sed velit pellentesque id varius nisl sodales. Sed auctor ligula egestas mi pharetra ut consectetur erat pharetra.</p>
\ No newline at end of file diff --git a/include/jquery_ui/development-bundle/demos/tabs/ajax/content3-slow.php b/include/jquery_ui/development-bundle/demos/tabs/ajax/content3-slow.php deleted file mode 100644 index 7ad43ec06..000000000 --- a/include/jquery_ui/development-bundle/demos/tabs/ajax/content3-slow.php +++ /dev/null @@ -1,7 +0,0 @@ -<?php -sleep(1); -?> -<p><strong>This content was loaded via ajax, though it took a second.</strong></p> -<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Aenean nec turpis justo, et facilisis ligula. In congue interdum odio, a scelerisque eros posuere ac. Aenean massa tellus, dictum sit amet laoreet ut, aliquam in orci. Duis eu aliquam ligula. Nullam vel placerat ligula. Fusce venenatis viverra dictum. Phasellus dui dolor, imperdiet in sodales at, mattis sed libero. Morbi ac ipsum ligula. Quisque suscipit dui vel diam pretium nec cursus lacus malesuada. Donec sollicitudin, eros eget dignissim mollis, risus leo feugiat tellus, vel posuere nisl ipsum eu erat. Quisque posuere lacinia imperdiet. Quisque nunc leo, elementum quis ultricies et, vehicula sit amet turpis. Nullam sed nunc nec nibh condimentum mattis. Quisque sed ligula sit amet nisi ultricies bibendum eget id nisi.</p> -<p>Proin ut erat vel nunc tincidunt commodo. Curabitur feugiat, nisi et vehicula viverra, nisl orci eleifend arcu, sed blandit lectus nisl quis nisi. In hac habitasse platea dictumst. In hac habitasse platea dictumst. Aenean rutrum gravida velit ac imperdiet. Integer vitae arcu risus. Vestibulum ante ipsum primis in faucibus orci luctus et ultrices posuere cubilia Curae; Proin tincidunt orci at leo egestas porta. Vivamus ac augue et enim bibendum hendrerit ut id urna. Donec sollicitudin pulvinar turpis vitae scelerisque. Etiam tempor porttitor est sed blandit. Phasellus varius consequat leo eget tincidunt. Aliquam ac dui lectus. In et consectetur orci. Duis posuere nulla ac turpis faucibus vestibulum. Sed ut velit et dolor rhoncus dapibus. Sed sit amet pellentesque est.</p> -<p>Nam in volutpat orci. Morbi sit amet orci in erat egestas dignissim. Etiam mi sapien, tempus sed iaculis a, adipiscing quis tellus. Suspendisse potenti. Nam malesuada tristique vestibulum. In tempor tellus dignissim neque consectetur eu vestibulum nisl pellentesque. Phasellus ultrices cursus velit, id aliquam nisl fringilla quis. Cras varius elit sed urna ultrices congue. Sed ornare odio sed velit pellentesque id varius nisl sodales. Sed auctor ligula egestas mi pharetra ut consectetur erat pharetra.</p>
\ No newline at end of file diff --git a/include/jquery_ui/development-bundle/demos/tabs/ajax/content4-broken.php b/include/jquery_ui/development-bundle/demos/tabs/ajax/content4-broken.php deleted file mode 100644 index 55ea2fe9f..000000000 --- a/include/jquery_ui/development-bundle/demos/tabs/ajax/content4-broken.php +++ /dev/null @@ -1,3 +0,0 @@ -<?php -header("HTTP/1.0 404 Not Found"); -?>
\ No newline at end of file diff --git a/include/jquery_ui/development-bundle/demos/tabs/bottom.html b/include/jquery_ui/development-bundle/demos/tabs/bottom.html deleted file mode 100644 index dffe3a3a7..000000000 --- a/include/jquery_ui/development-bundle/demos/tabs/bottom.html +++ /dev/null @@ -1,60 +0,0 @@ -<!DOCTYPE html> -<html lang="en"> -<head> - <meta charset="utf-8"> - <title>jQuery UI Tabs - Tabs at bottom</title> - <link rel="stylesheet" href="../../themes/base/jquery.ui.all.css"> - <script src="../../jquery-1.7.2.js"></script> - <script src="../../ui/jquery.ui.core.js"></script> - <script src="../../ui/jquery.ui.widget.js"></script> - <script src="../../ui/jquery.ui.tabs.js"></script> - <link rel="stylesheet" href="../demos.css"> - <script> - $(function() { - $( "#tabs" ).tabs(); - $( ".tabs-bottom .ui-tabs-nav, .tabs-bottom .ui-tabs-nav > *" ) - .removeClass( "ui-corner-all ui-corner-top" ) - .addClass( "ui-corner-bottom" ); - }); - </script> - <style> - #tabs { height: 200px; } - .tabs-bottom { position: relative; } - .tabs-bottom .ui-tabs-panel { height: 140px; overflow: auto; } - .tabs-bottom .ui-tabs-nav { position: absolute !important; left: 0; bottom: 0; right:0; padding: 0 0.2em 0.2em 0; } - .tabs-bottom .ui-tabs-nav li { margin-top: -2px !important; margin-bottom: 1px !important; border-top: none; border-bottom-width: 1px; } - .ui-tabs-selected { margin-top: -3px !important; } - </style> -</head> -<body> - -<div class="demo"> - -<div id="tabs" class="tabs-bottom"> - <ul> - <li><a href="#tabs-1">Nunc tincidunt</a></li> - <li><a href="#tabs-2">Proin dolor</a></li> - <li><a href="#tabs-3">Aenean lacinia</a></li> - </ul> - <div id="tabs-1"> - <p>Proin elit arcu, rutrum commodo, vehicula tempus, commodo a, risus. Curabitur nec arcu. Donec sollicitudin mi sit amet mauris. Nam elementum quam ullamcorper ante. Etiam aliquet massa et lorem. Mauris dapibus lacus auctor risus. Aenean tempor ullamcorper leo. Vivamus sed magna quis ligula eleifend adipiscing. Duis orci. Aliquam sodales tortor vitae ipsum. Aliquam nulla. Duis aliquam molestie erat. Ut et mauris vel pede varius sollicitudin. Sed ut dolor nec orci tincidunt interdum. Phasellus ipsum. Nunc tristique tempus lectus.</p> - </div> - <div id="tabs-2"> - <p>Morbi tincidunt, dui sit amet facilisis feugiat, odio metus gravida ante, ut pharetra massa metus id nunc. Duis scelerisque molestie turpis. Sed fringilla, massa eget luctus malesuada, metus eros molestie lectus, ut tempus eros massa ut dolor. Aenean aliquet fringilla sem. Suspendisse sed ligula in ligula suscipit aliquam. Praesent in eros vestibulum mi adipiscing adipiscing. Morbi facilisis. Curabitur ornare consequat nunc. Aenean vel metus. Ut posuere viverra nulla. Aliquam erat volutpat. Pellentesque convallis. Maecenas feugiat, tellus pellentesque pretium posuere, felis lorem euismod felis, eu ornare leo nisi vel felis. Mauris consectetur tortor et purus.</p> - </div> - <div id="tabs-3"> - <p>Mauris eleifend est et turpis. Duis id erat. Suspendisse potenti. Aliquam vulputate, pede vel vehicula accumsan, mi neque rutrum erat, eu congue orci lorem eget lorem. Vestibulum non ante. Class aptent taciti sociosqu ad litora torquent per conubia nostra, per inceptos himenaeos. Fusce sodales. Quisque eu urna vel enim commodo pellentesque. Praesent eu risus hendrerit ligula tempus pretium. Curabitur lorem enim, pretium nec, feugiat nec, luctus a, lacus.</p> - <p>Duis cursus. Maecenas ligula eros, blandit nec, pharetra at, semper at, magna. Nullam ac lacus. Nulla facilisi. Praesent viverra justo vitae neque. Praesent blandit adipiscing velit. Suspendisse potenti. Donec mattis, pede vel pharetra blandit, magna ligula faucibus eros, id euismod lacus dolor eget odio. Nam scelerisque. Donec non libero sed nulla mattis commodo. Ut sagittis. Donec nisi lectus, feugiat porttitor, tempor ac, tempor vitae, pede. Aenean vehicula velit eu tellus interdum rutrum. Maecenas commodo. Pellentesque nec elit. Fusce in lacus. Vivamus a libero vitae lectus hendrerit hendrerit.</p> - </div> -</div> - -</div><!-- End demo --> - - - -<div class="demo-description"> -<p>With some additional CSS (for positioning) and JS (to put the right classes on elements) the tabs can be placed below their content.</p> -</div><!-- End demo-description --> - -</body> -</html> diff --git a/include/jquery_ui/development-bundle/demos/tabs/collapsible.html b/include/jquery_ui/development-bundle/demos/tabs/collapsible.html deleted file mode 100644 index ad4769ea1..000000000 --- a/include/jquery_ui/development-bundle/demos/tabs/collapsible.html +++ /dev/null @@ -1,55 +0,0 @@ -<!DOCTYPE html> -<html lang="en"> -<head> - <meta charset="utf-8"> - <title>jQuery UI Tabs - Collapse content</title> - <link rel="stylesheet" href="../../themes/base/jquery.ui.all.css"> - <script src="../../jquery-1.7.2.js"></script> - <script src="../../ui/jquery.ui.core.js"></script> - <script src="../../ui/jquery.ui.widget.js"></script> - <script src="../../ui/jquery.ui.tabs.js"></script> - <link rel="stylesheet" href="../demos.css"> - <script> - $(function() { - $( "#tabs" ).tabs({ - collapsible: true - }); - }); - </script> -</head> -<body> - -<div class="demo"> - -<div id="tabs"> - <ul> - <li><a href="#tabs-1">Nunc tincidunt</a></li> - <li><a href="#tabs-2">Proin dolor</a></li> - <li><a href="#tabs-3">Aenean lacinia</a></li> - </ul> - <div id="tabs-1"> - <p><strong>Click this tab again to close the content pane.</strong></p> - <p>Proin elit arcu, rutrum commodo, vehicula tempus, commodo a, risus. Curabitur nec arcu. Donec sollicitudin mi sit amet mauris. Nam elementum quam ullamcorper ante. Etiam aliquet massa et lorem. Mauris dapibus lacus auctor risus. Aenean tempor ullamcorper leo. Vivamus sed magna quis ligula eleifend adipiscing. Duis orci. Aliquam sodales tortor vitae ipsum. Aliquam nulla. Duis aliquam molestie erat. Ut et mauris vel pede varius sollicitudin. Sed ut dolor nec orci tincidunt interdum. Phasellus ipsum. Nunc tristique tempus lectus.</p> - </div> - <div id="tabs-2"> - <p><strong>Click this tab again to close the content pane.</strong></p> - <p>Morbi tincidunt, dui sit amet facilisis feugiat, odio metus gravida ante, ut pharetra massa metus id nunc. Duis scelerisque molestie turpis. Sed fringilla, massa eget luctus malesuada, metus eros molestie lectus, ut tempus eros massa ut dolor. Aenean aliquet fringilla sem. Suspendisse sed ligula in ligula suscipit aliquam. Praesent in eros vestibulum mi adipiscing adipiscing. Morbi facilisis. Curabitur ornare consequat nunc. Aenean vel metus. Ut posuere viverra nulla. Aliquam erat volutpat. Pellentesque convallis. Maecenas feugiat, tellus pellentesque pretium posuere, felis lorem euismod felis, eu ornare leo nisi vel felis. Mauris consectetur tortor et purus.</p> - </div> - <div id="tabs-3"> - <p><strong>Click this tab again to close the content pane.</strong></p> - <p>Duis cursus. Maecenas ligula eros, blandit nec, pharetra at, semper at, magna. Nullam ac lacus. Nulla facilisi. Praesent viverra justo vitae neque. Praesent blandit adipiscing velit. Suspendisse potenti. Donec mattis, pede vel pharetra blandit, magna ligula faucibus eros, id euismod lacus dolor eget odio. Nam scelerisque. Donec non libero sed nulla mattis commodo. Ut sagittis. Donec nisi lectus, feugiat porttitor, tempor ac, tempor vitae, pede. Aenean vehicula velit eu tellus interdum rutrum. Maecenas commodo. Pellentesque nec elit. Fusce in lacus. Vivamus a libero vitae lectus hendrerit hendrerit.</p> - </div> -</div> - -</div><!-- End demo --> - - - -<div class="demo-description"> -<p>Click the selected tab to toggle its content closed/open. To enable this functionality, set the <code>collapsible</code> option to true.</p> -<pre><code>collapsible: true -</code></pre> -</div><!-- End demo-description --> - -</body> -</html> diff --git a/include/jquery_ui/development-bundle/demos/tabs/cookie.html b/include/jquery_ui/development-bundle/demos/tabs/cookie.html deleted file mode 100644 index 1b71906e1..000000000 --- a/include/jquery_ui/development-bundle/demos/tabs/cookie.html +++ /dev/null @@ -1,57 +0,0 @@ -<!DOCTYPE html> -<html lang="en"> -<head> - <meta charset="utf-8"> - <title>jQuery UI Tabs - Default functionality</title> - <link rel="stylesheet" href="../../themes/base/jquery.ui.all.css"> - <script src="../../jquery-1.7.2.js"></script> - <script src="../../external/jquery.cookie.js"></script> - <script src="../../ui/jquery.ui.core.js"></script> - <script src="../../ui/jquery.ui.widget.js"></script> - <script src="../../ui/jquery.ui.tabs.js"></script> - <link rel="stylesheet" href="../demos.css"> - <script> - $(function() { - $( "#tabs" ).tabs({ - cookie: { - // store cookie for a day, without, it would be a session cookie - expires: 1 - } - }); - }); - </script> -</head> -<body> - -<div class="demo"> - -<div id="tabs"> - <ul> - <li><a href="#tabs-1">Nunc tincidunt</a></li> - <li><a href="#tabs-2">Proin dolor</a></li> - <li><a href="#tabs-3">Aenean lacinia</a></li> - </ul> - <div id="tabs-1"> - <p>Proin elit arcu, rutrum commodo, vehicula tempus, commodo a, risus. Curabitur nec arcu. Donec sollicitudin mi sit amet mauris. Nam elementum quam ullamcorper ante. Etiam aliquet massa et lorem. Mauris dapibus lacus auctor risus. Aenean tempor ullamcorper leo. Vivamus sed magna quis ligula eleifend adipiscing. Duis orci. Aliquam sodales tortor vitae ipsum. Aliquam nulla. Duis aliquam molestie erat. Ut et mauris vel pede varius sollicitudin. Sed ut dolor nec orci tincidunt interdum. Phasellus ipsum. Nunc tristique tempus lectus.</p> - </div> - <div id="tabs-2"> - <p>Morbi tincidunt, dui sit amet facilisis feugiat, odio metus gravida ante, ut pharetra massa metus id nunc. Duis scelerisque molestie turpis. Sed fringilla, massa eget luctus malesuada, metus eros molestie lectus, ut tempus eros massa ut dolor. Aenean aliquet fringilla sem. Suspendisse sed ligula in ligula suscipit aliquam. Praesent in eros vestibulum mi adipiscing adipiscing. Morbi facilisis. Curabitur ornare consequat nunc. Aenean vel metus. Ut posuere viverra nulla. Aliquam erat volutpat. Pellentesque convallis. Maecenas feugiat, tellus pellentesque pretium posuere, felis lorem euismod felis, eu ornare leo nisi vel felis. Mauris consectetur tortor et purus.</p> - </div> - <div id="tabs-3"> - <p>Mauris eleifend est et turpis. Duis id erat. Suspendisse potenti. Aliquam vulputate, pede vel vehicula accumsan, mi neque rutrum erat, eu congue orci lorem eget lorem. Vestibulum non ante. Class aptent taciti sociosqu ad litora torquent per conubia nostra, per inceptos himenaeos. Fusce sodales. Quisque eu urna vel enim commodo pellentesque. Praesent eu risus hendrerit ligula tempus pretium. Curabitur lorem enim, pretium nec, feugiat nec, luctus a, lacus.</p> - <p>Duis cursus. Maecenas ligula eros, blandit nec, pharetra at, semper at, magna. Nullam ac lacus. Nulla facilisi. Praesent viverra justo vitae neque. Praesent blandit adipiscing velit. Suspendisse potenti. Donec mattis, pede vel pharetra blandit, magna ligula faucibus eros, id euismod lacus dolor eget odio. Nam scelerisque. Donec non libero sed nulla mattis commodo. Ut sagittis. Donec nisi lectus, feugiat porttitor, tempor ac, tempor vitae, pede. Aenean vehicula velit eu tellus interdum rutrum. Maecenas commodo. Pellentesque nec elit. Fusce in lacus. Vivamus a libero vitae lectus hendrerit hendrerit.</p> - </div> -</div> - -</div><!-- End demo --> - - - -<div class="demo-description"> -<p>Looks the same as the default demo, but uses cookie to store the selected tab, and restore it when the page (re)loads. -The cookie is stored for a day, so tabs will be restored even after closing the browser. Use cookie: {} for using cookies with default options.</p> -<p>The cookie option requires the cookie plugin, which can be found in the development-bundle > external folder from the download builder.</p> -</div><!-- End demo-description --> - -</body> -</html> diff --git a/include/jquery_ui/development-bundle/demos/tabs/default.html b/include/jquery_ui/development-bundle/demos/tabs/default.html deleted file mode 100644 index 1d2f6f2a1..000000000 --- a/include/jquery_ui/development-bundle/demos/tabs/default.html +++ /dev/null @@ -1,49 +0,0 @@ -<!DOCTYPE html> -<html lang="en"> -<head> - <meta charset="utf-8"> - <title>jQuery UI Tabs - Default functionality</title> - <link rel="stylesheet" href="../../themes/base/jquery.ui.all.css"> - <script src="../../jquery-1.7.2.js"></script> - <script src="../../ui/jquery.ui.core.js"></script> - <script src="../../ui/jquery.ui.widget.js"></script> - <script src="../../ui/jquery.ui.tabs.js"></script> - <link rel="stylesheet" href="../demos.css"> - <script> - $(function() { - $( "#tabs" ).tabs(); - }); - </script> -</head> -<body> - -<div class="demo"> - -<div id="tabs"> - <ul> - <li><a href="#tabs-1">Nunc tincidunt</a></li> - <li><a href="#tabs-2">Proin dolor</a></li> - <li><a href="#tabs-3">Aenean lacinia</a></li> - </ul> - <div id="tabs-1"> - <p>Proin elit arcu, rutrum commodo, vehicula tempus, commodo a, risus. Curabitur nec arcu. Donec sollicitudin mi sit amet mauris. Nam elementum quam ullamcorper ante. Etiam aliquet massa et lorem. Mauris dapibus lacus auctor risus. Aenean tempor ullamcorper leo. Vivamus sed magna quis ligula eleifend adipiscing. Duis orci. Aliquam sodales tortor vitae ipsum. Aliquam nulla. Duis aliquam molestie erat. Ut et mauris vel pede varius sollicitudin. Sed ut dolor nec orci tincidunt interdum. Phasellus ipsum. Nunc tristique tempus lectus.</p> - </div> - <div id="tabs-2"> - <p>Morbi tincidunt, dui sit amet facilisis feugiat, odio metus gravida ante, ut pharetra massa metus id nunc. Duis scelerisque molestie turpis. Sed fringilla, massa eget luctus malesuada, metus eros molestie lectus, ut tempus eros massa ut dolor. Aenean aliquet fringilla sem. Suspendisse sed ligula in ligula suscipit aliquam. Praesent in eros vestibulum mi adipiscing adipiscing. Morbi facilisis. Curabitur ornare consequat nunc. Aenean vel metus. Ut posuere viverra nulla. Aliquam erat volutpat. Pellentesque convallis. Maecenas feugiat, tellus pellentesque pretium posuere, felis lorem euismod felis, eu ornare leo nisi vel felis. Mauris consectetur tortor et purus.</p> - </div> - <div id="tabs-3"> - <p>Mauris eleifend est et turpis. Duis id erat. Suspendisse potenti. Aliquam vulputate, pede vel vehicula accumsan, mi neque rutrum erat, eu congue orci lorem eget lorem. Vestibulum non ante. Class aptent taciti sociosqu ad litora torquent per conubia nostra, per inceptos himenaeos. Fusce sodales. Quisque eu urna vel enim commodo pellentesque. Praesent eu risus hendrerit ligula tempus pretium. Curabitur lorem enim, pretium nec, feugiat nec, luctus a, lacus.</p> - <p>Duis cursus. Maecenas ligula eros, blandit nec, pharetra at, semper at, magna. Nullam ac lacus. Nulla facilisi. Praesent viverra justo vitae neque. Praesent blandit adipiscing velit. Suspendisse potenti. Donec mattis, pede vel pharetra blandit, magna ligula faucibus eros, id euismod lacus dolor eget odio. Nam scelerisque. Donec non libero sed nulla mattis commodo. Ut sagittis. Donec nisi lectus, feugiat porttitor, tempor ac, tempor vitae, pede. Aenean vehicula velit eu tellus interdum rutrum. Maecenas commodo. Pellentesque nec elit. Fusce in lacus. Vivamus a libero vitae lectus hendrerit hendrerit.</p> - </div> -</div> - -</div><!-- End demo --> - - - -<div class="demo-description"> -<p>Click tabs to swap between content that is broken into logical sections.</p> -</div><!-- End demo-description --> - -</body> -</html> diff --git a/include/jquery_ui/development-bundle/demos/tabs/index.html b/include/jquery_ui/development-bundle/demos/tabs/index.html deleted file mode 100644 index c0d668435..000000000 --- a/include/jquery_ui/development-bundle/demos/tabs/index.html +++ /dev/null @@ -1,25 +0,0 @@ -<!DOCTYPE html> -<html lang="en"> -<head> - <meta charset="utf-8"> - <title>jQuery UI Tabs Demos</title> - <link rel="stylesheet" href="../demos.css"> -</head> -<body> - -<div class="demos-nav"> - <h4>Examples</h4> - <ul> - <li class="demo-config-on"><a href="default.html">Default functionality</a></li> - <li><a href="ajax.html">Content via Ajax</a></li> - <li><a href="mouseover.html">Open on mouseover</a></li> - <li><a href="collapsible.html">Collapse content</a></li> - <li><a href="sortable.html">Sortable</a></li> - <li><a href="manipulation.html">Simple manipulation</a></li> - <li><a href="bottom.html">Tabs below content</a></li> - <li><a href="cookie.html">Cookie persistence</a></li> - </ul> -</div> - -</body> -</html> diff --git a/include/jquery_ui/development-bundle/demos/tabs/manipulation.html b/include/jquery_ui/development-bundle/demos/tabs/manipulation.html deleted file mode 100644 index 53b28e15c..000000000 --- a/include/jquery_ui/development-bundle/demos/tabs/manipulation.html +++ /dev/null @@ -1,124 +0,0 @@ -<!DOCTYPE html> -<html lang="en"> -<head> - <meta charset="utf-8"> - <title>jQuery UI Tabs - Simple manipulation</title> - <link rel="stylesheet" href="../../themes/base/jquery.ui.all.css"> - <script src="../../jquery-1.7.2.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.button.js"></script> - <script src="../../ui/jquery.ui.tabs.js"></script> - <script src="../../ui/jquery.ui.dialog.js"></script> - <link rel="stylesheet" href="../demos.css"> - <style> - #dialog label, #dialog input { display:block; } - #dialog label { margin-top: 0.5em; } - #dialog input, #dialog textarea { width: 95%; } - #tabs { margin-top: 1em; } - #tabs li .ui-icon-close { float: left; margin: 0.4em 0.2em 0 0; cursor: pointer; } - #add_tab { cursor: pointer; } - </style> - <script> - $(function() { - var $tab_title_input = $( "#tab_title"), - $tab_content_input = $( "#tab_content" ); - var tab_counter = 2; - - // tabs init with a custom tab template and an "add" callback filling in the content - var $tabs = $( "#tabs").tabs({ - tabTemplate: "<li><a href='#{href}'>#{label}</a> <span class='ui-icon ui-icon-close'>Remove Tab</span></li>", - add: function( event, ui ) { - var tab_content = $tab_content_input.val() || "Tab " + tab_counter + " content."; - $( ui.panel ).append( "<p>" + tab_content + "</p>" ); - } - }); - - // modal dialog init: custom buttons and a "close" callback reseting the form inside - var $dialog = $( "#dialog" ).dialog({ - autoOpen: false, - modal: true, - buttons: { - Add: function() { - addTab(); - $( this ).dialog( "close" ); - }, - Cancel: function() { - $( this ).dialog( "close" ); - } - }, - open: function() { - $tab_title_input.focus(); - }, - close: function() { - $form[ 0 ].reset(); - } - }); - - // addTab form: calls addTab function on submit and closes the dialog - var $form = $( "form", $dialog ).submit(function() { - addTab(); - $dialog.dialog( "close" ); - return false; - }); - - // actual addTab function: adds new tab using the title input from the form above - function addTab() { - var tab_title = $tab_title_input.val() || "Tab " + tab_counter; - $tabs.tabs( "add", "#tabs-" + tab_counter, tab_title ); - tab_counter++; - } - - // addTab button: just opens the dialog - $( "#add_tab" ) - .button() - .click(function() { - $dialog.dialog( "open" ); - }); - - // close icon: removing the tab on click - // note: closable tabs gonna be an option in the future - see http://dev.jqueryui.com/ticket/3924 - $( "#tabs span.ui-icon-close" ).live( "click", function() { - var index = $( "li", $tabs ).index( $( this ).parent() ); - $tabs.tabs( "remove", index ); - }); - }); - </script> -</head> -<body> - -<div class="demo"> - - <div id="dialog" title="Tab data"> - <form> - <fieldset class="ui-helper-reset"> - <label for="tab_title">Title</label> - <input type="text" name="tab_title" id="tab_title" value="" class="ui-widget-content ui-corner-all" /> - <label for="tab_content">Content</label> - <textarea name="tab_content" id="tab_content" class="ui-widget-content ui-corner-all"></textarea> - </fieldset> - </form> - </div> - - <button id="add_tab">Add Tab</button> - - <div id="tabs"> - <ul> - <li><a href="#tabs-1">Nunc tincidunt</a> <span class="ui-icon ui-icon-close">Remove Tab</span></li> - </ul> - <div id="tabs-1"> - <p>Proin elit arcu, rutrum commodo, vehicula tempus, commodo a, risus. Curabitur nec arcu. Donec sollicitudin mi sit amet mauris. Nam elementum quam ullamcorper ante. Etiam aliquet massa et lorem. Mauris dapibus lacus auctor risus. Aenean tempor ullamcorper leo. Vivamus sed magna quis ligula eleifend adipiscing. Duis orci. Aliquam sodales tortor vitae ipsum. Aliquam nulla. Duis aliquam molestie erat. Ut et mauris vel pede varius sollicitudin. Sed ut dolor nec orci tincidunt interdum. Phasellus ipsum. Nunc tristique tempus lectus.</p> - </div> - </div> - -</div><!-- End demo --> - - - -<div class="demo-description"> -<p>Simple tabs adding and removing.</p> -</div><!-- End demo-description --> - -</body> -</html> diff --git a/include/jquery_ui/development-bundle/demos/tabs/mouseover.html b/include/jquery_ui/development-bundle/demos/tabs/mouseover.html deleted file mode 100644 index 0b8370e6a..000000000 --- a/include/jquery_ui/development-bundle/demos/tabs/mouseover.html +++ /dev/null @@ -1,53 +0,0 @@ -<!DOCTYPE html> -<html lang="en"> -<head> - <meta charset="utf-8"> - <title>jQuery UI Tabs - Open on mouseover</title> - <link rel="stylesheet" href="../../themes/base/jquery.ui.all.css"> - <script src="../../jquery-1.7.2.js"></script> - <script src="../../ui/jquery.ui.core.js"></script> - <script src="../../ui/jquery.ui.widget.js"></script> - <script src="../../ui/jquery.ui.tabs.js"></script> - <link rel="stylesheet" href="../demos.css"> - <script> - $(function() { - $( "#tabs" ).tabs({ - event: "mouseover" - }); - }); - </script> -</head> -<body> - -<div class="demo"> - -<div id="tabs"> - <ul> - <li><a href="#tabs-1">Nunc tincidunt</a></li> - <li><a href="#tabs-2">Proin dolor</a></li> - <li><a href="#tabs-3">Aenean lacinia</a></li> - </ul> - <div id="tabs-1"> - <p>Proin elit arcu, rutrum commodo, vehicula tempus, commodo a, risus. Curabitur nec arcu. Donec sollicitudin mi sit amet mauris. Nam elementum quam ullamcorper ante. Etiam aliquet massa et lorem. Mauris dapibus lacus auctor risus. Aenean tempor ullamcorper leo. Vivamus sed magna quis ligula eleifend adipiscing. Duis orci. Aliquam sodales tortor vitae ipsum. Aliquam nulla. Duis aliquam molestie erat. Ut et mauris vel pede varius sollicitudin. Sed ut dolor nec orci tincidunt interdum. Phasellus ipsum. Nunc tristique tempus lectus.</p> - </div> - <div id="tabs-2"> - <p>Morbi tincidunt, dui sit amet facilisis feugiat, odio metus gravida ante, ut pharetra massa metus id nunc. Duis scelerisque molestie turpis. Sed fringilla, massa eget luctus malesuada, metus eros molestie lectus, ut tempus eros massa ut dolor. Aenean aliquet fringilla sem. Suspendisse sed ligula in ligula suscipit aliquam. Praesent in eros vestibulum mi adipiscing adipiscing. Morbi facilisis. Curabitur ornare consequat nunc. Aenean vel metus. Ut posuere viverra nulla. Aliquam erat volutpat. Pellentesque convallis. Maecenas feugiat, tellus pellentesque pretium posuere, felis lorem euismod felis, eu ornare leo nisi vel felis. Mauris consectetur tortor et purus.</p> - </div> - <div id="tabs-3"> - <p>Mauris eleifend est et turpis. Duis id erat. Suspendisse potenti. Aliquam vulputate, pede vel vehicula accumsan, mi neque rutrum erat, eu congue orci lorem eget lorem. Vestibulum non ante. Class aptent taciti sociosqu ad litora torquent per conubia nostra, per inceptos himenaeos. Fusce sodales. Quisque eu urna vel enim commodo pellentesque. Praesent eu risus hendrerit ligula tempus pretium. Curabitur lorem enim, pretium nec, feugiat nec, luctus a, lacus.</p> - <p>Duis cursus. Maecenas ligula eros, blandit nec, pharetra at, semper at, magna. Nullam ac lacus. Nulla facilisi. Praesent viverra justo vitae neque. Praesent blandit adipiscing velit. Suspendisse potenti. Donec mattis, pede vel pharetra blandit, magna ligula faucibus eros, id euismod lacus dolor eget odio. Nam scelerisque. Donec non libero sed nulla mattis commodo. Ut sagittis. Donec nisi lectus, feugiat porttitor, tempor ac, tempor vitae, pede. Aenean vehicula velit eu tellus interdum rutrum. Maecenas commodo. Pellentesque nec elit. Fusce in lacus. Vivamus a libero vitae lectus hendrerit hendrerit.</p> - </div> -</div> - -</div><!-- End demo --> - - - -<div class="demo-description"> -<p>Toggle sections open/closed on mouseover with the <code>event</code> option. The default value for event is "click."</p> -<pre><code>event: 'mouseover' -</code></pre> -</div><!-- End demo-description --> - -</body> -</html> diff --git a/include/jquery_ui/development-bundle/demos/tabs/sortable.html b/include/jquery_ui/development-bundle/demos/tabs/sortable.html deleted file mode 100644 index 22f246de0..000000000 --- a/include/jquery_ui/development-bundle/demos/tabs/sortable.html +++ /dev/null @@ -1,58 +0,0 @@ -<!DOCTYPE html> -<html lang="en"> -<head> - <meta charset="utf-8"> - <title>jQuery UI Tabs - Sortable</title> - <link rel="stylesheet" href="../../themes/base/jquery.ui.all.css"> - <script src="../../jquery-1.7.2.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.sortable.js"></script> - <script src="../../ui/jquery.ui.tabs.js"></script> - <link rel="stylesheet" href="../demos.css"> - <script> - $(function() { - $( "#tabs" ).tabs().find( ".ui-tabs-nav" ).sortable({ axis: "x" }); - }); - </script> -</head> -<body> - -<div class="demo"> - -<div id="tabs"> - <ul> - <li><a href="#tabs-1">Nunc tincidunt</a></li> - <li><a href="#tabs-2">Proin dolor</a></li> - <li><a href="#tabs-3">Aenean lacinia</a></li> - </ul> - <div id="tabs-1"> - <p>Proin elit arcu, rutrum commodo, vehicula tempus, commodo a, risus. Curabitur nec arcu. Donec sollicitudin mi sit amet mauris. Nam elementum quam ullamcorper ante. Etiam aliquet massa et lorem. Mauris dapibus lacus auctor risus. Aenean tempor ullamcorper leo. Vivamus sed magna quis ligula eleifend adipiscing. Duis orci. Aliquam sodales tortor vitae ipsum. Aliquam nulla. Duis aliquam molestie erat. Ut et mauris vel pede varius sollicitudin. Sed ut dolor nec orci tincidunt interdum. Phasellus ipsum. Nunc tristique tempus lectus.</p> - </div> - <div id="tabs-2"> - <p>Morbi tincidunt, dui sit amet facilisis feugiat, odio metus gravida ante, ut pharetra massa metus id nunc. Duis scelerisque molestie turpis. Sed fringilla, massa eget luctus malesuada, metus eros molestie lectus, ut tempus eros massa ut dolor. Aenean aliquet fringilla sem. Suspendisse sed ligula in ligula suscipit aliquam. Praesent in eros vestibulum mi adipiscing adipiscing. Morbi facilisis. Curabitur ornare consequat nunc. Aenean vel metus. Ut posuere viverra nulla. Aliquam erat volutpat. Pellentesque convallis. Maecenas feugiat, tellus pellentesque pretium posuere, felis lorem euismod felis, eu ornare leo nisi vel felis. Mauris consectetur tortor et purus.</p> - </div> - <div id="tabs-3"> - <p>Mauris eleifend est et turpis. Duis id erat. Suspendisse potenti. Aliquam vulputate, pede vel vehicula accumsan, mi neque rutrum erat, eu congue orci lorem eget lorem. Vestibulum non ante. Class aptent taciti sociosqu ad litora torquent per conubia nostra, per inceptos himenaeos. Fusce sodales. Quisque eu urna vel enim commodo pellentesque. Praesent eu risus hendrerit ligula tempus pretium. Curabitur lorem enim, pretium nec, feugiat nec, luctus a, lacus.</p> - <p>Duis cursus. Maecenas ligula eros, blandit nec, pharetra at, semper at, magna. Nullam ac lacus. Nulla facilisi. Praesent viverra justo vitae neque. Praesent blandit adipiscing velit. Suspendisse potenti. Donec mattis, pede vel pharetra blandit, magna ligula faucibus eros, id euismod lacus dolor eget odio. Nam scelerisque. Donec non libero sed nulla mattis commodo. Ut sagittis. Donec nisi lectus, feugiat porttitor, tempor ac, tempor vitae, pede. Aenean vehicula velit eu tellus interdum rutrum. Maecenas commodo. Pellentesque nec elit. Fusce in lacus. Vivamus a libero vitae lectus hendrerit hendrerit.</p> - </div> -</div> - -</div><!-- End demo --> - - - -<div class="demo-description"> -<p>Drag the tabs above to re-order them.</p> -<p> -Making tabs sortable is as simple as calling -<code>.sortable()</code> -on the -<code>.ui-tabs-nav</code> -element. -</p> -</div><!-- End demo-description --> - -</body> -</html> diff --git a/include/jquery_ui/development-bundle/demos/tabs/vertical.html b/include/jquery_ui/development-bundle/demos/tabs/vertical.html deleted file mode 100644 index 6e769d774..000000000 --- a/include/jquery_ui/development-bundle/demos/tabs/vertical.html +++ /dev/null @@ -1,61 +0,0 @@ -<!DOCTYPE html> -<html lang="en"> -<head> - <meta charset="utf-8"> - <title>jQuery UI Tabs - Vertical Tabs functionality</title> - <link rel="stylesheet" href="../../themes/base/jquery.ui.all.css"> - <script src="../../jquery-1.7.2.js"></script> - <script src="../../ui/jquery.ui.core.js"></script> - <script src="../../ui/jquery.ui.widget.js"></script> - <script src="../../ui/jquery.ui.tabs.js"></script> - <link rel="stylesheet" href="../demos.css"> - <script> - $(function() { - $( "#tabs" ).tabs().addClass( "ui-tabs-vertical ui-helper-clearfix" ); - $( "#tabs li" ).removeClass( "ui-corner-top" ).addClass( "ui-corner-left" ); - }); - </script> - <style> - .ui-tabs-vertical { width: 55em; } - .ui-tabs-vertical .ui-tabs-nav { padding: .2em .1em .2em .2em; float: left; width: 12em; } - .ui-tabs-vertical .ui-tabs-nav li { clear: left; width: 100%; border-bottom-width: 1px !important; border-right-width: 0 !important; margin: 0 -1px .2em 0; } - .ui-tabs-vertical .ui-tabs-nav li a { display:block; } - .ui-tabs-vertical .ui-tabs-nav li.ui-tabs-selected { padding-bottom: 0; padding-right: .1em; border-right-width: 1px; border-right-width: 1px; } - .ui-tabs-vertical .ui-tabs-panel { padding: 1em; float: right; width: 40em;} - </style> -</head> -<body> - -<div class="demo"> - -<div id="tabs"> - <ul> - <li><a href="#tabs-1">Nunc tincidunt</a></li> - <li><a href="#tabs-2">Proin dolor</a></li> - <li><a href="#tabs-3">Aenean lacinia</a></li> - </ul> - <div id="tabs-1"> - <h2>Content heading 1</h2> - <p>Proin elit arcu, rutrum commodo, vehicula tempus, commodo a, risus. Curabitur nec arcu. Donec sollicitudin mi sit amet mauris. Nam elementum quam ullamcorper ante. Etiam aliquet massa et lorem. Mauris dapibus lacus auctor risus. Aenean tempor ullamcorper leo. Vivamus sed magna quis ligula eleifend adipiscing. Duis orci. Aliquam sodales tortor vitae ipsum. Aliquam nulla. Duis aliquam molestie erat. Ut et mauris vel pede varius sollicitudin. Sed ut dolor nec orci tincidunt interdum. Phasellus ipsum. Nunc tristique tempus lectus.</p> - </div> - <div id="tabs-2"> - <h2>Content heading 2</h2> - <p>Morbi tincidunt, dui sit amet facilisis feugiat, odio metus gravida ante, ut pharetra massa metus id nunc. Duis scelerisque molestie turpis. Sed fringilla, massa eget luctus malesuada, metus eros molestie lectus, ut tempus eros massa ut dolor. Aenean aliquet fringilla sem. Suspendisse sed ligula in ligula suscipit aliquam. Praesent in eros vestibulum mi adipiscing adipiscing. Morbi facilisis. Curabitur ornare consequat nunc. Aenean vel metus. Ut posuere viverra nulla. Aliquam erat volutpat. Pellentesque convallis. Maecenas feugiat, tellus pellentesque pretium posuere, felis lorem euismod felis, eu ornare leo nisi vel felis. Mauris consectetur tortor et purus.</p> - </div> - <div id="tabs-3"> - <h2>Content heading 3</h2> - <p>Mauris eleifend est et turpis. Duis id erat. Suspendisse potenti. Aliquam vulputate, pede vel vehicula accumsan, mi neque rutrum erat, eu congue orci lorem eget lorem. Vestibulum non ante. Class aptent taciti sociosqu ad litora torquent per conubia nostra, per inceptos himenaeos. Fusce sodales. Quisque eu urna vel enim commodo pellentesque. Praesent eu risus hendrerit ligula tempus pretium. Curabitur lorem enim, pretium nec, feugiat nec, luctus a, lacus.</p> - <p>Duis cursus. Maecenas ligula eros, blandit nec, pharetra at, semper at, magna. Nullam ac lacus. Nulla facilisi. Praesent viverra justo vitae neque. Praesent blandit adipiscing velit. Suspendisse potenti. Donec mattis, pede vel pharetra blandit, magna ligula faucibus eros, id euismod lacus dolor eget odio. Nam scelerisque. Donec non libero sed nulla mattis commodo. Ut sagittis. Donec nisi lectus, feugiat porttitor, tempor ac, tempor vitae, pede. Aenean vehicula velit eu tellus interdum rutrum. Maecenas commodo. Pellentesque nec elit. Fusce in lacus. Vivamus a libero vitae lectus hendrerit hendrerit.</p> - </div> -</div> - -</div><!-- End demo --> - - - -<div class="demo-description"> -<p>Click tabs to swap between content that is broken into logical sections.</p> -</div><!-- End demo-description --> - -</body> -</html> diff --git a/include/jquery_ui/development-bundle/demos/toggle/default.html b/include/jquery_ui/development-bundle/demos/toggle/default.html deleted file mode 100644 index 469674b70..000000000 --- a/include/jquery_ui/development-bundle/demos/toggle/default.html +++ /dev/null @@ -1,94 +0,0 @@ -<!DOCTYPE html> -<html lang="en"> -<head> - <meta charset="utf-8"> - <title>jQuery UI Effects - Toggle Demo</title> - <link rel="stylesheet" href="../../themes/base/jquery.ui.all.css"> - <script src="../../jquery-1.7.2.js"></script> - <script src="../../ui/jquery.effects.core.js"></script> - <script src="../../ui/jquery.effects.blind.js"></script> - <script src="../../ui/jquery.effects.bounce.js"></script> - <script src="../../ui/jquery.effects.clip.js"></script> - <script src="../../ui/jquery.effects.drop.js"></script> - <script src="../../ui/jquery.effects.explode.js"></script> - <script src="../../ui/jquery.effects.fold.js"></script> - <script src="../../ui/jquery.effects.highlight.js"></script> - <script src="../../ui/jquery.effects.pulsate.js"></script> - <script src="../../ui/jquery.effects.scale.js"></script> - <script src="../../ui/jquery.effects.shake.js"></script> - <script src="../../ui/jquery.effects.slide.js"></script> - <link rel="stylesheet" href="../demos.css"> - <style> - .toggler { width: 500px; height: 200px; } - #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; } - </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 === "size" ) { - options = { to: { width: 200, height: 60 } }; - } - - // run the effect - $( "#effect" ).toggle( selectedEffect, options, 500 ); - }; - - // set effect from select menu value - $( "#button" ).click(function() { - runEffect(); - return false; - }); - }); - </script> -</head> -<body> - -<div class="demo"> - -<div class="toggler"> - <div id="effect" class="ui-widget-content ui-corner-all"> - <h3 class="ui-widget-header ui-corner-all">Toggle</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="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> -</select> - -<a href="#" id="button" class="ui-state-default ui-corner-all">Run Effect</a> -</div><!-- End demo --> - - - -<div class="demo-description"> -<p>Click the button above to preview the effect.</p> -</div><!-- End demo-description --> - -</body> -</html> diff --git a/include/jquery_ui/development-bundle/demos/toggle/index.html b/include/jquery_ui/development-bundle/demos/toggle/index.html deleted file mode 100644 index f5bd6a0e4..000000000 --- a/include/jquery_ui/development-bundle/demos/toggle/index.html +++ /dev/null @@ -1,18 +0,0 @@ -<!DOCTYPE html> -<html lang="en"> -<head> - <meta charset="utf-8"> - <title>jQuery UI Effects Demos</title> - <link rel="stylesheet" href="../demos.css"> -</head> -<body> - -<div class="demos-nav"> - <h4>Examples</h4> - <ul> - <li class="demo-config-on"><a href="default.html">Default functionality</a></li> - </ul> -</div> - -</body> -</html> diff --git a/include/jquery_ui/development-bundle/demos/toggleClass/default.html b/include/jquery_ui/development-bundle/demos/toggleClass/default.html deleted file mode 100644 index a7c100fcc..000000000 --- a/include/jquery_ui/development-bundle/demos/toggleClass/default.html +++ /dev/null @@ -1,46 +0,0 @@ -<!DOCTYPE html> -<html lang="en"> -<head> - <meta charset="utf-8"> - <title>jQuery UI Effects - toggleClass Demo</title> - <link rel="stylesheet" href="../../themes/base/jquery.ui.all.css"> - <script src="../../jquery-1.7.2.js"></script> - <script src="../../ui/jquery.effects.core.js"></script> - <link rel="stylesheet" href="../demos.css"> - <style> - .toggler { width: 500px; height: 200px; position: relative; } - #button { padding: .5em 1em; text-decoration: none; } - #effect {position: relative; width: 240px; padding: 1em; letter-spacing: 0; font-size: 1.2em; border: 1px solid #000; background: #eee; color: #333; } - .newClass { text-indent: 40px; letter-spacing: .4em; width: 410px; height: 100px; padding: 30px; margin: 10px; font-size: 1.6em; } - </style> - <script> - $(function() { - $( "#button" ).click(function() { - $( "#effect" ).toggleClass( "newClass", 1000 ); - return false; - }); - }); - </script> -</head> -<body> - -<div class="demo"> - -<div class="toggler"> - <div id="effect" class="newClass ui-corner-all"> - Etiam libero neque, luctus a, eleifend nec, semper at, lorem. Sed pede. - </div> -</div> - -<a href="#" id="button" class="ui-state-default ui-corner-all">Run Effect</a> - -</div><!-- End demo --> - - - -<div class="demo-description"> -<p>Click the button above to preview the effect.</p> -</div><!-- End demo-description --> - -</body> -</html> diff --git a/include/jquery_ui/development-bundle/demos/toggleClass/index.html b/include/jquery_ui/development-bundle/demos/toggleClass/index.html deleted file mode 100644 index f5bd6a0e4..000000000 --- a/include/jquery_ui/development-bundle/demos/toggleClass/index.html +++ /dev/null @@ -1,18 +0,0 @@ -<!DOCTYPE html> -<html lang="en"> -<head> - <meta charset="utf-8"> - <title>jQuery UI Effects Demos</title> - <link rel="stylesheet" href="../demos.css"> -</head> -<body> - -<div class="demos-nav"> - <h4>Examples</h4> - <ul> - <li class="demo-config-on"><a href="default.html">Default functionality</a></li> - </ul> -</div> - -</body> -</html> |