From 85348eeebed3521b5eea78d8930ee086c08cd62e Mon Sep 17 00:00:00 2001 From: Jörn Zaefferer Date: Wed, 4 Jan 2012 16:40:44 +0100 Subject: Menubar/Popup: Remove both to streamline the 1.9 release. Will revert this delete on the menubar branch, while development on master can continue without them. --- demos/index.html | 42 ++++---- demos/menu/contextmenu.html | 65 ------------ demos/menubar/default.html | 208 -------------------------------------- demos/menubar/index.html | 16 --- demos/popup/animation.html | 84 --------------- demos/popup/default.html | 69 ------------- demos/popup/index.html | 20 ---- demos/popup/popup-menu-table.html | 108 -------------------- demos/popup/popup-menu.html | 92 ----------------- demos/popup/tooltip.html | 61 ----------- demos/tooltip/video-player.html | 32 +----- 11 files changed, 22 insertions(+), 775 deletions(-) delete mode 100644 demos/menu/contextmenu.html delete mode 100644 demos/menubar/default.html delete mode 100644 demos/menubar/index.html delete mode 100644 demos/popup/animation.html delete mode 100644 demos/popup/default.html delete mode 100644 demos/popup/index.html delete mode 100644 demos/popup/popup-menu-table.html delete mode 100644 demos/popup/popup-menu.html delete mode 100644 demos/popup/tooltip.html (limited to 'demos') diff --git a/demos/index.html b/demos/index.html index 69767febf..76ddcd3da 100644 --- a/demos/index.html +++ b/demos/index.html @@ -20,8 +20,6 @@ - - @@ -111,7 +109,7 @@ @@ -285,8 +283,6 @@
Datepicker
Dialog
Menu
-
Menubar
-
Popup
Progressbar
Slider
Spinner
@@ -307,7 +303,7 @@
Widget
About jQuery UI
Getting Started
-
Upgrade Guide
+
Upgrade Guide
Changelog
Roadmap
Subversion Access
@@ -328,7 +324,7 @@

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.

- + diff --git a/demos/menu/contextmenu.html b/demos/menu/contextmenu.html deleted file mode 100644 index 33e07f7ec..000000000 --- a/demos/menu/contextmenu.html +++ /dev/null @@ -1,65 +0,0 @@ - - - - - jQuery UI Menu - Contextmenu demo - - - - - - - - - - - - - - -
- - - - -
- -
- -
- -

A simple contextmenu: Click the button, or tab to it and hit space to open the menu. Use the mouse or cursor keys to select an item, click it or hit enter to select it.

- -

The keyboard handling is part of the menu. Using the input option to menu is configured to add the key event handlers to the button, as that button gets focused when clicked.

- -
- - - - - diff --git a/demos/menubar/default.html b/demos/menubar/default.html deleted file mode 100644 index ef39a7121..000000000 --- a/demos/menubar/default.html +++ /dev/null @@ -1,208 +0,0 @@ - - - - jQuery UI Menubar - Default demo - - - - - - - - - - - - - - -
- - - - - - -
- Log: -
-
-
- -
- -

TODO

- -
- - - - diff --git a/demos/menubar/index.html b/demos/menubar/index.html deleted file mode 100644 index 3eebda2d0..000000000 --- a/demos/menubar/index.html +++ /dev/null @@ -1,16 +0,0 @@ - - - - - jQuery UI Menubar Demos - - - -
-

Examples

- -
- - diff --git a/demos/popup/animation.html b/demos/popup/animation.html deleted file mode 100644 index 7df89d31b..000000000 --- a/demos/popup/animation.html +++ /dev/null @@ -1,84 +0,0 @@ - - - - jQuery UI Popup - Animation demo - - - - - - - - - - - - - - - - -
- Log In -
-
- - -
-
- - -
-
- -
-
-
- -
- -

A link to a login form that opens as a popup. Open and close animations have been used.

- -
- - - - diff --git a/demos/popup/default.html b/demos/popup/default.html deleted file mode 100644 index f0ff9a57e..000000000 --- a/demos/popup/default.html +++ /dev/null @@ -1,69 +0,0 @@ - - - - jQuery UI Popup - Default demo - - - - - - - - - - - - - -
- Log In -
-
- - -
-
- - -
-
- -
-
-
- -
- -

A link to a login form that opens as a popup.

- -
- - - - diff --git a/demos/popup/index.html b/demos/popup/index.html deleted file mode 100644 index 63636241b..000000000 --- a/demos/popup/index.html +++ /dev/null @@ -1,20 +0,0 @@ - - - - - jQuery UI Popup Demos - - - -
-

Examples

- -
- - diff --git a/demos/popup/popup-menu-table.html b/demos/popup/popup-menu-table.html deleted file mode 100644 index c79c30503..000000000 --- a/demos/popup/popup-menu-table.html +++ /dev/null @@ -1,108 +0,0 @@ - - - - jQuery UI Popup - Menu as Popup in table demo - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameRelease YearAverage Rating
Red Hot Chili Peppers: Funky Monks19933.6 - -
Rod Stewart: Storyteller 1984-199119913.1
Stevie Ray Vaughan and Double Trouble: Live at the El Mocambo 198319913.9
Spike and Mike's Sick & Twisted Festival of Animation19972.6
- -
-
- - -
- -

Poup menu in a table. Works okay standalone, not so much in the scrolling demo view. For that to work better, position() would have to take the closest scrolled parent into account for collision detection.

- -
- - - - diff --git a/demos/popup/popup-menu.html b/demos/popup/popup-menu.html deleted file mode 100644 index 89d17c0bc..000000000 --- a/demos/popup/popup-menu.html +++ /dev/null @@ -1,92 +0,0 @@ - - - - jQuery UI Popup - Popup Menu - - - - - - - - - - - - - - -
- - - - - -
-
- - - -
-
- -
-
- - -
- -

Make the popup a menu (or the menu a popup) and you get context menus.

- -
- - - - diff --git a/demos/popup/tooltip.html b/demos/popup/tooltip.html deleted file mode 100644 index c955a3c6a..000000000 --- a/demos/popup/tooltip.html +++ /dev/null @@ -1,61 +0,0 @@ - - - - jQuery UI Popup - Tooltip style demo - - - - - - - - - - - - - -
-
- -
This is some more info and there is even more info on this page.
-
-
- -
- -

A "more info" popup that works on mouseover (tooltip).

- -
- - - - diff --git a/demos/tooltip/video-player.html b/demos/tooltip/video-player.html index 365934f72..8ac0338fd 100644 --- a/demos/tooltip/video-player.html +++ b/demos/tooltip/video-player.html @@ -11,7 +11,6 @@ - @@ -69,14 +68,6 @@ $( this ).remove(); }); } - $( "ul" ).menu({ - select: function( event, ui ) { - // TODO should probably be handled by popup, see ESCAPE key handler - // affects key handling - $( this ).prev().focus(); - notify( ui.item ); - } - }).popup(); $( "button" ).each(function() { var button = $( this ).button({ @@ -85,15 +76,9 @@ }, text: !!$( this ).attr( "title" ) }); - if ( button.next().is( ":ui-popup" ) ) { - button.click(function( event ) { - $( ".demo" ).tooltip( "close", event ); - }); - } else { - button.click(function() { - notify( button ); - }); - } + button.click(function() { + notify( button ); + }); }); $( ".set" ).buttonset({ items: "button" @@ -127,17 +112,6 @@
-
-- cgit v1.2.3