some improvements for menu and select
This commit is contained in:
parent
f1a6df298b
commit
ec1693c2c4
5 changed files with 70 additions and 26 deletions
|
|
@ -228,7 +228,7 @@
|
|||
value: "Foo"
|
||||
}).addClass("margin").appendTo(mainPanel);
|
||||
Ox.Select({
|
||||
id: "select",
|
||||
id: "select1",
|
||||
items: [
|
||||
{
|
||||
checked: true,
|
||||
|
|
@ -245,6 +245,24 @@
|
|||
}
|
||||
]
|
||||
}).addClass("margin").width(96).appendTo(mainPanel);
|
||||
Ox.Select({
|
||||
id: "select2",
|
||||
items: [
|
||||
{
|
||||
checked: true,
|
||||
id: "four",
|
||||
title: "Four"
|
||||
},
|
||||
{
|
||||
id: "five",
|
||||
title: "Five"
|
||||
},
|
||||
{
|
||||
id: "six",
|
||||
title: "Six"
|
||||
}
|
||||
]
|
||||
}).addClass("margin").width(96).appendTo(mainPanel);
|
||||
//*/
|
||||
function switchTheme() {
|
||||
if (Ox.theme() == "classic") {
|
||||
|
|
|
|||
|
|
@ -130,7 +130,7 @@ $(function() {
|
|||
$(this).blur(); // fix for firefox
|
||||
menu.toggleMenu();
|
||||
})
|
||||
.bindEvent("OxClickMenu", function(event, data) {
|
||||
.bindEvent("OxClickMenu." + menu.id, function(event, data) {
|
||||
button.options({
|
||||
value: data.value
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue