This commit is contained in:
devin committed 2012-05-10 17:41:56 +08:00
1 parent ada56a7a63
commit 97b60c48b2
2 files changed
+51 -18

No files matched your search

+7 -1
View File
@@ -1040,6 +1040,7 @@ var orbitDesktop = function(dom){
e.parents('.overview').width( baseWidth * count );
$('.tinycanvas')
.tinyscrollbar({ axis: 'x'})
@@ -1106,7 +1107,7 @@ var orbitDesktop = function(dom){
};
this.simple_drop_down = function(){
// simple dropdown menu
if( !$('.sdm').children('.sdm_o') ){
if( !$('.sdm').children('.sdm_o').length > 0 ){
return;
} else {
$('.sdm').hover(function(){
@@ -1114,6 +1115,11 @@ var orbitDesktop = function(dom){
}, function(){
$(this).stop(1,1).toggleClass('thmc2 thmtxt');
});
$('.sdm').find('a').hover(function(){
$(this).stop(1,1).toggleClass('thmc2 thmtxt');
}, function(){
$(this).stop(1,1).toggleClass('thmc2 thmtxt');
});
}
}
o.initialize();