From 45443cb5ea600f072219c2584a815cefc958a86a Mon Sep 17 00:00:00 2001 From: ville rantanen Date: Mon, 16 Sep 2013 10:52:38 +0300 Subject: [PATCH] TRying to develop all button again. --- galleryscript.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/galleryscript.js b/galleryscript.js index d75e57c..6eb4104 100644 --- a/galleryscript.js +++ b/galleryscript.js @@ -1133,7 +1133,7 @@ function thumblist(n,curr) { // creates the short thumbnail list maxThumb=getmaxthumbs(); if (imagelist.length==0) { return; } - $('#thumbcontainer').css('width',document.body.clientWidth-60); + $('#thumbcontainer').css('width',document.body.clientWidth-30); ends=getThumbStartEnd(n,maxThumb); currentlist=ends.last; nright=ends.last-Math.round((maxThumb/2))+maxThumb-1; @@ -1527,7 +1527,7 @@ function flipzoom() { showimage(currentimage); } function getmaxthumbs() { - return Math.floor((document.body.clientWidth-30)/100)-2; + return Math.floor((document.body.clientWidth-30)/100)-3; } function isHTML(s) {