jumping menus updated..

This commit is contained in:
harrybomrah authored and chris committed 2012-12-04 00:30:10 +08:00
1 parent 6426fb74d9
commit ee830f148e
2 files changed
+6 -5

No files matched your search

+3 -3
View File
@@ -107,7 +107,9 @@ var orbitDesktop = function(dom){
$('body').on({
click: function(){
o.sub_menu_item($(this));
if(!$(this).hasClass('active')){
o.sub_menu_item($(this));
}
return false;
},
mouseenter: function(){
@@ -261,7 +263,6 @@ var orbitDesktop = function(dom){
}
}
this.sub_menu_item = function(dom){
if(!dom.hasClass('active')){
var sub_data_method = dom.attr('callback-method');
if(sub_data_method){
$("div[container=true]").load(dom.attr("href"),function(){
@@ -278,7 +279,6 @@ var orbitDesktop = function(dom){
}
$('*[content-type=menu] a').removeClass('thmc1 thmtxt active');
dom.addClass('thmc1 thmtxt active');
}
}
this.initializeDesktop = function(target,url,cache){ //this is for initializing main desktops that are sections and tiles