From 7ed79d0be525a2d4fcb5cd0a905df7b3814ad7d5 Mon Sep 17 00:00:00 2001 From: Paul Bakaus Date: Fri, 23 May 2008 09:14:39 +0000 Subject: --- .../real-world/accordion-drawers/images/caps.gif | Bin 0 -> 139 bytes .../accordion-drawers/images/sideboxlight_bg.gif | Bin 0 -> 86 bytes .../accordion-drawers/images/slider_handlebg.png | Bin 0 -> 452 bytes ui/demos/real-world/accordion-drawers/index.html | 263 +++++++++++++++++++++ ui/demos/real-world/image-cropper/img/img01.jpg | Bin 0 -> 84258 bytes ui/demos/real-world/image-cropper/img/img02.jpg | Bin 0 -> 112791 bytes ui/demos/real-world/image-cropper/img/img03.jpg | Bin 0 -> 59031 bytes ui/demos/real-world/image-cropper/img/img04.jpg | Bin 0 -> 54449 bytes ui/demos/real-world/image-cropper/img/img05.jpg | Bin 0 -> 92368 bytes ui/demos/real-world/image-cropper/index.html | 236 ++++++++++++++++++ ui/demos/real-world/layout/demo.css | 42 ++++ ui/demos/real-world/layout/demo.js | 97 ++++++++ ui/demos/real-world/layout/index.html | 99 ++++++++ ui/demos/real-world/layout/loader.gif | Bin 0 -> 4782 bytes ui/demos/real-world/layout/loader_bg.gif | Bin 0 -> 317 bytes ui/demos/real-world/photo-manager/img/P1010020.JPG | Bin 0 -> 59031 bytes ui/demos/real-world/photo-manager/img/P1010036.JPG | Bin 0 -> 54449 bytes ui/demos/real-world/photo-manager/img/P1010039.JPG | Bin 0 -> 92368 bytes ui/demos/real-world/photo-manager/img/P1010044.JPG | Bin 0 -> 84258 bytes ui/demos/real-world/photo-manager/img/P1010050.JPG | Bin 0 -> 112791 bytes ui/demos/real-world/photo-manager/img/P1010055.JPG | Bin 0 -> 25591 bytes ui/demos/real-world/photo-manager/img/P1010058.JPG | Bin 0 -> 46234 bytes ui/demos/real-world/photo-manager/img/P1010059.JPG | Bin 0 -> 37428 bytes ui/demos/real-world/photo-manager/img/P1010061.JPG | Bin 0 -> 59638 bytes ui/demos/real-world/photo-manager/img/P1010063.JPG | Bin 0 -> 54692 bytes .../photo-manager/img/thumbs/P1010020.JPG | Bin 0 -> 4735 bytes .../photo-manager/img/thumbs/P1010036.JPG | Bin 0 -> 3996 bytes .../photo-manager/img/thumbs/P1010039.JPG | Bin 0 -> 6783 bytes .../photo-manager/img/thumbs/P1010044.JPG | Bin 0 -> 7084 bytes .../photo-manager/img/thumbs/P1010050.JPG | Bin 0 -> 6418 bytes .../photo-manager/img/thumbs/P1010055.JPG | Bin 0 -> 2645 bytes .../photo-manager/img/thumbs/P1010058.JPG | Bin 0 -> 3727 bytes .../photo-manager/img/thumbs/P1010059.JPG | Bin 0 -> 3287 bytes .../photo-manager/img/thumbs/P1010061.JPG | Bin 0 -> 5062 bytes .../photo-manager/img/thumbs/P1010063.JPG | Bin 0 -> 5042 bytes ui/demos/real-world/photo-manager/index.html | 133 +++++++++++ ui/demos/real-world/photo-manager/js/demo.js | 130 ++++++++++ .../real-world/photo-manager/theme/css/screen.css | 179 ++++++++++++++ .../photo-manager/theme/img/body_wrap_bg.gif | Bin 0 -> 148 bytes .../photo-manager/theme/img/header_bg.png | Bin 0 -> 339 bytes .../photo-manager/theme/img/photos_gold_32.gif | Bin 0 -> 1341 bytes .../photo-manager/theme/img/search_16.gif | Bin 0 -> 541 bytes .../photo-manager/theme/img/side_top.jpg | Bin 0 -> 985 bytes .../photo-manager/theme/img/trash_16.gif | Bin 0 -> 571 bytes .../product-slider/images/pb_airport_express.jpg | Bin 0 -> 1211 bytes .../product-slider/images/pb_airport_extreme.jpg | Bin 0 -> 1109 bytes .../product-slider/images/pb_aperture20080212.jpg | Bin 0 -> 2208 bytes .../images/pb_apple_remote_desktop_20080115.jpg | Bin 0 -> 2234 bytes .../images/pb_cinema_display20071026.jpg | Bin 0 -> 4994 bytes .../product-slider/images/pb_dot_mac_20080115.jpg | Bin 0 -> 4154 bytes .../images/pb_final_cut_express_20080115.jpg | Bin 0 -> 3464 bytes .../images/pb_final_cut_studio2_20080115.jpg | Bin 0 -> 4256 bytes .../product-slider/images/pb_ilife_20080115.jpg | Bin 0 -> 4495 bytes .../product-slider/images/pb_imac20071026.jpg | Bin 0 -> 5106 bytes .../product-slider/images/pb_iwork_20080115.jpg | Bin 0 -> 3305 bytes .../product-slider/images/pb_keyboards20070807.jpg | Bin 0 -> 3165 bytes .../images/pb_logic_express_20080115.jpg | Bin 0 -> 2896 bytes .../images/pb_logic_studio_20080115.jpg | Bin 0 -> 3391 bytes .../product-slider/images/pb_mac_mini.jpg | Bin 0 -> 1094 bytes .../product-slider/images/pb_mac_pro_20070622.jpg | Bin 0 -> 3406 bytes .../product-slider/images/pb_macbook20071026.jpg | Bin 0 -> 3705 bytes .../images/pb_macbook_pro20071026.jpg | Bin 0 -> 4228 bytes .../images/pb_macbookair_20080115.jpg | Bin 0 -> 4921 bytes .../product-slider/images/pb_macosx_20080115.jpg | Bin 0 -> 2610 bytes .../images/pb_macosx_server20071016.jpg | Bin 0 -> 3307 bytes .../product-slider/images/pb_mighty_mouse.jpg | Bin 0 -> 1223 bytes .../product-slider/images/pb_quicktime.jpg | Bin 0 -> 4057 bytes .../product-slider/images/pb_shake_20080115.jpg | Bin 0 -> 3535 bytes .../images/pb_timecapsule_20080115.jpg | Bin 0 -> 1361 bytes .../product-slider/images/pb_xsan_20080115.jpg | Bin 0 -> 2092 bytes .../real-world/product-slider/images/pb_xserve.jpg | Bin 0 -> 1463 bytes .../product-slider/images/pb_xserve_raid.jpg | Bin 0 -> 2649 bytes .../images/productbrowser_background_20070622.jpg | Bin 0 -> 5449 bytes .../images/productbrowser_scrollbar_20070622.png | Bin 0 -> 3842 bytes .../images/productbrowser_scroller_20080115.png | Bin 0 -> 1503 bytes ui/demos/real-world/product-slider/index.html | 193 +++++++++++++++ ui/demos/real-world/splitpane/css/demo.css | 149 ++++++++++++ .../real-world/splitpane/images/bg_gradient.gif | Bin 0 -> 265 bytes ui/demos/real-world/splitpane/images/icons_2.png | Bin 0 -> 3494 bytes .../splitpane/images/splitpane_handle-ew.gif | Bin 0 -> 114 bytes .../splitpane/images/splitpane_handle-sn.gif | Bin 0 -> 114 bytes ui/demos/real-world/splitpane/index.html | 113 +++++++++ 82 files changed, 1634 insertions(+) create mode 100644 ui/demos/real-world/accordion-drawers/images/caps.gif create mode 100644 ui/demos/real-world/accordion-drawers/images/sideboxlight_bg.gif create mode 100644 ui/demos/real-world/accordion-drawers/images/slider_handlebg.png create mode 100644 ui/demos/real-world/accordion-drawers/index.html create mode 100644 ui/demos/real-world/image-cropper/img/img01.jpg create mode 100644 ui/demos/real-world/image-cropper/img/img02.jpg create mode 100644 ui/demos/real-world/image-cropper/img/img03.jpg create mode 100644 ui/demos/real-world/image-cropper/img/img04.jpg create mode 100644 ui/demos/real-world/image-cropper/img/img05.jpg create mode 100644 ui/demos/real-world/image-cropper/index.html create mode 100644 ui/demos/real-world/layout/demo.css create mode 100644 ui/demos/real-world/layout/demo.js create mode 100644 ui/demos/real-world/layout/index.html create mode 100644 ui/demos/real-world/layout/loader.gif create mode 100644 ui/demos/real-world/layout/loader_bg.gif create mode 100644 ui/demos/real-world/photo-manager/img/P1010020.JPG create mode 100644 ui/demos/real-world/photo-manager/img/P1010036.JPG create mode 100644 ui/demos/real-world/photo-manager/img/P1010039.JPG create mode 100644 ui/demos/real-world/photo-manager/img/P1010044.JPG create mode 100644 ui/demos/real-world/photo-manager/img/P1010050.JPG create mode 100644 ui/demos/real-world/photo-manager/img/P1010055.JPG create mode 100644 ui/demos/real-world/photo-manager/img/P1010058.JPG create mode 100644 ui/demos/real-world/photo-manager/img/P1010059.JPG create mode 100644 ui/demos/real-world/photo-manager/img/P1010061.JPG create mode 100644 ui/demos/real-world/photo-manager/img/P1010063.JPG create mode 100644 ui/demos/real-world/photo-manager/img/thumbs/P1010020.JPG create mode 100644 ui/demos/real-world/photo-manager/img/thumbs/P1010036.JPG create mode 100644 ui/demos/real-world/photo-manager/img/thumbs/P1010039.JPG create mode 100644 ui/demos/real-world/photo-manager/img/thumbs/P1010044.JPG create mode 100644 ui/demos/real-world/photo-manager/img/thumbs/P1010050.JPG create mode 100644 ui/demos/real-world/photo-manager/img/thumbs/P1010055.JPG create mode 100644 ui/demos/real-world/photo-manager/img/thumbs/P1010058.JPG create mode 100644 ui/demos/real-world/photo-manager/img/thumbs/P1010059.JPG create mode 100644 ui/demos/real-world/photo-manager/img/thumbs/P1010061.JPG create mode 100644 ui/demos/real-world/photo-manager/img/thumbs/P1010063.JPG create mode 100644 ui/demos/real-world/photo-manager/index.html create mode 100644 ui/demos/real-world/photo-manager/js/demo.js create mode 100644 ui/demos/real-world/photo-manager/theme/css/screen.css create mode 100644 ui/demos/real-world/photo-manager/theme/img/body_wrap_bg.gif create mode 100644 ui/demos/real-world/photo-manager/theme/img/header_bg.png create mode 100644 ui/demos/real-world/photo-manager/theme/img/photos_gold_32.gif create mode 100644 ui/demos/real-world/photo-manager/theme/img/search_16.gif create mode 100644 ui/demos/real-world/photo-manager/theme/img/side_top.jpg create mode 100644 ui/demos/real-world/photo-manager/theme/img/trash_16.gif create mode 100644 ui/demos/real-world/product-slider/images/pb_airport_express.jpg create mode 100644 ui/demos/real-world/product-slider/images/pb_airport_extreme.jpg create mode 100644 ui/demos/real-world/product-slider/images/pb_aperture20080212.jpg create mode 100644 ui/demos/real-world/product-slider/images/pb_apple_remote_desktop_20080115.jpg create mode 100644 ui/demos/real-world/product-slider/images/pb_cinema_display20071026.jpg create mode 100644 ui/demos/real-world/product-slider/images/pb_dot_mac_20080115.jpg create mode 100644 ui/demos/real-world/product-slider/images/pb_final_cut_express_20080115.jpg create mode 100644 ui/demos/real-world/product-slider/images/pb_final_cut_studio2_20080115.jpg create mode 100644 ui/demos/real-world/product-slider/images/pb_ilife_20080115.jpg create mode 100644 ui/demos/real-world/product-slider/images/pb_imac20071026.jpg create mode 100644 ui/demos/real-world/product-slider/images/pb_iwork_20080115.jpg create mode 100644 ui/demos/real-world/product-slider/images/pb_keyboards20070807.jpg create mode 100644 ui/demos/real-world/product-slider/images/pb_logic_express_20080115.jpg create mode 100644 ui/demos/real-world/product-slider/images/pb_logic_studio_20080115.jpg create mode 100644 ui/demos/real-world/product-slider/images/pb_mac_mini.jpg create mode 100644 ui/demos/real-world/product-slider/images/pb_mac_pro_20070622.jpg create mode 100644 ui/demos/real-world/product-slider/images/pb_macbook20071026.jpg create mode 100644 ui/demos/real-world/product-slider/images/pb_macbook_pro20071026.jpg create mode 100644 ui/demos/real-world/product-slider/images/pb_macbookair_20080115.jpg create mode 100644 ui/demos/real-world/product-slider/images/pb_macosx_20080115.jpg create mode 100644 ui/demos/real-world/product-slider/images/pb_macosx_server20071016.jpg create mode 100644 ui/demos/real-world/product-slider/images/pb_mighty_mouse.jpg create mode 100644 ui/demos/real-world/product-slider/images/pb_quicktime.jpg create mode 100644 ui/demos/real-world/product-slider/images/pb_shake_20080115.jpg create mode 100644 ui/demos/real-world/product-slider/images/pb_timecapsule_20080115.jpg create mode 100644 ui/demos/real-world/product-slider/images/pb_xsan_20080115.jpg create mode 100644 ui/demos/real-world/product-slider/images/pb_xserve.jpg create mode 100644 ui/demos/real-world/product-slider/images/pb_xserve_raid.jpg create mode 100644 ui/demos/real-world/product-slider/images/productbrowser_background_20070622.jpg create mode 100644 ui/demos/real-world/product-slider/images/productbrowser_scrollbar_20070622.png create mode 100644 ui/demos/real-world/product-slider/images/productbrowser_scroller_20080115.png create mode 100644 ui/demos/real-world/product-slider/index.html create mode 100644 ui/demos/real-world/splitpane/css/demo.css create mode 100644 ui/demos/real-world/splitpane/images/bg_gradient.gif create mode 100644 ui/demos/real-world/splitpane/images/icons_2.png create mode 100644 ui/demos/real-world/splitpane/images/splitpane_handle-ew.gif create mode 100644 ui/demos/real-world/splitpane/images/splitpane_handle-sn.gif create mode 100644 ui/demos/real-world/splitpane/index.html (limited to 'ui/demos') diff --git a/ui/demos/real-world/accordion-drawers/images/caps.gif b/ui/demos/real-world/accordion-drawers/images/caps.gif new file mode 100644 index 000000000..24184e742 Binary files /dev/null and b/ui/demos/real-world/accordion-drawers/images/caps.gif differ diff --git a/ui/demos/real-world/accordion-drawers/images/sideboxlight_bg.gif b/ui/demos/real-world/accordion-drawers/images/sideboxlight_bg.gif new file mode 100644 index 000000000..2d52b8054 Binary files /dev/null and b/ui/demos/real-world/accordion-drawers/images/sideboxlight_bg.gif differ diff --git a/ui/demos/real-world/accordion-drawers/images/slider_handlebg.png b/ui/demos/real-world/accordion-drawers/images/slider_handlebg.png new file mode 100644 index 000000000..1077c4d6e Binary files /dev/null and b/ui/demos/real-world/accordion-drawers/images/slider_handlebg.png differ diff --git a/ui/demos/real-world/accordion-drawers/index.html b/ui/demos/real-world/accordion-drawers/index.html new file mode 100644 index 000000000..6cb3d63f8 --- /dev/null +++ b/ui/demos/real-world/accordion-drawers/index.html @@ -0,0 +1,263 @@ + + + + + Slide Demo - Fixed Drawer + + + + + + + + + + + + + + + + + +
+

Fixed drawer slide out demo (using accordion plugin)

+

This example demonstrates the Apple downloads slider/accordion effect using the jQuery Accordion plugin.

+

Mouse over the headings to reveal the list of available links.

+ +

+ Read the article this demonstration relates to +

+
+
+ +
+
+ + diff --git a/ui/demos/real-world/image-cropper/img/img01.jpg b/ui/demos/real-world/image-cropper/img/img01.jpg new file mode 100644 index 000000000..4d5f88445 Binary files /dev/null and b/ui/demos/real-world/image-cropper/img/img01.jpg differ diff --git a/ui/demos/real-world/image-cropper/img/img02.jpg b/ui/demos/real-world/image-cropper/img/img02.jpg new file mode 100644 index 000000000..5745265f0 Binary files /dev/null and b/ui/demos/real-world/image-cropper/img/img02.jpg differ diff --git a/ui/demos/real-world/image-cropper/img/img03.jpg b/ui/demos/real-world/image-cropper/img/img03.jpg new file mode 100644 index 000000000..7e6928f63 Binary files /dev/null and b/ui/demos/real-world/image-cropper/img/img03.jpg differ diff --git a/ui/demos/real-world/image-cropper/img/img04.jpg b/ui/demos/real-world/image-cropper/img/img04.jpg new file mode 100644 index 000000000..8216a2382 Binary files /dev/null and b/ui/demos/real-world/image-cropper/img/img04.jpg differ diff --git a/ui/demos/real-world/image-cropper/img/img05.jpg b/ui/demos/real-world/image-cropper/img/img05.jpg new file mode 100644 index 000000000..35de5bd8c Binary files /dev/null and b/ui/demos/real-world/image-cropper/img/img05.jpg differ diff --git a/ui/demos/real-world/image-cropper/index.html b/ui/demos/real-world/image-cropper/index.html new file mode 100644 index 000000000..e41fb978e --- /dev/null +++ b/ui/demos/real-world/image-cropper/index.html @@ -0,0 +1,236 @@ + + + + + +Image Cropper: jQuery Real-world Demo + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+
+
+
+
+
+
+ Properties: +
    +
  • width: 0px
  • +
  • height: 0px
  • +
  • top: 0px
  • +
  • left: 0px
  • +
+
+
+ + diff --git a/ui/demos/real-world/layout/demo.css b/ui/demos/real-world/layout/demo.css new file mode 100644 index 000000000..010f09db5 --- /dev/null +++ b/ui/demos/real-world/layout/demo.css @@ -0,0 +1,42 @@ +body { background-color:#666; color:#FFF; font:11px/1.5 Arial, sans-serif; margin:0; overflow:hidden; padding:30px 0 0 30px; } +h1 { font-size:18px; margin:0 0 20px; } +a { color:#FFF; } + +.clear { clear:both; font-size:1px; line-height:1px; } + +#overlay { background:#666; height:100%; left:0; position:absolute; top:0; width:100%; z-index:2000; } +#overlay #preloader { background:url(loader_bg.gif) no-repeat; height:50px; left:50%; line-height:50px; margin:-25px 0 0 -25px; position:absolute; text-align:center; top:50%; width:50px; } +#overlay #preloader img { margin:11px 0 0 0; vertical-align:middle; } + +.ui-sortable { background-color:#FFF; border:1px solid #555; color:#222; margin:0 15px 15px 0; padding:0 10px 10px; width:175px; } +.ui-sortable h2 { background-color:#555; border-top:3px solid #666; color:#FFF; font-size:11px; margin:0 -10px 10px; line-height:2; padding:0 10px; } + +dl.sort { color:#222; margin:10px 0; } +#uidemo dl.first { margin-top:0; } +#uidemo dl.last { margin-bottom:0; } + +dl.sort dt { background-color:#666; color:#FFF; cursor:move; height:2em; line-height:2; padding:0 6px; position:relative; } +dl.sort dd { background-color:#FFF; margin:0; padding:3px 6px; } + +.ui-sortable-helper { width:175px; } +.placeholder { border:1px dashed #AAA; } + +span.options { cursor:default; font-size:1px; line-height:1px; position:absolute; } +span.options a { background-color:#FFF; cursor:pointer; display:block; float:left; text-indent:-9000px; } + +.ui-sortable h2 span.options { right:10px; top:8px; width:30px; } +.ui-sortable h2 span.options a { height:12px; width:30px; } + +dl.sort dt span.options { right:5px; top:5px; width:27px; } +dl.sort dt span.options a { height:12px; width:12px; } +dl.sort dt span.options a.up { margin-right:3px; } +dl.sort dt span.options a.disabled { background-color:#555; cursor:default; } + +#container { float:left; } +#header { width:638px; } +#content { float:left; width:400px; } +#sidebar { float:left; width:200px; } +#footer { width:638px; } +#trashcan { float:left; } + +#trashcan p { margin:0; } \ No newline at end of file diff --git a/ui/demos/real-world/layout/demo.js b/ui/demos/real-world/layout/demo.js new file mode 100644 index 000000000..a17478d2f --- /dev/null +++ b/ui/demos/real-world/layout/demo.js @@ -0,0 +1,97 @@ +(function($){ + var updateUpDown = function(sortable){ + $('dl:not(.ui-sortable-helper)', sortable) + .removeClass('first').removeClass('last') + .find('.up, .down').removeClass('disabled').end() + .filter(':first').addClass('first').find('.up').addClass('disabled').end().end() + .filter(':last').addClass('last').find('.down').addClass('disabled').end().end(); + }; + + var moveUpDown = function(){ + 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()); + }; + + var addItem = function(){ + var sortable = $(this).parents('.ui-sortable'); + var options = 'updown'; + var tpl = '
{name}' + options + '
{desc}
'; + var html = tpl.replace(/{name}/g, 'Dynamic name :D').replace(/{desc}/g, 'Description'); + + sortable.append(html).sortable('refresh').find('a.up, a.down').bind('click', moveUpDown); + updateUpDown(sortable); + }; + + var emptyTrashCan = function(item){ + item.remove(); + }; + + var sortableChange = function(e, ui){ + if(ui.sender){ + var w = ui.element.width(); + ui.placeholder.width(w); + ui.helper.css("width",ui.element.children().width()); + } + }; + + var sortableUpdate = function(e, ui){ + if(ui.element[0].id == 'trashcan'){ + emptyTrashCan(ui.item); + } else { + updateUpDown(ui.element[0]); + if(ui.sender) + updateUpDown(ui.sender[0]); + } + }; + + $(document).ready(function(){ + var els = ['#header', '#content', '#sidebar', '#footer', '#trashcan']; + var $els = $(els.toString()); + + $('h2', $els.slice(0,-1)).append('add'); + $('dt', $els).append('updown'); + + $('a.add').bind('click', addItem); + $('a.up, a.down').bind('click', moveUpDown); + + $els.each(function(){ + updateUpDown(this); + }); + + $els.sortable({ + items: '> dl', + handle: 'dt', + cursor: 'move', + //cursorAt: { top: 2, left: 2 }, + //opacity: 0.8, + //helper: 'clone', + appendTo: 'body', + //placeholder: 'clone', + //placeholder: 'placeholder', + connectWith: els, + start: function(e,ui) { + ui.helper.css("width", ui.item.width()); + }, + change: sortableChange, + update: sortableUpdate + }); + }); + + $(window).bind('load',function(){ + setTimeout(function(){ + $('#overlay').fadeOut(function(){ + $('body').css('overflow', 'auto'); + }); + }, 750); + }); +})(jQuery); \ No newline at end of file diff --git a/ui/demos/real-world/layout/index.html b/ui/demos/real-world/layout/index.html new file mode 100644 index 000000000..b0e423a7f --- /dev/null +++ b/ui/demos/real-world/layout/index.html @@ -0,0 +1,99 @@ + + + + UI Sortable: Layout Demo + + + + + + + + + + + + + + + + + + +

UI Sortable: Layout demo

+ +
+ + +
+

Content

+
+
Blog
+
Main blog post
+
+
+ + + +
+ + +
+ +
+

Trash can

+

Drag modules here to delete them.

+
+ +
+
+
+
+ + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/ui/demos/real-world/layout/loader.gif b/ui/demos/real-world/layout/loader.gif new file mode 100644 index 000000000..7e717cdf9 Binary files /dev/null and b/ui/demos/real-world/layout/loader.gif differ diff --git a/ui/demos/real-world/layout/loader_bg.gif b/ui/demos/real-world/layout/loader_bg.gif new file mode 100644 index 000000000..9c0488402 Binary files /dev/null and b/ui/demos/real-world/layout/loader_bg.gif differ diff --git a/ui/demos/real-world/photo-manager/img/P1010020.JPG b/ui/demos/real-world/photo-manager/img/P1010020.JPG new file mode 100644 index 000000000..7e6928f63 Binary files /dev/null and b/ui/demos/real-world/photo-manager/img/P1010020.JPG differ diff --git a/ui/demos/real-world/photo-manager/img/P1010036.JPG b/ui/demos/real-world/photo-manager/img/P1010036.JPG new file mode 100644 index 000000000..8216a2382 Binary files /dev/null and b/ui/demos/real-world/photo-manager/img/P1010036.JPG differ diff --git a/ui/demos/real-world/photo-manager/img/P1010039.JPG b/ui/demos/real-world/photo-manager/img/P1010039.JPG new file mode 100644 index 000000000..35de5bd8c Binary files /dev/null and b/ui/demos/real-world/photo-manager/img/P1010039.JPG differ diff --git a/ui/demos/real-world/photo-manager/img/P1010044.JPG b/ui/demos/real-world/photo-manager/img/P1010044.JPG new file mode 100644 index 000000000..4d5f88445 Binary files /dev/null and b/ui/demos/real-world/photo-manager/img/P1010044.JPG differ diff --git a/ui/demos/real-world/photo-manager/img/P1010050.JPG b/ui/demos/real-world/photo-manager/img/P1010050.JPG new file mode 100644 index 000000000..5745265f0 Binary files /dev/null and b/ui/demos/real-world/photo-manager/img/P1010050.JPG differ diff --git a/ui/demos/real-world/photo-manager/img/P1010055.JPG b/ui/demos/real-world/photo-manager/img/P1010055.JPG new file mode 100644 index 000000000..246121ba4 Binary files /dev/null and b/ui/demos/real-world/photo-manager/img/P1010055.JPG differ diff --git a/ui/demos/real-world/photo-manager/img/P1010058.JPG b/ui/demos/real-world/photo-manager/img/P1010058.JPG new file mode 100644 index 000000000..d107b38ce Binary files /dev/null and b/ui/demos/real-world/photo-manager/img/P1010058.JPG differ diff --git a/ui/demos/real-world/photo-manager/img/P1010059.JPG b/ui/demos/real-world/photo-manager/img/P1010059.JPG new file mode 100644 index 000000000..c7fcdbdd1 Binary files /dev/null and b/ui/demos/real-world/photo-manager/img/P1010059.JPG differ diff --git a/ui/demos/real-world/photo-manager/img/P1010061.JPG b/ui/demos/real-world/photo-manager/img/P1010061.JPG new file mode 100644 index 000000000..1812fbfdf Binary files /dev/null and b/ui/demos/real-world/photo-manager/img/P1010061.JPG differ diff --git a/ui/demos/real-world/photo-manager/img/P1010063.JPG b/ui/demos/real-world/photo-manager/img/P1010063.JPG new file mode 100644 index 000000000..05b0d133c Binary files /dev/null and b/ui/demos/real-world/photo-manager/img/P1010063.JPG differ diff --git a/ui/demos/real-world/photo-manager/img/thumbs/P1010020.JPG b/ui/demos/real-world/photo-manager/img/thumbs/P1010020.JPG new file mode 100644 index 000000000..cba634588 Binary files /dev/null and b/ui/demos/real-world/photo-manager/img/thumbs/P1010020.JPG differ diff --git a/ui/demos/real-world/photo-manager/img/thumbs/P1010036.JPG b/ui/demos/real-world/photo-manager/img/thumbs/P1010036.JPG new file mode 100644 index 000000000..1d062b364 Binary files /dev/null and b/ui/demos/real-world/photo-manager/img/thumbs/P1010036.JPG differ diff --git a/ui/demos/real-world/photo-manager/img/thumbs/P1010039.JPG b/ui/demos/real-world/photo-manager/img/thumbs/P1010039.JPG new file mode 100644 index 000000000..2d0b6c726 Binary files /dev/null and b/ui/demos/real-world/photo-manager/img/thumbs/P1010039.JPG differ diff --git a/ui/demos/real-world/photo-manager/img/thumbs/P1010044.JPG b/ui/demos/real-world/photo-manager/img/thumbs/P1010044.JPG new file mode 100644 index 000000000..9d0cccf86 Binary files /dev/null and b/ui/demos/real-world/photo-manager/img/thumbs/P1010044.JPG differ diff --git a/ui/demos/real-world/photo-manager/img/thumbs/P1010050.JPG b/ui/demos/real-world/photo-manager/img/thumbs/P1010050.JPG new file mode 100644 index 000000000..89a36b78b Binary files /dev/null and b/ui/demos/real-world/photo-manager/img/thumbs/P1010050.JPG differ diff --git a/ui/demos/real-world/photo-manager/img/thumbs/P1010055.JPG b/ui/demos/real-world/photo-manager/img/thumbs/P1010055.JPG new file mode 100644 index 000000000..889b4e67d Binary files /dev/null and b/ui/demos/real-world/photo-manager/img/thumbs/P1010055.JPG differ diff --git a/ui/demos/real-world/photo-manager/img/thumbs/P1010058.JPG b/ui/demos/real-world/photo-manager/img/thumbs/P1010058.JPG new file mode 100644 index 000000000..6a83a628b Binary files /dev/null and b/ui/demos/real-world/photo-manager/img/thumbs/P1010058.JPG differ diff --git a/ui/demos/real-world/photo-manager/img/thumbs/P1010059.JPG b/ui/demos/real-world/photo-manager/img/thumbs/P1010059.JPG new file mode 100644 index 000000000..6aac87261 Binary files /dev/null and b/ui/demos/real-world/photo-manager/img/thumbs/P1010059.JPG differ diff --git a/ui/demos/real-world/photo-manager/img/thumbs/P1010061.JPG b/ui/demos/real-world/photo-manager/img/thumbs/P1010061.JPG new file mode 100644 index 000000000..bfe698e86 Binary files /dev/null and b/ui/demos/real-world/photo-manager/img/thumbs/P1010061.JPG differ diff --git a/ui/demos/real-world/photo-manager/img/thumbs/P1010063.JPG b/ui/demos/real-world/photo-manager/img/thumbs/P1010063.JPG new file mode 100644 index 000000000..88c22e021 Binary files /dev/null and b/ui/demos/real-world/photo-manager/img/thumbs/P1010063.JPG differ diff --git a/ui/demos/real-world/photo-manager/index.html b/ui/demos/real-world/photo-manager/index.html new file mode 100644 index 000000000..9c880aef6 --- /dev/null +++ b/ui/demos/real-world/photo-manager/index.html @@ -0,0 +1,133 @@ + + + + jQuery UI Draggables and Droppables playground + + + + + + + + + + + + + + + + + + + + + + + + + + +

Manage Your Photos

+
+
+

Drag photos to the Trash or waste them in the Shredder:

+ +
+ +
+ + + diff --git a/ui/demos/real-world/photo-manager/js/demo.js b/ui/demos/real-world/photo-manager/js/demo.js new file mode 100644 index 000000000..437191e2c --- /dev/null +++ b/ui/demos/real-world/photo-manager/js/demo.js @@ -0,0 +1,130 @@ +/* + * The very first increment of Droppables&Draggables demo. The code is going to + * be more concise (remove unnecessary code repetitions etc.). And imho the + * photo management is a good candidate for demonstration of more jQuery UI + * components (sortables, selectables...). More to come... + * + */ + +$(window).bind('load', function() { + // make images in the gallery draggable + $('ul.gallery img').addClass('img_content').draggable({ + helper: 'clone' + }); + + // make the trash box droppable, accepting images from the content section only + $('#trash div').droppable({ + accept: '.img_content', + activeClass: 'active', + drop: function(ev, ui) { + var $that = $(this); + ui.draggable.parent().fadeOut('slow', function() { + ui.draggable + .hide() + .appendTo($that) + .fadeIn('slow') + .animate({ + width: '72px', + height: '54px' + }) + .removeClass('img_content') + .addClass('img_trash'); + $(this).remove(); + }); + } + }); + + // make the shredder box droppable, accepting images from both content and trash sections + $('#shred div').droppable({ + accept: '.img_content, .img_trash', + activeClass: 'active', + drop: function(ev, ui) { + var $that = $(this); + // images from the content + if (ui.draggable.hasClass('img_content')) { + ui.draggable.parent().fadeOut('slow', function() { + ui.draggable + .appendTo($that) + .animate({ + width: '0', + height: '0' + }, 'slow', function(){ + $(this).remove(); + }); + $(this).remove(); + }); + } + // images from the trash + else if (ui.draggable.hasClass('img_trash')) { + ui.draggable + .appendTo($that) + .animate({ + width: '0', + height: '0' + }, 'slow', function(){ + $(this).remove(); + }); + } + } + }); + + // make the gallery droppable as well, accepting images from the trash only + $('ul.gallery').droppable({ + accept: '.img_trash', + activeClass: 'active', + drop: function(ev, ui) { + var $that = $(this); + ui.draggable.fadeOut('slow', function() { + var $item = createGalleryItem(this).appendTo($that); + $(this) + .removeClass('img_trash') + .addClass('img_content') + .css({ width: '144px', height: '108px' }) + .show(); + $item.fadeIn('slow'); + }); + } + }); + + // handle the trash icon behavior + $('a.tb_trash').livequery('click', function() { + var $this = $(this); + var $img = $this.parent().siblings('img'); + var $item = $this.parents('li'); + + $item.fadeOut('slow', function() { + $img + .hide() + .appendTo('#trash div') + .fadeIn('slow') + .animate({ + width: '72px', + height: '54px' + }) + .removeClass('img_content') + .addClass('img_trash'); + $(this).remove(); + }); + + return false; + }); + + // handle the magnify button + $('a.tb_supersize').livequery('click', function() { + $('') + .attr('src', $(this).attr('href')) + .appendTo('#body_wrap') + .displayBox(); + return false; + }); +}); + +function createGalleryItem(img) { + var title = img.getAttribute('alt'); + var href = img.getAttribute('src').replace(/thumbs\//, ''); + + var $item = $('
  • '+title+'

    Trash meSee me supersized
  • ').hide(); + $item.prepend($(img)); + + return $item; +} diff --git a/ui/demos/real-world/photo-manager/theme/css/screen.css b/ui/demos/real-world/photo-manager/theme/css/screen.css new file mode 100644 index 000000000..71e38dcfb --- /dev/null +++ b/ui/demos/real-world/photo-manager/theme/css/screen.css @@ -0,0 +1,179 @@ +body { + padding: 0; + margin: 0; + line-height: 1.5em; + font-size: 75%; /* gives us 12px in most browsers */ + font-family: "Helvetica Neue", "Lucida Grande", Helvetica, Arial, Verdana, sans-serif; + background: #aefe05 url('../img/side_top.jpg') repeat-x top; /* body background from ui.jquery.com */ + color: 222; +} + +/* +================================ +=LAYOUT +================================ */ +h1 { + padding: 0 0 0 52px; + margin: 0; + font-size: 1.5em; /* 18px */ + line-height: 2em; /* 36px */ + background: url('../img/photos_gold_32.gif') no-repeat 8px 50%; /* Thanks to Iconbuffet.com */ + color: #fff; +} +#body_wrap { + width: 960px; + margin: 0 auto; + background: #fff url('../img/body_wrap_bg.gif') repeat-y; +} +#content { + float: left; + width: 632px; +} +#sidebar { + float: right; + width: 320px; +} +#footer { + clear: both; + background: #32342f; + color: #fff; +} + +/* +================================ +=SECTIONS +================================ */ +/* +---------------- +=HEADER +---------------- */ +/* +---------------- +=CONTENT +---------------- */ +#content h2 { + padding-left: 25px; +} +/* +=gallery +-------- */ +.gallery { + min-height: 108px; + padding: 0; + margin: 18px 0; + list-style: none; +} +* html .gallery { + height: 108px; /* min-height for lte IE6 */ +} +.gallery.active { + background: #eee; +} +.gallery li { + float: left; + width: 160px; + padding: 0 25px; + margin: 0 0 8px; +} +.gallery img { + display: block; + padding: 7px; + border: 1px solid #ccc; + background: #fff; +} +.displayBox img { + border: 25px solid #222; +} +/* img title */ +.gallery p { + float: left; + padding: 0; + margin: 0; +} +/* img toolbar */ +.gallery div { + float: right; +} +.gallery div a { + float: left; + width: 24px; + height: 24px; + background-repeat: no-repeat; + background-position: center; + text-indent: -9999px; /* Phark revisited image replacement */ +} +.gallery div a:focus { + outline: 0; +} +.tb_supersize { + background-image: url('../img/search_16.gif'); /* Thanks to Iconbuffet.com */ +} +.tb_trash { + background-image: url('../img/trash_16.gif'); /* Thanks to Iconbuffet.com */ +} + +/* +---------------- +=SIDEBAR +---------------- */ +.box { + margin: 18px; + border: 1px solid #ccc; + background: #fff; +} +.box h2 { + padding: 0 8px; + margin: 0; + font-size: 1.5em; + line-height: 2em; + background: #525252 url('../img/header_bg.png') repeat-x bottom; + color: #fff; +} +.box div { + min-height: 128px; + border: 2px solid #fff; +} +* html #sidebar .box div { + height: 128px; /* min-height for lte IE6 */ +} +#trash div.active { + border-color: green; +} +#shred div.active { + border-color: red; +} +#trash div img { + float: left; + margin: 4px; +} + +/* +---------------- +=FOOTER +---------------- */ +#footer p { + margin: 0; + text-align: right; +} + + +/* +================================ +=FLOAT CLEARING +================================ */ +#body_wrap, ul.gallery, #trash div { + display: inline-block; +} +#body_wrap:after, ul.gallery:after, #trash div:after { + content: "."; + display: block; + height: 0; + clear: both; + visibility: hidden; +} +* html #body_wrap, * html ul.gallery, * html #trash div { + height: 1%; +} +#body_wrap, ul.gallery, #trash div { + display: block; +} diff --git a/ui/demos/real-world/photo-manager/theme/img/body_wrap_bg.gif b/ui/demos/real-world/photo-manager/theme/img/body_wrap_bg.gif new file mode 100644 index 000000000..7ad1d5476 Binary files /dev/null and b/ui/demos/real-world/photo-manager/theme/img/body_wrap_bg.gif differ diff --git a/ui/demos/real-world/photo-manager/theme/img/header_bg.png b/ui/demos/real-world/photo-manager/theme/img/header_bg.png new file mode 100644 index 000000000..a517ae7dd Binary files /dev/null and b/ui/demos/real-world/photo-manager/theme/img/header_bg.png differ diff --git a/ui/demos/real-world/photo-manager/theme/img/photos_gold_32.gif b/ui/demos/real-world/photo-manager/theme/img/photos_gold_32.gif new file mode 100644 index 000000000..e6bdfdcbc Binary files /dev/null and b/ui/demos/real-world/photo-manager/theme/img/photos_gold_32.gif differ diff --git a/ui/demos/real-world/photo-manager/theme/img/search_16.gif b/ui/demos/real-world/photo-manager/theme/img/search_16.gif new file mode 100644 index 000000000..d9ed18dfc Binary files /dev/null and b/ui/demos/real-world/photo-manager/theme/img/search_16.gif differ diff --git a/ui/demos/real-world/photo-manager/theme/img/side_top.jpg b/ui/demos/real-world/photo-manager/theme/img/side_top.jpg new file mode 100644 index 000000000..ecf5a18b6 Binary files /dev/null and b/ui/demos/real-world/photo-manager/theme/img/side_top.jpg differ diff --git a/ui/demos/real-world/photo-manager/theme/img/trash_16.gif b/ui/demos/real-world/photo-manager/theme/img/trash_16.gif new file mode 100644 index 000000000..cbe509180 Binary files /dev/null and b/ui/demos/real-world/photo-manager/theme/img/trash_16.gif differ diff --git a/ui/demos/real-world/product-slider/images/pb_airport_express.jpg b/ui/demos/real-world/product-slider/images/pb_airport_express.jpg new file mode 100644 index 000000000..d3ae98fa6 Binary files /dev/null and b/ui/demos/real-world/product-slider/images/pb_airport_express.jpg differ diff --git a/ui/demos/real-world/product-slider/images/pb_airport_extreme.jpg b/ui/demos/real-world/product-slider/images/pb_airport_extreme.jpg new file mode 100644 index 000000000..b7d1e0395 Binary files /dev/null and b/ui/demos/real-world/product-slider/images/pb_airport_extreme.jpg differ diff --git a/ui/demos/real-world/product-slider/images/pb_aperture20080212.jpg b/ui/demos/real-world/product-slider/images/pb_aperture20080212.jpg new file mode 100644 index 000000000..b8bc10830 Binary files /dev/null and b/ui/demos/real-world/product-slider/images/pb_aperture20080212.jpg differ diff --git a/ui/demos/real-world/product-slider/images/pb_apple_remote_desktop_20080115.jpg b/ui/demos/real-world/product-slider/images/pb_apple_remote_desktop_20080115.jpg new file mode 100644 index 000000000..760035bac Binary files /dev/null and b/ui/demos/real-world/product-slider/images/pb_apple_remote_desktop_20080115.jpg differ diff --git a/ui/demos/real-world/product-slider/images/pb_cinema_display20071026.jpg b/ui/demos/real-world/product-slider/images/pb_cinema_display20071026.jpg new file mode 100644 index 000000000..f75703766 Binary files /dev/null and b/ui/demos/real-world/product-slider/images/pb_cinema_display20071026.jpg differ diff --git a/ui/demos/real-world/product-slider/images/pb_dot_mac_20080115.jpg b/ui/demos/real-world/product-slider/images/pb_dot_mac_20080115.jpg new file mode 100644 index 000000000..d1bd8ffb6 Binary files /dev/null and b/ui/demos/real-world/product-slider/images/pb_dot_mac_20080115.jpg differ diff --git a/ui/demos/real-world/product-slider/images/pb_final_cut_express_20080115.jpg b/ui/demos/real-world/product-slider/images/pb_final_cut_express_20080115.jpg new file mode 100644 index 000000000..085b18033 Binary files /dev/null and b/ui/demos/real-world/product-slider/images/pb_final_cut_express_20080115.jpg differ diff --git a/ui/demos/real-world/product-slider/images/pb_final_cut_studio2_20080115.jpg b/ui/demos/real-world/product-slider/images/pb_final_cut_studio2_20080115.jpg new file mode 100644 index 000000000..1f9c60a64 Binary files /dev/null and b/ui/demos/real-world/product-slider/images/pb_final_cut_studio2_20080115.jpg differ diff --git a/ui/demos/real-world/product-slider/images/pb_ilife_20080115.jpg b/ui/demos/real-world/product-slider/images/pb_ilife_20080115.jpg new file mode 100644 index 000000000..69d6961bf Binary files /dev/null and b/ui/demos/real-world/product-slider/images/pb_ilife_20080115.jpg differ diff --git a/ui/demos/real-world/product-slider/images/pb_imac20071026.jpg b/ui/demos/real-world/product-slider/images/pb_imac20071026.jpg new file mode 100644 index 000000000..961eaf7ec Binary files /dev/null and b/ui/demos/real-world/product-slider/images/pb_imac20071026.jpg differ diff --git a/ui/demos/real-world/product-slider/images/pb_iwork_20080115.jpg b/ui/demos/real-world/product-slider/images/pb_iwork_20080115.jpg new file mode 100644 index 000000000..929b7130e Binary files /dev/null and b/ui/demos/real-world/product-slider/images/pb_iwork_20080115.jpg differ diff --git a/ui/demos/real-world/product-slider/images/pb_keyboards20070807.jpg b/ui/demos/real-world/product-slider/images/pb_keyboards20070807.jpg new file mode 100644 index 000000000..8bed6d3d8 Binary files /dev/null and b/ui/demos/real-world/product-slider/images/pb_keyboards20070807.jpg differ diff --git a/ui/demos/real-world/product-slider/images/pb_logic_express_20080115.jpg b/ui/demos/real-world/product-slider/images/pb_logic_express_20080115.jpg new file mode 100644 index 000000000..ff708e48b Binary files /dev/null and b/ui/demos/real-world/product-slider/images/pb_logic_express_20080115.jpg differ diff --git a/ui/demos/real-world/product-slider/images/pb_logic_studio_20080115.jpg b/ui/demos/real-world/product-slider/images/pb_logic_studio_20080115.jpg new file mode 100644 index 000000000..916ecce93 Binary files /dev/null and b/ui/demos/real-world/product-slider/images/pb_logic_studio_20080115.jpg differ diff --git a/ui/demos/real-world/product-slider/images/pb_mac_mini.jpg b/ui/demos/real-world/product-slider/images/pb_mac_mini.jpg new file mode 100644 index 000000000..4822b02e2 Binary files /dev/null and b/ui/demos/real-world/product-slider/images/pb_mac_mini.jpg differ diff --git a/ui/demos/real-world/product-slider/images/pb_mac_pro_20070622.jpg b/ui/demos/real-world/product-slider/images/pb_mac_pro_20070622.jpg new file mode 100644 index 000000000..d1e6ab8d6 Binary files /dev/null and b/ui/demos/real-world/product-slider/images/pb_mac_pro_20070622.jpg differ diff --git a/ui/demos/real-world/product-slider/images/pb_macbook20071026.jpg b/ui/demos/real-world/product-slider/images/pb_macbook20071026.jpg new file mode 100644 index 000000000..525175a4b Binary files /dev/null and b/ui/demos/real-world/product-slider/images/pb_macbook20071026.jpg differ diff --git a/ui/demos/real-world/product-slider/images/pb_macbook_pro20071026.jpg b/ui/demos/real-world/product-slider/images/pb_macbook_pro20071026.jpg new file mode 100644 index 000000000..4e4f42cca Binary files /dev/null and b/ui/demos/real-world/product-slider/images/pb_macbook_pro20071026.jpg differ diff --git a/ui/demos/real-world/product-slider/images/pb_macbookair_20080115.jpg b/ui/demos/real-world/product-slider/images/pb_macbookair_20080115.jpg new file mode 100644 index 000000000..595ecaf07 Binary files /dev/null and b/ui/demos/real-world/product-slider/images/pb_macbookair_20080115.jpg differ diff --git a/ui/demos/real-world/product-slider/images/pb_macosx_20080115.jpg b/ui/demos/real-world/product-slider/images/pb_macosx_20080115.jpg new file mode 100644 index 000000000..34ace8d55 Binary files /dev/null and b/ui/demos/real-world/product-slider/images/pb_macosx_20080115.jpg differ diff --git a/ui/demos/real-world/product-slider/images/pb_macosx_server20071016.jpg b/ui/demos/real-world/product-slider/images/pb_macosx_server20071016.jpg new file mode 100644 index 000000000..53066e432 Binary files /dev/null and b/ui/demos/real-world/product-slider/images/pb_macosx_server20071016.jpg differ diff --git a/ui/demos/real-world/product-slider/images/pb_mighty_mouse.jpg b/ui/demos/real-world/product-slider/images/pb_mighty_mouse.jpg new file mode 100644 index 000000000..a0267a7f7 Binary files /dev/null and b/ui/demos/real-world/product-slider/images/pb_mighty_mouse.jpg differ diff --git a/ui/demos/real-world/product-slider/images/pb_quicktime.jpg b/ui/demos/real-world/product-slider/images/pb_quicktime.jpg new file mode 100644 index 000000000..163059d46 Binary files /dev/null and b/ui/demos/real-world/product-slider/images/pb_quicktime.jpg differ diff --git a/ui/demos/real-world/product-slider/images/pb_shake_20080115.jpg b/ui/demos/real-world/product-slider/images/pb_shake_20080115.jpg new file mode 100644 index 000000000..43151b508 Binary files /dev/null and b/ui/demos/real-world/product-slider/images/pb_shake_20080115.jpg differ diff --git a/ui/demos/real-world/product-slider/images/pb_timecapsule_20080115.jpg b/ui/demos/real-world/product-slider/images/pb_timecapsule_20080115.jpg new file mode 100644 index 000000000..cdc24f583 Binary files /dev/null and b/ui/demos/real-world/product-slider/images/pb_timecapsule_20080115.jpg differ diff --git a/ui/demos/real-world/product-slider/images/pb_xsan_20080115.jpg b/ui/demos/real-world/product-slider/images/pb_xsan_20080115.jpg new file mode 100644 index 000000000..1623791e6 Binary files /dev/null and b/ui/demos/real-world/product-slider/images/pb_xsan_20080115.jpg differ diff --git a/ui/demos/real-world/product-slider/images/pb_xserve.jpg b/ui/demos/real-world/product-slider/images/pb_xserve.jpg new file mode 100644 index 000000000..f2c3f4b79 Binary files /dev/null and b/ui/demos/real-world/product-slider/images/pb_xserve.jpg differ diff --git a/ui/demos/real-world/product-slider/images/pb_xserve_raid.jpg b/ui/demos/real-world/product-slider/images/pb_xserve_raid.jpg new file mode 100644 index 000000000..f93f3dfc9 Binary files /dev/null and b/ui/demos/real-world/product-slider/images/pb_xserve_raid.jpg differ diff --git a/ui/demos/real-world/product-slider/images/productbrowser_background_20070622.jpg b/ui/demos/real-world/product-slider/images/productbrowser_background_20070622.jpg new file mode 100644 index 000000000..0eb8f8e16 Binary files /dev/null and b/ui/demos/real-world/product-slider/images/productbrowser_background_20070622.jpg differ diff --git a/ui/demos/real-world/product-slider/images/productbrowser_scrollbar_20070622.png b/ui/demos/real-world/product-slider/images/productbrowser_scrollbar_20070622.png new file mode 100644 index 000000000..997ac189c Binary files /dev/null and b/ui/demos/real-world/product-slider/images/productbrowser_scrollbar_20070622.png differ diff --git a/ui/demos/real-world/product-slider/images/productbrowser_scroller_20080115.png b/ui/demos/real-world/product-slider/images/productbrowser_scroller_20080115.png new file mode 100644 index 000000000..6c9d0f9bb Binary files /dev/null and b/ui/demos/real-world/product-slider/images/productbrowser_scroller_20080115.png differ diff --git a/ui/demos/real-world/product-slider/index.html b/ui/demos/real-world/product-slider/index.html new file mode 100644 index 000000000..abbd333fc --- /dev/null +++ b/ui/demos/real-world/product-slider/index.html @@ -0,0 +1,193 @@ + + + + + Slider Gallery + + + + + + + + + + + + + + + + + +
    +

    Slider Gallery

    +

    This shows a demonstration of a slider widget from the jQuery UI library used to create the same effect used on Apple's web site.

    +

    Read the article, and see the screencast this demonstration relates to

    + +
    +
      +
    • +
    • +
    • +
    • +
    • +
    • +
    • + +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • + +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • + +
    • +
    • +
    • +
    +
    +
    + Wi-Fi + Macs + Applications + Servers +
    +
    +
    + + + + + + diff --git a/ui/demos/real-world/splitpane/css/demo.css b/ui/demos/real-world/splitpane/css/demo.css new file mode 100644 index 000000000..72ed40afc --- /dev/null +++ b/ui/demos/real-world/splitpane/css/demo.css @@ -0,0 +1,149 @@ +/* -------------------------------------------------------------- + + jQuery UI: Demo Viewer + +-------------------------------------------------------------- */ + + +/*************************************/ +/* Blueprint: reset.css */ + +html, body, div, span, applet, object, iframe, +h1, h2, h3, h4, h5, h6, p, blockquote, pre, +a, abbr, acronym, address, big, cite, code, +del, dfn, em, font, img, ins, kbd, q, s, samp, +small, strike, strong, sub, sup, tt, var, +dl, dt, dd, ol, +fieldset, form, label, legend, +table, caption, tbody, tfoot, thead, tr, th, td { + margin: 0; + padding: 0; + border: 0; + outline: 0; + font-weight: inherit; + font-style: inherit; + font-size: 100%; + font-family: inherit; + vertical-align: baseline; +} + +label { + margin-right: 5px; +} + +/* Remember to define focus styles! */ +:focus { + outline: 0; +} +body { + line-height: 1; + color: black; + background: white; + font-family: Arial,Sans-serif; font-size: 0.9em; + background-color: white; + overflow: hidden; +} +ol, ul { + list-style: none; +} + +/* Tables still need 'cellspacing="0"' in the markup. */ +table { + border-collapse: separate; + border-spacing: 0; +} +caption, th, td { + text-align: left; + font-weight: normal; +} + +/* Remove possible quote marks (") from ,
    . */ +blockquote:before, blockquote:after, +q:before, q:after { + content: ""; +} +blockquote, q { + quotes: "" ""; +} + +/*************************************/ +/* Viewer: Layout */ + +#wrapper { + background: #e1e7f2 url(../images/bg_gradient.gif) repeat-x; + } + #header { + padding: 10px; + background: #67A7E3; color: #fff; + position: relative; + } + #container { + height: 500px; + } + #container td { + overflow: hidden; + } + #container td div { + overflow: hidden; + padding: 0 15px 0 10px; + background: #fff; + height:475px; + font-size: 90%; + } + #container .ui-split-side-box { + width: 200px; + } + #container .ui-split-side { + overflow: hidden; + } + #container .ui-split-side ul { + margin: 0; padding: 0; padding-top: 3px; + } + #container .ui-split-side li { + margin: 0; padding: 0; border: 0; outline: 0; + list-style: none; + } + #container .ui-split-side li a { + height: 15px; + display:block; + padding: 3px 3px 3px 12px; + border-bottom: 1px solid #E8EEF7; + color: #000; + font-size: 90%; + text-decoration: none; + } + #container .ui-split-side li a:hover { + background: #E8EEF7; + border-color: #C3D9FF; + } + #container .ui-split-main-box { + + } + + #container .ui-resizable-e { + width: 10px; height: 475px; + background:#e1e7f2 url(../images/splitpane_handle-ew.gif) no-repeat scroll 75% 50% !important; + cursor:col-resize !important; + border-left: #bbb 1px solid; + padding: 3px; + } + #container .ui-resizable-n { + height: 10px; + background:#e1e7f2 url(../images/splitpane_handle-sn.gif) no-repeat scroll 50% 55% !important; + border-top: #bbb 1px solid; + padding: 3px; + } + + + + .ui-toolbar-item-hide-icon { + padding-left: 16px; height: 16px; + background-image: url(../images/icons_2.png); + background-repeat: no-repeat; margin: 0 2px; + display: inline-block; + } + + .ui-toolbar-item-hide-icon { background-position: -64px 50%; } + + .proxy { border: 1px dashed #000; }; + diff --git a/ui/demos/real-world/splitpane/images/bg_gradient.gif b/ui/demos/real-world/splitpane/images/bg_gradient.gif new file mode 100644 index 000000000..d3f535e73 Binary files /dev/null and b/ui/demos/real-world/splitpane/images/bg_gradient.gif differ diff --git a/ui/demos/real-world/splitpane/images/icons_2.png b/ui/demos/real-world/splitpane/images/icons_2.png new file mode 100644 index 000000000..a05f52c7a Binary files /dev/null and b/ui/demos/real-world/splitpane/images/icons_2.png differ diff --git a/ui/demos/real-world/splitpane/images/splitpane_handle-ew.gif b/ui/demos/real-world/splitpane/images/splitpane_handle-ew.gif new file mode 100644 index 000000000..262763665 Binary files /dev/null and b/ui/demos/real-world/splitpane/images/splitpane_handle-ew.gif differ diff --git a/ui/demos/real-world/splitpane/images/splitpane_handle-sn.gif b/ui/demos/real-world/splitpane/images/splitpane_handle-sn.gif new file mode 100644 index 000000000..bd60c408b Binary files /dev/null and b/ui/demos/real-world/splitpane/images/splitpane_handle-sn.gif differ diff --git a/ui/demos/real-world/splitpane/index.html b/ui/demos/real-world/splitpane/index.html new file mode 100644 index 000000000..b13257557 --- /dev/null +++ b/ui/demos/real-world/splitpane/index.html @@ -0,0 +1,113 @@ + + + + + + jQuery UI: SplitPane + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + + + + + + + + + + + + + + + + +
    + + +
    + 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. +

    + 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. +

    + 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. +
    +
    +
    + + + -- cgit v1.2.3