Commit Graph

98 Commits

Author SHA1 Message Date
Jörn Zaefferer
cd92ad09f5 Promote menubar and popup to their own top level files 2011-05-07 16:22:04 +02:00
Jörn Zaefferer
5973b4fa3f Popup: Better key handling on trigger, along with a few more TODO comments 2011-05-07 15:18:50 +02:00
Jörn Zaefferer
f7e8331e26 Popup: Improve key handling 2011-05-07 00:43:07 +02:00
Jörn Zaefferer
2cf85da23f Popup/Tooltip: Fix tab order and add notifications (on select) in
video-player demo.
2011-05-07 00:43:07 +02:00
Jörn Zaefferer
fbe982b9fb Popup: If popup is a menu, focus the first menu item, as menubar does. 2011-05-07 00:43:07 +02:00
Jörn Zaefferer
28017052a4 Popup: Fix the reopens-issue when clicking the trigger while popup is
visible, while still handling an actualy blur properly.
2011-05-07 00:43:07 +02:00
Jörn Zaefferer
993d37af1d Popup: Rename open flag to isOpen to avoid name conflict with open method. 2011-05-05 14:21:26 +02:00
Jörn Zaefferer
fd1b4f84fe Menubar: Code formatting. A bit of cleanup: Replace self with that;
replace an unnecessary each.
2011-05-04 11:50:07 +02:00
Jörn Zaefferer
c7459df062 Popup: Also expose open method 2011-05-04 11:21:30 +02:00
Jörn Zaefferer
018590064f Popup: Prevent SPACE key event on trigger from scrolling the page 2011-05-04 11:20:04 +02:00
Jörn Zaefferer
b96126b398 Popup: Rename _close to close and use it when selecting something within a popup. 2011-05-04 11:14:32 +02:00
Jörn Zaefferer
bba4cb2be6 Popup: Partial fix for closing popup when trigger is clicked again. 2011-05-04 11:06:32 +02:00
Jörn Zaefferer
f519bc0ebb Menubar review 2011-05-04 08:31:14 +02:00
Jörn Zaefferer
8201c13928 Popup: Update popup test 2011-05-04 08:20:41 +02:00
Jörn Zaefferer
f5ee22c74a Popup: Add a non-menu popup example 2011-05-03 22:42:35 +02:00
Jörn Zaefferer
cd61fb1b55 Merge branch 'master' into menubar
Conflicts:
	ui/jquery.ui.menu.js
2011-04-26 22:05:44 +02:00
Hans Hillen
f7d2fdbab8 removed unbind for focusin and focusout 2011-04-23 17:35:03 +02:00
Hans Hillen
54795b5650 change self.open to this.open 2011-04-23 17:31:25 +02:00
Hans Hillen
42e11d8e41 Fix error for Escape key on menubar item 2011-04-22 23:11:53 +02:00
Hans Hillen
45c418d293 Added focusin & focusout handler for menubar 2011-04-22 20:22:16 +02:00
Hans Hillen
03132f93fc Fix menubar escape key + minor css fix 2011-04-20 20:15:26 +02:00
jzaefferer
34e3a2401a Menu: Add icons support 2011-04-20 17:18:15 +02:00
Hans Hillen
d77185a5a1 Fix "menubar does not collapse when clicking on other menubar" + minor changes 2011-04-18 23:05:50 +02:00
jzaefferer
5076f233db Close popup when blurred and make sure that shift-tab when popup is open
skips the trigger.
2011-04-18 17:07:08 +02:00
Hans Hillen
e448cd0761 Added icon removal to _destroy 2011-04-15 20:31:43 +02:00
Hans Hillen
c6cbd8143b Updated menubar test to use UL elements rather than DIVs 2011-04-15 19:19:27 +02:00
Hans Hillen
8a0df90bf1 Accessibility / bug fixes for menubar 2011-04-15 19:18:58 +02:00
jzaefferer
00559b388a Update popup utility: Defer _open call and let click event propagate.
Fixes other popups to close. Also update aria usage.
2011-04-13 18:37:32 +02:00
jzaefferer
9d9e1ce122 Adding popup utility prototype to visual menu tests 2011-04-08 15:31:06 +02:00
jzaefferer
c0f7afd160 Menubar: Don't close active menu on mouseenter of associated button 2011-03-17 15:47:56 +01:00
jzaefferer
80d6d358f2 Menubar: on a single-button menubar, ignore reopening the same menu 2011-03-17 15:44:09 +01:00
jzaefferer
cb17d6d209 Menubar: Another fix for tab/focus handling 2011-03-17 15:37:27 +01:00
jzaefferer
24d1952045 Menubar: Fix closing with escape key 2011-03-17 15:26:06 +01:00
jzaefferer
133137b39b Menubar: Focus/tab handling, improved much 2011-03-17 15:10:25 +01:00
jzaefferer
d4a81ec043 Menubar: Put focus back to button when closing menu 2011-03-17 14:23:35 +01:00
jzaefferer
b53f242d2c Menubar: Close submenus on Escape first, only close all when on top-level 2011-03-17 13:58:57 +01:00
jzaefferer
37fee24ea6 Menubar: Handle cursor UP/DOWN to open menu 2011-03-17 12:04:22 +01:00
jzaefferer
2e38e04535 Menubar: Handle ESCAPE to close and refactor document-click code to also use _bind 2011-03-17 12:00:37 +01:00
jzaefferer
4f8c913b4a Menu: menubar cleanup 2011-03-17 11:51:38 +01:00
jzaefferer
4a04ad2019 Menu: Fix menubar tab and focus handling 2011-03-17 11:50:21 +01:00
jzaefferer
2ddf83faf3 Menu: More test markup 2011-03-17 10:35:18 +01:00
jzaefferer
5bc57a82c8 Menu: Add menubar-with-one-button-in-table example. 2011-03-11 18:17:28 +01:00
jzaefferer
5a5a809e7f Menu: Improve CSS on testpage 2011-03-11 18:17:28 +01:00
Richard Worth
593799d6e3 Switched to latest stable jQuery 1.5.1 2011-03-02 20:49:20 -05:00
jzaefferer
58b730f7c7 Menubar: Close menu on input click when already open 2011-02-28 22:53:06 +01:00
jzaefferer
f76e7498e7 Menubar: Remove dependency on button and simplify CSS accordingly. 2011-02-28 22:49:49 +01:00
jzaefferer
643e20ca3d Menu: Optimize menu positioning in menubar 2011-02-24 23:03:58 +01:00
jzaefferer
105ef8b851 Menu: Add ui-state-active to active menu bar button 2011-02-24 22:57:44 +01:00
maggiewachs
63a72814be Added two options to set the button style and add down arrow icons 2011-02-24 16:00:32 -05:00
maggiewachs
75afd3319b Added a second example to show a menubar with buttons and icons and one without (default) 2011-02-24 16:00:01 -05:00