From 0969ab27a46d4cc028004d8e28cb807c15f5829c Mon Sep 17 00:00:00 2001 From: ville rantanen Date: Mon, 16 Sep 2013 10:32:02 +0300 Subject: [PATCH] TRying to develop all button again. --- galleryscript.js | 3 ++- gallerystyle.css | 14 ++++++++++++++ 2 files changed, 16 insertions(+), 1 deletion(-) diff --git a/galleryscript.js b/galleryscript.js index a74fa9b..5b6fac0 100644 --- a/galleryscript.js +++ b/galleryscript.js @@ -1149,6 +1149,7 @@ function thumblist(n,curr) { if (maxThumb%2==1) { nright+=1; nleft+=1; } leftstr='
('+ends.first+')
'; rightstr='
('+(imagelist.length-ends.last)+')
'; + rightstr+='All'; menustr=''+ ' (S)etup'; thumbstr='
Images'+menustr+'
'+leftstr; @@ -1202,7 +1203,7 @@ function allthumbs() { // Shows all the thumbnails in the current folder thumbstr='
'; for (i=0; i'; + thumbstr+=''; } thumbstr+='
'; $('#thumbcontainer').html(thumbstr); diff --git a/gallerystyle.css b/gallerystyle.css index 93056d8..1858fca 100644 --- a/gallerystyle.css +++ b/gallerystyle.css @@ -232,6 +232,20 @@ iframe { line-height: 40px; font-family: sans-serif; } +#allthumbs { + width: 90px; + height: 20px; + text-align:center; + cursor: pointer; + background-color: #eee; + margin: 37px 2px 2px -31px; + line-height: 20px; + font-family: sans-serif; + font-size: medium; + -webkit-transform: rotate(-90deg); + -moz-transform: rotate(-90deg); + filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=3); +} #prevTouch,#nextTouch { width: 10%; height: inherit;