some more menu and keyboard navigation
This commit is contained in:
parent
88057655f0
commit
150c3df7b6
2 changed files with 198 additions and 60 deletions
|
|
@ -74,18 +74,43 @@ $(function() {
|
|||
},
|
||||
],
|
||||
title: "More",
|
||||
},
|
||||
{
|
||||
id: "even_more",
|
||||
items: [
|
||||
{
|
||||
checked: true,
|
||||
group: "101112",
|
||||
id: "tenth",
|
||||
title: "Tenth"
|
||||
},
|
||||
{
|
||||
checked: false,
|
||||
group: "101112",
|
||||
id: "eleventh",
|
||||
title: "Eleventh"
|
||||
},
|
||||
{
|
||||
checked: false,
|
||||
group: "101112",
|
||||
id: "twelfth",
|
||||
title: "Twelfth"
|
||||
},
|
||||
],
|
||||
title: "Even More",
|
||||
}
|
||||
]
|
||||
});
|
||||
button.click(function() {
|
||||
$(this).blur(); // fix for firefox
|
||||
menu.toggleMenu();
|
||||
});
|
||||
Ox.Event.bind("OxClickMenu", function(event, data) {
|
||||
button.options({
|
||||
value: data.value
|
||||
button
|
||||
.click(function() {
|
||||
$(this).blur(); // fix for firefox
|
||||
menu.toggleMenu();
|
||||
})
|
||||
.bindEvent("OxClickMenu", function(event, data) {
|
||||
button.options({
|
||||
value: data.value
|
||||
});
|
||||
});
|
||||
});
|
||||
$select = $("<select>")
|
||||
.css({
|
||||
position: "absolute",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue