main menu: add public highlight method
This commit is contained in:
parent
18d100f978
commit
1f29646b28
1 changed files with 8 additions and 0 deletions
|
@ -201,6 +201,14 @@ Ox.MainMenu = function(options, self) {
|
||||||
return menu;
|
return menu;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
that.highlightMenu = function(id) {
|
||||||
|
var position = Ox.getIndexById(self.options.menus, id);
|
||||||
|
that.titles[position].addClass('OxSelected');
|
||||||
|
setTimeout(function() {
|
||||||
|
that.titles[position].removeClass('OxSelected');
|
||||||
|
}, 250);
|
||||||
|
};
|
||||||
|
|
||||||
that.removeMenu = function() {
|
that.removeMenu = function() {
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue