forked from 0x2620/oxjs
Ox.Clipboard: add events; Ox.Request: cleanup; Ox.MainMenu: use OxHighlight class; Themes: add bar highlight color and gradient
This commit is contained in:
parent
b1b2785a15
commit
27bbbdbd83
8 changed files with 35 additions and 8 deletions
|
|
@ -204,11 +204,11 @@ Ox.MainMenu = function(options, self) {
|
|||
that.highlightMenu = function(id) {
|
||||
var position = Ox.getIndexById(self.options.menus, id);
|
||||
self.highlightTimeout && clearTimeout(self.highlightTimeout);
|
||||
that.titles[position].addClass('OxSelected');
|
||||
that.titles[position].addClass('OxHighlight');
|
||||
self.highlightTimeout = setTimeout(function() {
|
||||
that.titles[position].removeClass('OxSelected');
|
||||
that.titles[position].removeClass('OxHighlight');
|
||||
delete self.highlightTimeout;
|
||||
}, 250);
|
||||
}, 500);
|
||||
};
|
||||
|
||||
that.removeMenu = function() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue