This commit is contained in:
devin committed 2012-05-21 14:55:51 +08:00
1 parent 1a9fa8f505
commit ab7ae6dcee
3 files changed
+33 -3

No files matched your search

+14 -2
View File
@@ -1159,11 +1159,23 @@ var orbitDesktop = function(dom){
break;
}
return false;
})
});
// fill width for tiny scroll bar
var e = $('.list_t'),
count = e.length,
baseWidth = e.eq(1).outerWidth(true);
e.parents('.overview').width( baseWidth * count );
$('.tinycanvas')
.tinyscrollbar({ axis: 'x'})
.find('.scrollbar')
.delay(1500)
.addClass('op00', 500);
}
$("div#apps_store div#panel_r").load("/desktop_appstore/widgets",function(){
$.getJSON("/desktop_appstore/getuserwidgets",function(userwidgets){
var column = $('<div class="g_col list_t" style="width:350px;"><ul></ul></div>'),
var column = $('<div class="g_col list_t"><ul></ul></div>'),
counter = 1,
li;
$.each(userwidgets,function(i,widge){