minor update

This commit is contained in:
devin chen committed 2013-04-03 15:38:59 +08:00
1 parent 2f0533db2d
commit 3d7b54df1c
5 files changed
+20 -9

No files matched your search

+10 -7
View File
@@ -1637,15 +1637,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