dump
This commit is contained in:
parent
222c0b9564
commit
b6266284b4
|
@ -254,6 +254,13 @@ var orbitDesktop = function(dom){
|
||||||
.find('.scrollbar')
|
.find('.scrollbar')
|
||||||
.delay(1500)
|
.delay(1500)
|
||||||
.addClass('op00', 500);
|
.addClass('op00', 500);
|
||||||
|
o.tinyscrollbar_ext({
|
||||||
|
target: '.tinycanvas',
|
||||||
|
tinysettings: {
|
||||||
|
|
||||||
|
}
|
||||||
|
});
|
||||||
|
|
||||||
|
|
||||||
o.simple_drop_down();
|
o.simple_drop_down();
|
||||||
$("div#group_wrapper ul li[data-category=app]").click(function(){
|
$("div#group_wrapper ul li[data-category=app]").click(function(){
|
||||||
|
@ -261,7 +268,7 @@ var orbitDesktop = function(dom){
|
||||||
title : $(this).find("a").attr("href"),
|
title : $(this).find("a").attr("href"),
|
||||||
appid : $(this).find("a").attr("href")
|
appid : $(this).find("a").attr("href")
|
||||||
});
|
});
|
||||||
})
|
});
|
||||||
}
|
}
|
||||||
var loadTiles = function(id){ //This will load tiles for a specific desktop .. id of section has to be passed here to load tiles
|
var loadTiles = function(id){ //This will load tiles for a specific desktop .. id of section has to be passed here to load tiles
|
||||||
$("div#desktop div#group_wrapper").empty();
|
$("div#desktop div#group_wrapper").empty();
|
||||||
|
@ -1482,24 +1489,34 @@ var orbitDesktop = function(dom){
|
||||||
o.notify("Wallpaper saving failed!!","imp",2);
|
o.notify("Wallpaper saving failed!!","imp",2);
|
||||||
})
|
})
|
||||||
};
|
};
|
||||||
this.tinyscrollbar_ext = function(fill,tinysettings){
|
this.tinyscrollbar_ext = function(target,fill,tinysettings){
|
||||||
tinysettings = ( typeof tinysettings == 'undefined' ) ? {} : tinysettings ;
|
tinysettings = ( typeof tinysettings == 'undefined' ) ? {} : tinysettings ;
|
||||||
|
tinysettings.theight = ( typeof tinysettings.theight == 'undefined' ) ? '' : tinysettings.theight ;
|
||||||
|
|
||||||
var count,baseWidth;
|
var count,baseWidth;
|
||||||
|
|
||||||
if( typeof fill == 'object' ){
|
if( typeof fill == 'object' ){
|
||||||
count = fill.length;
|
count = fill.length;
|
||||||
baseWidth = fill.eq(1).outerWidth(true);
|
baseWidth = fill.eq(1).outerWidth(true);
|
||||||
|
fill.parents('.overview').width( baseWidth * count );
|
||||||
|
} else if( typeof fill == 'number' ){
|
||||||
|
fill.parents('.overview').width( fill );
|
||||||
|
} else if( typeof fill == 'undefined' ){
|
||||||
|
fill = fill;
|
||||||
|
} else {
|
||||||
|
o.notify('tinyscrollbar: setting width failed','imp',2);
|
||||||
}
|
}
|
||||||
|
|
||||||
fill.parents('.overview').width( baseWidth * count );
|
|
||||||
|
|
||||||
$(this)
|
if( typeof $(target) !== 'undefined' ){
|
||||||
.css({'height': tinysettings.height })
|
$(target)
|
||||||
.tinyscrollbar( tinysettings )
|
.tinyscrollbar( tinysettings )
|
||||||
.find('.scrollbar')
|
.find('.scrollbar')
|
||||||
.delay(1500)
|
.delay(1500)
|
||||||
.addClass('op00', 500);
|
.addClass('op00', 500);
|
||||||
|
} else {
|
||||||
|
o.notify('tinyscrollbar: target undefined','imp',2);
|
||||||
|
}
|
||||||
};
|
};
|
||||||
this.simple_drop_down = function(){
|
this.simple_drop_down = function(){
|
||||||
// simple dropdown menu
|
// simple dropdown menu
|
||||||
|
|
Loading…
Reference in New Issue