new page add and timeline changes

This commit is contained in:
Harry Bomrah committed 2012-06-28 17:31:48 +08:00
1 parent 4aa155a44d
commit 7151102a86
8 files changed
+53 -10

No files matched your search

+13 -4
View File
@@ -907,7 +907,6 @@ var orbitDesktop = function(dom){
var bindHandlers = function(){
var timeline = new orbitTimeline("timeline");
timeline.initialize();
$('.tinycanvas').tinyscrollbar({ axis: 'x'});
}
if(!o.desktopData[o.currentface]){
$(o.contentHolder).empty().load("/desktop_orbit/"+target,function(){
@@ -1143,7 +1142,10 @@ var orbitDesktop = function(dom){
switch(tfunc){
case 'widgets':
widgets();
break;
break;
case 'onlinestore':
onlinestore();
break;
}
$('.s_menu a').removeClass('thmc1 thmtxt active');
$(this).addClass('thmc1 thmtxt active');
@@ -1288,15 +1290,22 @@ var orbitDesktop = function(dom){
})
})
}
var onlinestore = function(){
var bindHandlers = function(){
}
$("div#apps_store div#panel_r").load("/desktop_appstore/onlinestore",function(){
bindHandlers();
})
}
if(!o.desktopData[o.currentface]){
$(o.contentHolder).empty().load("/desktop_appstore/"+target,function(){
widgets();
onlinestore();
bindHandlers();
});
}else{
$(o.contentHolder).html(o.desktopData[o.currentface]);
widgets();
onlinestore();
bindHandlers();
}
}