minor update

This commit is contained in:
devin chen authored and Matt K. Fu committed 2013-04-17 14:19:32 +08:00
1 parent d288972035
commit d177fe0369
5 files changed
+20 -9

No files matched your search

+10 -7
View File
@@ -1665,15 +1665,18 @@ var orbitDesktop = function(dom){
};
this.simple_drop_down = function(){
// simple dropdown menu
if( !$('.sdm').children('.sdm_o').length > 0 ){
return;
} else {
$('.sdm').hover(function(){
$(this).stop(1,1).addClass('thmc2 thmtxt');
}, function(){
$(this).stop(1,1).removeClass('thmc2 thmtxt');
var $sdm = $('.sdm');
if( $sdm.find('.sdm_o') ){
$sdm.find('a').andSelf().on({
mouseenter: function(){
$(this).addClass('thmc2 thmtxt');
},
mouseleave: function(){
$(this).removeClass('thmc2 thmtxt');
}
});
}
};
this.simple_tab = function(){
// tab