Content
-
@@ -40,7 +40,7 @@
- Main blog post
diff --git a/demos/functional/index.html b/demos/functional/index.html index 9ad8f5bff..dcb675d37 100644 --- a/demos/functional/index.html +++ b/demos/functional/index.html @@ -3,22 +3,22 @@
Bounce 3 times
Clip horizontally
Clip vertically
Drop down
Drop up
Drop left
Drop right
Explode in 9 pieces
Explode in 36 pieces
Fold
Highlight
Pulsate 2 times
Puff
Scale
Shake
Slide down
Slide up
Slide left
Slide right
Transfer to first element
diff --git a/demos/real-world/image-cropper/index.html b/demos/real-world/image-cropper/index.html index c7e60fe19..5c6f2c9de 100644 --- a/demos/real-world/image-cropper/index.html +++ b/demos/real-world/image-cropper/index.html @@ -9,7 +9,7 @@ - + @@ -112,7 +112,7 @@ //animate:true, handles: 'all', - + knobHandles: true, //transparent: true, @@ -127,9 +127,9 @@ resize: function(event, ui) { var self = $(this).data("resizable"); - + this.style.backgroundPosition = '-' + (self.position.left) + 'px -' + (self.position.top) + 'px'; - + $("#log-top").html(self.position.top+"px"); $("#log-left").html(self.position.left+"px"); diff --git a/demos/real-world/layout/demo.js b/demos/real-world/layout/demo.js index 3696c58d1..ba854e850 100644 --- a/demos/real-world/layout/demo.js +++ b/demos/real-world/layout/demo.js @@ -6,28 +6,28 @@ .filter(':first').addClass('first').find('.up').addClass('disabled').end().end() .filter(':last').addClass('last').find('.down').addClass('disabled').end().end(); }; - + function moveUpDown() { var link = $(this), dl = link.parents('dl'), prev = dl.prev('dl'), next = dl.next('dl'); - + if(link.is('.up') && prev.length > 0) dl.insertBefore(prev); - + if(link.is('.down') && next.length > 0) dl.insertAfter(next); - + updateUpDown(dl.parent()); }; - + function addControls() { $(this).append(' ') .find('a.up, a.down').bind('click', moveUpDown); updateUpDown($(this).parents(".ui-sortable:first")); } - + var counter = 1; function addItem() { var sortable = $(this).parents('.ui-sortable:first'); @@ -38,11 +38,11 @@ sortable.append(html).sortable('refresh').find('a.up, a.down').bind('click', moveUpDown); updateUpDown(sortable); }; - + function emptyTrashCan(item) { item.remove(); }; - + function sortableChange(event, ui) { if(ui.sender){ var w = ui.element.width(); @@ -50,7 +50,7 @@ ui.helper.css("width",ui.element.children().width()); } }; - + function sortableUpdate(event, ui) { if(ui.element[0].id == 'trashcan'){ emptyTrashCan(ui.item); @@ -60,22 +60,22 @@ updateUpDown(ui.sender[0]); } }; - + $(document).ready(function(){ var els = ['#header', '#content', '#sidebar', '#footer', '#trashcan']; var $els = $(els.toString()); - + $('h2', $els.slice(0,-1)).append(' '); $('dt', $els).each(addControls); //$('dt', $els).append(' '); - + $('a.add').bind('click', addItem); //$('a.up, a.down').bind('click', moveUpDown); - + $els.each(function(){ updateUpDown(this); }); - + $els.sortable({ items: '> dl', handle: 'dt', @@ -101,7 +101,7 @@ handle: 'dt' }) }); - + $(window).bind('load',function(){ setTimeout(function(){ // fixes the weird scrolling in IE while killing the fade diff --git a/demos/real-world/layout/index.html b/demos/real-world/layout/index.html index deacea119..62ee91e27 100644 --- a/demos/real-world/layout/index.html +++ b/demos/real-world/layout/index.html @@ -3,27 +3,27 @@Drag modules here to delete them.
|
-
-
+
+
Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Vestibulum commodo mollis tortor. Ut dapibus turpis consequat quam. Nulla lacinia. Donec nunc. Donec sollicitudin. Vivamus orci. Pellentesque tempus velit vitae odio. Maecenas enim arcu, volutpat ac, viverra id, bibendum eu, felis. Vestibulum imperdiet arcu. Ut nisi. Cras vel lectus consectetuer mauris luctus ultrices. Duis fringilla pellentesque sapien.
Cras tristique justo vel metus. Pellentesque dolor libero, ullamcorper ac, vehicula eget, porttitor at, dui. Ut a nibh. Nunc sit amet turpis. Aenean diam dui, consequat vel, scelerisque id, accumsan a, lectus. Duis ultrices, enim vitae pharetra tincidunt, elit nunc sollicitudin felis, dapibus pellentesque urna velit ut quam. Donec scelerisque vehicula dolor. Suspendisse lectus dui, posuere sit amet, sagittis nec, vulputate in, libero. Morbi tempus sagittis est. Phasellus in nisi. Sed a ligula. Vivamus condimentum quam non nibh. Fusce pellentesque, neque ac scelerisque luctus, leo elit bibendum elit, in rutrum leo erat tristique felis. Etiam consequat fringilla eros. Nullam neque. Aenean mollis, odio at consectetuer sollicitudin, tortor lorem facilisis nunc, sit amet condimentum lectus libero convallis dolor. Vivamus quis risus. - + |
-
+
Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Vestibulum commodo mollis tortor. Ut dapibus turpis consequat quam. Nulla lacinia. Donec nunc. Donec sollicitudin. Vivamus orci. Pellentesque tempus velit vitae odio. Maecenas enim arcu, volutpat ac, viverra id, bibendum eu, felis. Vestibulum imperdiet arcu. Ut nisi. Cras vel lectus consectetuer mauris luctus ultrices. Duis fringilla pellentesque sapien.
@@ -61,7 +61,7 @@
Cras tristique justo vel metus. Pellentesque dolor libero, ullamcorper ac, vehicula eget, porttitor at, dui. Ut a nibh. Nunc sit amet turpis. Aenean diam dui, consequat vel, scelerisque id, accumsan a, lectus. Duis ultrices, enim vitae pharetra tincidunt, elit nunc sollicitudin felis, dapibus pellentesque urna velit ut quam. Donec scelerisque vehicula dolor. Suspendisse lectus dui, posuere sit amet, sagittis nec, vulputate in, libero. Morbi tempus sagittis est. Phasellus in nisi. Sed a ligula. Vivamus condimentum quam non nibh. Fusce pellentesque, neque ac scelerisque luctus, leo elit bibendum elit, in rutrum leo erat tristique felis. Etiam consequat fringilla eros. Nullam neque. Aenean mollis, odio at consectetuer sollicitudin, tortor lorem facilisis nunc, sit amet condimentum lectus libero convallis dolor. Vivamus quis risus.
|
-
+
Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Vestibulum commodo mollis tortor. Ut dapibus turpis consequat quam. Nulla lacinia. Donec nunc. Donec sollicitudin. Vivamus orci. Pellentesque tempus velit vitae odio. Maecenas enim arcu, volutpat ac, viverra id, bibendum eu, felis. Vestibulum imperdiet arcu. Ut nisi. Cras vel lectus consectetuer mauris luctus ultrices. Duis fringilla pellentesque sapien.
@@ -69,9 +69,9 @@
Cras tristique justo vel metus. Pellentesque dolor libero, ullamcorper ac, vehicula eget, porttitor at, dui. Ut a nibh. Nunc sit amet turpis. Aenean diam dui, consequat vel, scelerisque id, accumsan a, lectus. Duis ultrices, enim vitae pharetra tincidunt, elit nunc sollicitudin felis, dapibus pellentesque urna velit ut quam. Donec scelerisque vehicula dolor. Suspendisse lectus dui, posuere sit amet, sagittis nec, vulputate in, libero. Morbi tempus sagittis est. Phasellus in nisi. Sed a ligula. Vivamus condimentum quam non nibh. Fusce pellentesque, neque ac scelerisque luctus, leo elit bibendum elit, in rutrum leo erat tristique felis. Etiam consequat fringilla eros. Nullam neque. Aenean mollis, odio at consectetuer sollicitudin, tortor lorem facilisis nunc, sit amet condimentum lectus libero convallis dolor. Vivamus quis risus.
|
-
+