1
0
Fork 0
forked from 0x2620/oxjs

some more menu and keyboard navigation

This commit is contained in:
Rolux 2010-02-05 14:43:03 +05:30
commit 150c3df7b6
2 changed files with 198 additions and 60 deletions

View file

@ -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",