TRying to develop all button again.
This commit is contained in:
@@ -1133,7 +1133,7 @@ function thumblist(n,curr) {
|
|||||||
// creates the short thumbnail list
|
// creates the short thumbnail list
|
||||||
maxThumb=getmaxthumbs();
|
maxThumb=getmaxthumbs();
|
||||||
if (imagelist.length==0) { return; }
|
if (imagelist.length==0) { return; }
|
||||||
$('#thumbcontainer').css('width',document.body.clientWidth-60);
|
$('#thumbcontainer').css('width',document.body.clientWidth-30);
|
||||||
ends=getThumbStartEnd(n,maxThumb);
|
ends=getThumbStartEnd(n,maxThumb);
|
||||||
currentlist=ends.last;
|
currentlist=ends.last;
|
||||||
nright=ends.last-Math.round((maxThumb/2))+maxThumb-1;
|
nright=ends.last-Math.round((maxThumb/2))+maxThumb-1;
|
||||||
@@ -1527,7 +1527,7 @@ function flipzoom() {
|
|||||||
showimage(currentimage);
|
showimage(currentimage);
|
||||||
}
|
}
|
||||||
function getmaxthumbs() {
|
function getmaxthumbs() {
|
||||||
return Math.floor((document.body.clientWidth-30)/100)-2;
|
return Math.floor((document.body.clientWidth-30)/100)-3;
|
||||||
}
|
}
|
||||||
|
|
||||||
function isHTML(s) {
|
function isHTML(s) {
|
||||||
|
|||||||
Reference in New Issue
Block a user