You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ofbiz.apache.org by jl...@apache.org on 2010/11/11 17:05:09 UTC
svn commit: r1033976 [6/34] - in
/ofbiz/branches/jquery/framework/images/webapp/images/jquery/ui: ./
css/ui-lightness/ css/ui-lightness/images/ development-bundle/
development-bundle/demos/ development-bundle/demos/accordion/
development-bundle/demos/a...
Propchange: ofbiz/branches/jquery/framework/images/webapp/images/jquery/ui/development-bundle/demos/droppable/accepted-elements.html
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: ofbiz/branches/jquery/framework/images/webapp/images/jquery/ui/development-bundle/demos/droppable/accepted-elements.html
------------------------------------------------------------------------------
svn:keywords = Date Rev Author URL Id
Propchange: ofbiz/branches/jquery/framework/images/webapp/images/jquery/ui/development-bundle/demos/droppable/accepted-elements.html
------------------------------------------------------------------------------
svn:mime-type = text/html
Added: ofbiz/branches/jquery/framework/images/webapp/images/jquery/ui/development-bundle/demos/droppable/default.html
URL: http://svn.apache.org/viewvc/ofbiz/branches/jquery/framework/images/webapp/images/jquery/ui/development-bundle/demos/droppable/default.html?rev=1033976&view=auto
==============================================================================
--- ofbiz/branches/jquery/framework/images/webapp/images/jquery/ui/development-bundle/demos/droppable/default.html (added)
+++ ofbiz/branches/jquery/framework/images/webapp/images/jquery/ui/development-bundle/demos/droppable/default.html Thu Nov 11 16:04:58 2010
@@ -0,0 +1,53 @@
+<!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.4.3.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>
Propchange: ofbiz/branches/jquery/framework/images/webapp/images/jquery/ui/development-bundle/demos/droppable/default.html
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: ofbiz/branches/jquery/framework/images/webapp/images/jquery/ui/development-bundle/demos/droppable/default.html
------------------------------------------------------------------------------
svn:keywords = Date Rev Author URL Id
Propchange: ofbiz/branches/jquery/framework/images/webapp/images/jquery/ui/development-bundle/demos/droppable/default.html
------------------------------------------------------------------------------
svn:mime-type = text/html
Added: ofbiz/branches/jquery/framework/images/webapp/images/jquery/ui/development-bundle/demos/droppable/images/high_tatras.jpg
URL: http://svn.apache.org/viewvc/ofbiz/branches/jquery/framework/images/webapp/images/jquery/ui/development-bundle/demos/droppable/images/high_tatras.jpg?rev=1033976&view=auto
==============================================================================
Binary file - no diff available.
Propchange: ofbiz/branches/jquery/framework/images/webapp/images/jquery/ui/development-bundle/demos/droppable/images/high_tatras.jpg
------------------------------------------------------------------------------
svn:mime-type = image/jpeg
Added: ofbiz/branches/jquery/framework/images/webapp/images/jquery/ui/development-bundle/demos/droppable/images/high_tatras2.jpg
URL: http://svn.apache.org/viewvc/ofbiz/branches/jquery/framework/images/webapp/images/jquery/ui/development-bundle/demos/droppable/images/high_tatras2.jpg?rev=1033976&view=auto
==============================================================================
Binary file - no diff available.
Propchange: ofbiz/branches/jquery/framework/images/webapp/images/jquery/ui/development-bundle/demos/droppable/images/high_tatras2.jpg
------------------------------------------------------------------------------
svn:mime-type = image/jpeg
Added: ofbiz/branches/jquery/framework/images/webapp/images/jquery/ui/development-bundle/demos/droppable/images/high_tatras2_min.jpg
URL: http://svn.apache.org/viewvc/ofbiz/branches/jquery/framework/images/webapp/images/jquery/ui/development-bundle/demos/droppable/images/high_tatras2_min.jpg?rev=1033976&view=auto
==============================================================================
Binary file - no diff available.
Propchange: ofbiz/branches/jquery/framework/images/webapp/images/jquery/ui/development-bundle/demos/droppable/images/high_tatras2_min.jpg
------------------------------------------------------------------------------
svn:mime-type = image/jpeg
Added: ofbiz/branches/jquery/framework/images/webapp/images/jquery/ui/development-bundle/demos/droppable/images/high_tatras3.jpg
URL: http://svn.apache.org/viewvc/ofbiz/branches/jquery/framework/images/webapp/images/jquery/ui/development-bundle/demos/droppable/images/high_tatras3.jpg?rev=1033976&view=auto
==============================================================================
Binary file - no diff available.
Propchange: ofbiz/branches/jquery/framework/images/webapp/images/jquery/ui/development-bundle/demos/droppable/images/high_tatras3.jpg
------------------------------------------------------------------------------
svn:mime-type = image/jpeg
Added: ofbiz/branches/jquery/framework/images/webapp/images/jquery/ui/development-bundle/demos/droppable/images/high_tatras3_min.jpg
URL: http://svn.apache.org/viewvc/ofbiz/branches/jquery/framework/images/webapp/images/jquery/ui/development-bundle/demos/droppable/images/high_tatras3_min.jpg?rev=1033976&view=auto
==============================================================================
Binary file - no diff available.
Propchange: ofbiz/branches/jquery/framework/images/webapp/images/jquery/ui/development-bundle/demos/droppable/images/high_tatras3_min.jpg
------------------------------------------------------------------------------
svn:mime-type = image/jpeg
Added: ofbiz/branches/jquery/framework/images/webapp/images/jquery/ui/development-bundle/demos/droppable/images/high_tatras4.jpg
URL: http://svn.apache.org/viewvc/ofbiz/branches/jquery/framework/images/webapp/images/jquery/ui/development-bundle/demos/droppable/images/high_tatras4.jpg?rev=1033976&view=auto
==============================================================================
Binary file - no diff available.
Propchange: ofbiz/branches/jquery/framework/images/webapp/images/jquery/ui/development-bundle/demos/droppable/images/high_tatras4.jpg
------------------------------------------------------------------------------
svn:mime-type = image/jpeg
Added: ofbiz/branches/jquery/framework/images/webapp/images/jquery/ui/development-bundle/demos/droppable/images/high_tatras4_min.jpg
URL: http://svn.apache.org/viewvc/ofbiz/branches/jquery/framework/images/webapp/images/jquery/ui/development-bundle/demos/droppable/images/high_tatras4_min.jpg?rev=1033976&view=auto
==============================================================================
Binary file - no diff available.
Propchange: ofbiz/branches/jquery/framework/images/webapp/images/jquery/ui/development-bundle/demos/droppable/images/high_tatras4_min.jpg
------------------------------------------------------------------------------
svn:mime-type = image/jpeg
Added: ofbiz/branches/jquery/framework/images/webapp/images/jquery/ui/development-bundle/demos/droppable/images/high_tatras_min.jpg
URL: http://svn.apache.org/viewvc/ofbiz/branches/jquery/framework/images/webapp/images/jquery/ui/development-bundle/demos/droppable/images/high_tatras_min.jpg?rev=1033976&view=auto
==============================================================================
Binary file - no diff available.
Propchange: ofbiz/branches/jquery/framework/images/webapp/images/jquery/ui/development-bundle/demos/droppable/images/high_tatras_min.jpg
------------------------------------------------------------------------------
svn:mime-type = image/jpeg
Added: ofbiz/branches/jquery/framework/images/webapp/images/jquery/ui/development-bundle/demos/droppable/index.html
URL: http://svn.apache.org/viewvc/ofbiz/branches/jquery/framework/images/webapp/images/jquery/ui/development-bundle/demos/droppable/index.html?rev=1033976&view=auto
==============================================================================
--- ofbiz/branches/jquery/framework/images/webapp/images/jquery/ui/development-bundle/demos/droppable/index.html (added)
+++ ofbiz/branches/jquery/framework/images/webapp/images/jquery/ui/development-bundle/demos/droppable/index.html Thu Nov 11 16:04:58 2010
@@ -0,0 +1,24 @@
+<!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>
Propchange: ofbiz/branches/jquery/framework/images/webapp/images/jquery/ui/development-bundle/demos/droppable/index.html
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: ofbiz/branches/jquery/framework/images/webapp/images/jquery/ui/development-bundle/demos/droppable/index.html
------------------------------------------------------------------------------
svn:keywords = Date Rev Author URL Id
Propchange: ofbiz/branches/jquery/framework/images/webapp/images/jquery/ui/development-bundle/demos/droppable/index.html
------------------------------------------------------------------------------
svn:mime-type = text/html
Added: ofbiz/branches/jquery/framework/images/webapp/images/jquery/ui/development-bundle/demos/droppable/photo-manager.html
URL: http://svn.apache.org/viewvc/ofbiz/branches/jquery/framework/images/webapp/images/jquery/ui/development-bundle/demos/droppable/photo-manager.html?rev=1033976&view=auto
==============================================================================
--- ofbiz/branches/jquery/framework/images/webapp/images/jquery/ui/development-bundle/demos/droppable/photo-manager.html (added)
+++ ofbiz/branches/jquery/framework/images/webapp/images/jquery/ui/development-bundle/demos/droppable/photo-manager.html Thu Nov 11 16:04:58 2010
@@ -0,0 +1,184 @@
+<!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.4.3.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>
Propchange: ofbiz/branches/jquery/framework/images/webapp/images/jquery/ui/development-bundle/demos/droppable/photo-manager.html
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: ofbiz/branches/jquery/framework/images/webapp/images/jquery/ui/development-bundle/demos/droppable/photo-manager.html
------------------------------------------------------------------------------
svn:keywords = Date Rev Author URL Id
Propchange: ofbiz/branches/jquery/framework/images/webapp/images/jquery/ui/development-bundle/demos/droppable/photo-manager.html
------------------------------------------------------------------------------
svn:mime-type = text/html
Added: ofbiz/branches/jquery/framework/images/webapp/images/jquery/ui/development-bundle/demos/droppable/propagation.html
URL: http://svn.apache.org/viewvc/ofbiz/branches/jquery/framework/images/webapp/images/jquery/ui/development-bundle/demos/droppable/propagation.html?rev=1033976&view=auto
==============================================================================
--- ofbiz/branches/jquery/framework/images/webapp/images/jquery/ui/development-bundle/demos/droppable/propagation.html (added)
+++ ofbiz/branches/jquery/framework/images/webapp/images/jquery/ui/development-bundle/demos/droppable/propagation.html Thu Nov 11 16:04:58 2010
@@ -0,0 +1,80 @@
+<!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.4.3.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>
Propchange: ofbiz/branches/jquery/framework/images/webapp/images/jquery/ui/development-bundle/demos/droppable/propagation.html
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: ofbiz/branches/jquery/framework/images/webapp/images/jquery/ui/development-bundle/demos/droppable/propagation.html
------------------------------------------------------------------------------
svn:keywords = Date Rev Author URL Id
Propchange: ofbiz/branches/jquery/framework/images/webapp/images/jquery/ui/development-bundle/demos/droppable/propagation.html
------------------------------------------------------------------------------
svn:mime-type = text/html
Added: ofbiz/branches/jquery/framework/images/webapp/images/jquery/ui/development-bundle/demos/droppable/revert.html
URL: http://svn.apache.org/viewvc/ofbiz/branches/jquery/framework/images/webapp/images/jquery/ui/development-bundle/demos/droppable/revert.html?rev=1033976&view=auto
==============================================================================
--- ofbiz/branches/jquery/framework/images/webapp/images/jquery/ui/development-bundle/demos/droppable/revert.html (added)
+++ ofbiz/branches/jquery/framework/images/webapp/images/jquery/ui/development-bundle/demos/droppable/revert.html Thu Nov 11 16:04:58 2010
@@ -0,0 +1,61 @@
+<!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.4.3.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>
Propchange: ofbiz/branches/jquery/framework/images/webapp/images/jquery/ui/development-bundle/demos/droppable/revert.html
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: ofbiz/branches/jquery/framework/images/webapp/images/jquery/ui/development-bundle/demos/droppable/revert.html
------------------------------------------------------------------------------
svn:keywords = Date Rev Author URL Id
Propchange: ofbiz/branches/jquery/framework/images/webapp/images/jquery/ui/development-bundle/demos/droppable/revert.html
------------------------------------------------------------------------------
svn:mime-type = text/html
Added: ofbiz/branches/jquery/framework/images/webapp/images/jquery/ui/development-bundle/demos/droppable/shopping-cart.html
URL: http://svn.apache.org/viewvc/ofbiz/branches/jquery/framework/images/webapp/images/jquery/ui/development-bundle/demos/droppable/shopping-cart.html?rev=1033976&view=auto
==============================================================================
--- ofbiz/branches/jquery/framework/images/webapp/images/jquery/ui/development-bundle/demos/droppable/shopping-cart.html (added)
+++ ofbiz/branches/jquery/framework/images/webapp/images/jquery/ui/development-bundle/demos/droppable/shopping-cart.html Thu Nov 11 16:04:58 2010
@@ -0,0 +1,101 @@
+<!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.4.3.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>
Propchange: ofbiz/branches/jquery/framework/images/webapp/images/jquery/ui/development-bundle/demos/droppable/shopping-cart.html
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: ofbiz/branches/jquery/framework/images/webapp/images/jquery/ui/development-bundle/demos/droppable/shopping-cart.html
------------------------------------------------------------------------------
svn:keywords = Date Rev Author URL Id
Propchange: ofbiz/branches/jquery/framework/images/webapp/images/jquery/ui/development-bundle/demos/droppable/shopping-cart.html
------------------------------------------------------------------------------
svn:mime-type = text/html
Added: ofbiz/branches/jquery/framework/images/webapp/images/jquery/ui/development-bundle/demos/droppable/visual-feedback.html
URL: http://svn.apache.org/viewvc/ofbiz/branches/jquery/framework/images/webapp/images/jquery/ui/development-bundle/demos/droppable/visual-feedback.html?rev=1033976&view=auto
==============================================================================
--- ofbiz/branches/jquery/framework/images/webapp/images/jquery/ui/development-bundle/demos/droppable/visual-feedback.html (added)
+++ ofbiz/branches/jquery/framework/images/webapp/images/jquery/ui/development-bundle/demos/droppable/visual-feedback.html Thu Nov 11 16:04:58 2010
@@ -0,0 +1,78 @@
+<!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.4.3.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>
Propchange: ofbiz/branches/jquery/framework/images/webapp/images/jquery/ui/development-bundle/demos/droppable/visual-feedback.html
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: ofbiz/branches/jquery/framework/images/webapp/images/jquery/ui/development-bundle/demos/droppable/visual-feedback.html
------------------------------------------------------------------------------
svn:keywords = Date Rev Author URL Id
Propchange: ofbiz/branches/jquery/framework/images/webapp/images/jquery/ui/development-bundle/demos/droppable/visual-feedback.html
------------------------------------------------------------------------------
svn:mime-type = text/html
Added: ofbiz/branches/jquery/framework/images/webapp/images/jquery/ui/development-bundle/demos/effect/default.html
URL: http://svn.apache.org/viewvc/ofbiz/branches/jquery/framework/images/webapp/images/jquery/ui/development-bundle/demos/effect/default.html?rev=1033976&view=auto
==============================================================================
--- ofbiz/branches/jquery/framework/images/webapp/images/jquery/ui/development-bundle/demos/effect/default.html (added)
+++ ofbiz/branches/jquery/framework/images/webapp/images/jquery/ui/development-bundle/demos/effect/default.html Thu Nov 11 16:04:58 2010
@@ -0,0 +1,109 @@
+<!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.4.3.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>
Propchange: ofbiz/branches/jquery/framework/images/webapp/images/jquery/ui/development-bundle/demos/effect/default.html
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: ofbiz/branches/jquery/framework/images/webapp/images/jquery/ui/development-bundle/demos/effect/default.html
------------------------------------------------------------------------------
svn:keywords = Date Rev Author URL Id
Propchange: ofbiz/branches/jquery/framework/images/webapp/images/jquery/ui/development-bundle/demos/effect/default.html
------------------------------------------------------------------------------
svn:mime-type = text/html
Added: ofbiz/branches/jquery/framework/images/webapp/images/jquery/ui/development-bundle/demos/effect/easing.html
URL: http://svn.apache.org/viewvc/ofbiz/branches/jquery/framework/images/webapp/images/jquery/ui/development-bundle/demos/effect/easing.html?rev=1033976&view=auto
==============================================================================
--- ofbiz/branches/jquery/framework/images/webapp/images/jquery/ui/development-bundle/demos/effect/easing.html (added)
+++ ofbiz/branches/jquery/framework/images/webapp/images/jquery/ui/development-bundle/demos/effect/easing.html Thu Nov 11 16:04:58 2010
@@ -0,0 +1,107 @@
+<!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.4.3.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 ),
+ canvas = $( "<canvas/>" ).appendTo( graph )[ 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() {
+ $( canvas )
+ .animate( { height: "hide" }, 2000, name )
+ .animate( { left: 0 }, 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>
Propchange: ofbiz/branches/jquery/framework/images/webapp/images/jquery/ui/development-bundle/demos/effect/easing.html
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: ofbiz/branches/jquery/framework/images/webapp/images/jquery/ui/development-bundle/demos/effect/easing.html
------------------------------------------------------------------------------
svn:keywords = Date Rev Author URL Id
Propchange: ofbiz/branches/jquery/framework/images/webapp/images/jquery/ui/development-bundle/demos/effect/easing.html
------------------------------------------------------------------------------
svn:mime-type = text/html
Added: ofbiz/branches/jquery/framework/images/webapp/images/jquery/ui/development-bundle/demos/effect/index.html
URL: http://svn.apache.org/viewvc/ofbiz/branches/jquery/framework/images/webapp/images/jquery/ui/development-bundle/demos/effect/index.html?rev=1033976&view=auto
==============================================================================
--- ofbiz/branches/jquery/framework/images/webapp/images/jquery/ui/development-bundle/demos/effect/index.html (added)
+++ ofbiz/branches/jquery/framework/images/webapp/images/jquery/ui/development-bundle/demos/effect/index.html Thu Nov 11 16:04:58 2010
@@ -0,0 +1,19 @@
+<!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>
Propchange: ofbiz/branches/jquery/framework/images/webapp/images/jquery/ui/development-bundle/demos/effect/index.html
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: ofbiz/branches/jquery/framework/images/webapp/images/jquery/ui/development-bundle/demos/effect/index.html
------------------------------------------------------------------------------
svn:keywords = Date Rev Author URL Id
Propchange: ofbiz/branches/jquery/framework/images/webapp/images/jquery/ui/development-bundle/demos/effect/index.html
------------------------------------------------------------------------------
svn:mime-type = text/html
Added: ofbiz/branches/jquery/framework/images/webapp/images/jquery/ui/development-bundle/demos/hide/default.html
URL: http://svn.apache.org/viewvc/ofbiz/branches/jquery/framework/images/webapp/images/jquery/ui/development-bundle/demos/hide/default.html?rev=1033976&view=auto
==============================================================================
--- ofbiz/branches/jquery/framework/images/webapp/images/jquery/ui/development-bundle/demos/hide/default.html (added)
+++ ofbiz/branches/jquery/framework/images/webapp/images/jquery/ui/development-bundle/demos/hide/default.html Thu Nov 11 16:04:58 2010
@@ -0,0 +1,102 @@
+<!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.4.3.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>
Propchange: ofbiz/branches/jquery/framework/images/webapp/images/jquery/ui/development-bundle/demos/hide/default.html
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: ofbiz/branches/jquery/framework/images/webapp/images/jquery/ui/development-bundle/demos/hide/default.html
------------------------------------------------------------------------------
svn:keywords = Date Rev Author URL Id
Propchange: ofbiz/branches/jquery/framework/images/webapp/images/jquery/ui/development-bundle/demos/hide/default.html
------------------------------------------------------------------------------
svn:mime-type = text/html
Added: ofbiz/branches/jquery/framework/images/webapp/images/jquery/ui/development-bundle/demos/hide/index.html
URL: http://svn.apache.org/viewvc/ofbiz/branches/jquery/framework/images/webapp/images/jquery/ui/development-bundle/demos/hide/index.html?rev=1033976&view=auto
==============================================================================
--- ofbiz/branches/jquery/framework/images/webapp/images/jquery/ui/development-bundle/demos/hide/index.html (added)
+++ ofbiz/branches/jquery/framework/images/webapp/images/jquery/ui/development-bundle/demos/hide/index.html Thu Nov 11 16:04:58 2010
@@ -0,0 +1,18 @@
+<!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>
Propchange: ofbiz/branches/jquery/framework/images/webapp/images/jquery/ui/development-bundle/demos/hide/index.html
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: ofbiz/branches/jquery/framework/images/webapp/images/jquery/ui/development-bundle/demos/hide/index.html
------------------------------------------------------------------------------
svn:keywords = Date Rev Author URL Id
Propchange: ofbiz/branches/jquery/framework/images/webapp/images/jquery/ui/development-bundle/demos/hide/index.html
------------------------------------------------------------------------------
svn:mime-type = text/html
Added: ofbiz/branches/jquery/framework/images/webapp/images/jquery/ui/development-bundle/demos/images/calendar.gif
URL: http://svn.apache.org/viewvc/ofbiz/branches/jquery/framework/images/webapp/images/jquery/ui/development-bundle/demos/images/calendar.gif?rev=1033976&view=auto
==============================================================================
Binary file - no diff available.
Propchange: ofbiz/branches/jquery/framework/images/webapp/images/jquery/ui/development-bundle/demos/images/calendar.gif
------------------------------------------------------------------------------
svn:mime-type = image/gif
Added: ofbiz/branches/jquery/framework/images/webapp/images/jquery/ui/development-bundle/demos/images/demo-config-on-tile.gif
URL: http://svn.apache.org/viewvc/ofbiz/branches/jquery/framework/images/webapp/images/jquery/ui/development-bundle/demos/images/demo-config-on-tile.gif?rev=1033976&view=auto
==============================================================================
Binary file - no diff available.
Propchange: ofbiz/branches/jquery/framework/images/webapp/images/jquery/ui/development-bundle/demos/images/demo-config-on-tile.gif
------------------------------------------------------------------------------
svn:mime-type = image/gif
Added: ofbiz/branches/jquery/framework/images/webapp/images/jquery/ui/development-bundle/demos/images/demo-config-on.gif
URL: http://svn.apache.org/viewvc/ofbiz/branches/jquery/framework/images/webapp/images/jquery/ui/development-bundle/demos/images/demo-config-on.gif?rev=1033976&view=auto
==============================================================================
Binary file - no diff available.
Propchange: ofbiz/branches/jquery/framework/images/webapp/images/jquery/ui/development-bundle/demos/images/demo-config-on.gif
------------------------------------------------------------------------------
svn:mime-type = image/gif
Added: ofbiz/branches/jquery/framework/images/webapp/images/jquery/ui/development-bundle/demos/images/demo-spindown-closed.gif
URL: http://svn.apache.org/viewvc/ofbiz/branches/jquery/framework/images/webapp/images/jquery/ui/development-bundle/demos/images/demo-spindown-closed.gif?rev=1033976&view=auto
==============================================================================
Binary file - no diff available.
Propchange: ofbiz/branches/jquery/framework/images/webapp/images/jquery/ui/development-bundle/demos/images/demo-spindown-closed.gif
------------------------------------------------------------------------------
svn:mime-type = image/gif
Added: ofbiz/branches/jquery/framework/images/webapp/images/jquery/ui/development-bundle/demos/images/demo-spindown-open.gif
URL: http://svn.apache.org/viewvc/ofbiz/branches/jquery/framework/images/webapp/images/jquery/ui/development-bundle/demos/images/demo-spindown-open.gif?rev=1033976&view=auto
==============================================================================
Binary file - no diff available.
Propchange: ofbiz/branches/jquery/framework/images/webapp/images/jquery/ui/development-bundle/demos/images/demo-spindown-open.gif
------------------------------------------------------------------------------
svn:mime-type = image/gif
Added: ofbiz/branches/jquery/framework/images/webapp/images/jquery/ui/development-bundle/demos/images/icon-docs-info.gif
URL: http://svn.apache.org/viewvc/ofbiz/branches/jquery/framework/images/webapp/images/jquery/ui/development-bundle/demos/images/icon-docs-info.gif?rev=1033976&view=auto
==============================================================================
Binary file - no diff available.
Propchange: ofbiz/branches/jquery/framework/images/webapp/images/jquery/ui/development-bundle/demos/images/icon-docs-info.gif
------------------------------------------------------------------------------
svn:mime-type = image/gif
Added: ofbiz/branches/jquery/framework/images/webapp/images/jquery/ui/development-bundle/demos/images/pbar-ani.gif
URL: http://svn.apache.org/viewvc/ofbiz/branches/jquery/framework/images/webapp/images/jquery/ui/development-bundle/demos/images/pbar-ani.gif?rev=1033976&view=auto
==============================================================================
Binary file - no diff available.
Propchange: ofbiz/branches/jquery/framework/images/webapp/images/jquery/ui/development-bundle/demos/images/pbar-ani.gif
------------------------------------------------------------------------------
svn:mime-type = image/gif
Added: ofbiz/branches/jquery/framework/images/webapp/images/jquery/ui/development-bundle/demos/index.html
URL: http://svn.apache.org/viewvc/ofbiz/branches/jquery/framework/images/webapp/images/jquery/ui/development-bundle/demos/index.html?rev=1033976&view=auto
==============================================================================
--- ofbiz/branches/jquery/framework/images/webapp/images/jquery/ui/development-bundle/demos/index.html (added)
+++ ofbiz/branches/jquery/framework/images/webapp/images/jquery/ui/development-bundle/demos/index.html Thu Nov 11 16:04:58 2010
@@ -0,0 +1,315 @@
+<!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.4.3.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-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-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-GB.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-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-ko.js"></script>
+ <script src="../ui/i18n/jquery.ui.datepicker-kz.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-ms.js"></script>
+ <script src="../ui/i18n/jquery.ui.datepicker-nl.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-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-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;
+ });
+ });
+ });
+ }
+ });
+ }
+
+ 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>
+ <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>
Propchange: ofbiz/branches/jquery/framework/images/webapp/images/jquery/ui/development-bundle/demos/index.html
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: ofbiz/branches/jquery/framework/images/webapp/images/jquery/ui/development-bundle/demos/index.html
------------------------------------------------------------------------------
svn:keywords = Date Rev Author URL Id
Propchange: ofbiz/branches/jquery/framework/images/webapp/images/jquery/ui/development-bundle/demos/index.html
------------------------------------------------------------------------------
svn:mime-type = text/html
Added: ofbiz/branches/jquery/framework/images/webapp/images/jquery/ui/development-bundle/demos/position/cycler.html
URL: http://svn.apache.org/viewvc/ofbiz/branches/jquery/framework/images/webapp/images/jquery/ui/development-bundle/demos/position/cycler.html?rev=1033976&view=auto
==============================================================================
--- ofbiz/branches/jquery/framework/images/webapp/images/jquery/ui/development-bundle/demos/position/cycler.html (added)
+++ ofbiz/branches/jquery/framework/images/webapp/images/jquery/ui/development-bundle/demos/position/cycler.html Thu Nov 11 16:04:58 2010
@@ -0,0 +1,122 @@
+<!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.4.3.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>
Propchange: ofbiz/branches/jquery/framework/images/webapp/images/jquery/ui/development-bundle/demos/position/cycler.html
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: ofbiz/branches/jquery/framework/images/webapp/images/jquery/ui/development-bundle/demos/position/cycler.html
------------------------------------------------------------------------------
svn:keywords = Date Rev Author URL Id
Propchange: ofbiz/branches/jquery/framework/images/webapp/images/jquery/ui/development-bundle/demos/position/cycler.html
------------------------------------------------------------------------------
svn:mime-type = text/html
Added: ofbiz/branches/jquery/framework/images/webapp/images/jquery/ui/development-bundle/demos/position/default.html
URL: http://svn.apache.org/viewvc/ofbiz/branches/jquery/framework/images/webapp/images/jquery/ui/development-bundle/demos/position/default.html?rev=1033976&view=auto
==============================================================================
--- ofbiz/branches/jquery/framework/images/webapp/images/jquery/ui/development-bundle/demos/position/default.html (added)
+++ ofbiz/branches/jquery/framework/images/webapp/images/jquery/ui/development-bundle/demos/position/default.html Thu Nov 11 16:04:58 2010
@@ -0,0 +1,153 @@
+<!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.4.3.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( using ) {
+ $( ".positionable" ).position({
+ of: $( "#parent" ),
+ my: $( "#my_horizontal" ).val() + " " + $( "#my_vertical" ).val(),
+ at: $( "#at_horizontal" ).val() + " " + $( "#at_vertical" ).val(),
+ offset: $( "#offset" ).val(),
+ using: using,
+ collision: $( "#collision_horizontal" ).val() + ' ' + $( "#collision_vertical" ).val()
+ });
+ }
+
+ $( ".positionable" ).css( "opacity", 0.5 );
+
+ $( ":input" ).bind( "click keyup change", function() { position(); });
+
+ $( "#parent" ).draggable({
+ drag: function() { position(); }
+ });
+
+ $( ".positionable" ).draggable({
+ drag: function( event, ui ) {
+ // reset offset before calculating it
+ $( "#offset" ).val( "0" );
+ position(function( result ) {
+ $( "#offset" ).val( "" + ( ui.offset.left - result.left ) +
+ " " + ( ui.offset.top - result.top ) );
+ 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" type="text" size="15"/>
+ </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>
Propchange: ofbiz/branches/jquery/framework/images/webapp/images/jquery/ui/development-bundle/demos/position/default.html
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: ofbiz/branches/jquery/framework/images/webapp/images/jquery/ui/development-bundle/demos/position/default.html
------------------------------------------------------------------------------
svn:keywords = Date Rev Author URL Id
Propchange: ofbiz/branches/jquery/framework/images/webapp/images/jquery/ui/development-bundle/demos/position/default.html
------------------------------------------------------------------------------
svn:mime-type = text/html
Added: ofbiz/branches/jquery/framework/images/webapp/images/jquery/ui/development-bundle/demos/position/images/earth.jpg
URL: http://svn.apache.org/viewvc/ofbiz/branches/jquery/framework/images/webapp/images/jquery/ui/development-bundle/demos/position/images/earth.jpg?rev=1033976&view=auto
==============================================================================
Binary file - no diff available.
Propchange: ofbiz/branches/jquery/framework/images/webapp/images/jquery/ui/development-bundle/demos/position/images/earth.jpg
------------------------------------------------------------------------------
svn:mime-type = image/jpeg
Added: ofbiz/branches/jquery/framework/images/webapp/images/jquery/ui/development-bundle/demos/position/images/flight.jpg
URL: http://svn.apache.org/viewvc/ofbiz/branches/jquery/framework/images/webapp/images/jquery/ui/development-bundle/demos/position/images/flight.jpg?rev=1033976&view=auto
==============================================================================
Binary file - no diff available.
Propchange: ofbiz/branches/jquery/framework/images/webapp/images/jquery/ui/development-bundle/demos/position/images/flight.jpg
------------------------------------------------------------------------------
svn:mime-type = image/jpeg
Added: ofbiz/branches/jquery/framework/images/webapp/images/jquery/ui/development-bundle/demos/position/images/rocket.jpg
URL: http://svn.apache.org/viewvc/ofbiz/branches/jquery/framework/images/webapp/images/jquery/ui/development-bundle/demos/position/images/rocket.jpg?rev=1033976&view=auto
==============================================================================
Binary file - no diff available.
Propchange: ofbiz/branches/jquery/framework/images/webapp/images/jquery/ui/development-bundle/demos/position/images/rocket.jpg
------------------------------------------------------------------------------
svn:mime-type = image/jpeg
Added: ofbiz/branches/jquery/framework/images/webapp/images/jquery/ui/development-bundle/demos/position/index.html
URL: http://svn.apache.org/viewvc/ofbiz/branches/jquery/framework/images/webapp/images/jquery/ui/development-bundle/demos/position/index.html?rev=1033976&view=auto
==============================================================================
--- ofbiz/branches/jquery/framework/images/webapp/images/jquery/ui/development-bundle/demos/position/index.html (added)
+++ ofbiz/branches/jquery/framework/images/webapp/images/jquery/ui/development-bundle/demos/position/index.html Thu Nov 11 16:04:58 2010
@@ -0,0 +1,19 @@
+<!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>
Propchange: ofbiz/branches/jquery/framework/images/webapp/images/jquery/ui/development-bundle/demos/position/index.html
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: ofbiz/branches/jquery/framework/images/webapp/images/jquery/ui/development-bundle/demos/position/index.html
------------------------------------------------------------------------------
svn:keywords = Date Rev Author URL Id
Propchange: ofbiz/branches/jquery/framework/images/webapp/images/jquery/ui/development-bundle/demos/position/index.html
------------------------------------------------------------------------------
svn:mime-type = text/html
Added: ofbiz/branches/jquery/framework/images/webapp/images/jquery/ui/development-bundle/demos/progressbar/animated.html
URL: http://svn.apache.org/viewvc/ofbiz/branches/jquery/framework/images/webapp/images/jquery/ui/development-bundle/demos/progressbar/animated.html?rev=1033976&view=auto
==============================================================================
--- ofbiz/branches/jquery/framework/images/webapp/images/jquery/ui/development-bundle/demos/progressbar/animated.html (added)
+++ ofbiz/branches/jquery/framework/images/webapp/images/jquery/ui/development-bundle/demos/progressbar/animated.html Thu Nov 11 16:04:58 2010
@@ -0,0 +1,44 @@
+<!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.4.3.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-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>
Propchange: ofbiz/branches/jquery/framework/images/webapp/images/jquery/ui/development-bundle/demos/progressbar/animated.html
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: ofbiz/branches/jquery/framework/images/webapp/images/jquery/ui/development-bundle/demos/progressbar/animated.html
------------------------------------------------------------------------------
svn:keywords = Date Rev Author URL Id
Propchange: ofbiz/branches/jquery/framework/images/webapp/images/jquery/ui/development-bundle/demos/progressbar/animated.html
------------------------------------------------------------------------------
svn:mime-type = text/html
Added: ofbiz/branches/jquery/framework/images/webapp/images/jquery/ui/development-bundle/demos/progressbar/default.html
URL: http://svn.apache.org/viewvc/ofbiz/branches/jquery/framework/images/webapp/images/jquery/ui/development-bundle/demos/progressbar/default.html?rev=1033976&view=auto
==============================================================================
--- ofbiz/branches/jquery/framework/images/webapp/images/jquery/ui/development-bundle/demos/progressbar/default.html (added)
+++ ofbiz/branches/jquery/framework/images/webapp/images/jquery/ui/development-bundle/demos/progressbar/default.html Thu Nov 11 16:04:58 2010
@@ -0,0 +1,35 @@
+<!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.4.3.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>
Propchange: ofbiz/branches/jquery/framework/images/webapp/images/jquery/ui/development-bundle/demos/progressbar/default.html
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: ofbiz/branches/jquery/framework/images/webapp/images/jquery/ui/development-bundle/demos/progressbar/default.html
------------------------------------------------------------------------------
svn:keywords = Date Rev Author URL Id
Propchange: ofbiz/branches/jquery/framework/images/webapp/images/jquery/ui/development-bundle/demos/progressbar/default.html
------------------------------------------------------------------------------
svn:mime-type = text/html
Added: ofbiz/branches/jquery/framework/images/webapp/images/jquery/ui/development-bundle/demos/progressbar/images/pbar-ani.gif
URL: http://svn.apache.org/viewvc/ofbiz/branches/jquery/framework/images/webapp/images/jquery/ui/development-bundle/demos/progressbar/images/pbar-ani.gif?rev=1033976&view=auto
==============================================================================
Binary file - no diff available.