simple layout tinyscrollbar fixed

This commit is contained in:
Harry Bomrah 2013-03-05 11:04:04 +08:00
parent 80b6a9ab48
commit dc92ef9f42
2 changed files with 11 additions and 6 deletions

View File

@ -310,11 +310,16 @@ var orbitDesktop = function(dom){
column_container.empty();
$("div[container=true]").html(h);
$("div[container=true] div.overview").html(temp_div.html());
o.tinyscrollbar_ext({
main : ".tinycanvas",
fill : base_width * total_columns
})
if(isNaN(base_width)){
o.tinyscrollbar_ext({
main : ".tinycanvas",
})
}else{
o.tinyscrollbar_ext({
main : ".tinycanvas",
fill : base_width * total_columns
})
}
}
this.menu_item = function(dom,customload,submenuitem){
if(!customload)customload=false;

View File

@ -8,7 +8,7 @@
<div class="tinycanvas vp">
<div class="scrollbar sb_v vp"><div class="track"><div class="thumb thmc2"><div class="end"></div></div></div></div>
<div class="viewport">
<div class="overview" content-layout="simple" base-width="1000">
<div class="overview" content-layout="simple">
<div id="st1" class="st_c">
<div class="theme_list ssl">
<% @themes.each do |theme| %>