From: Andreas Unterkircher Date: Sun, 25 May 2008 08:08:48 +0000 (+0200) Subject: auto-browse needs to use the 16x16 icons instead of 32x32 which are used in slideshow X-Git-Url: https://git.nubati.net/cgi-bin/gitweb.cgi?p=phpfspot.git;a=commitdiff_plain;h=970b037a059e4ff00a436296449f886b3f08c674 auto-browse needs to use the 16x16 icons instead of 32x32 which are used in slideshow Signed-off-by: Andreas Unterkircher --- diff --git a/phpfspot.js b/phpfspot.js index 75d0ed7..3421583 100644 --- a/phpfspot.js +++ b/phpfspot.js @@ -769,12 +769,12 @@ function autoBrowse() if(document.getElementById('next_link')) { var next_link = document.getElementById('next_link').href; window.location.href = next_link; - document.getElementById('autobrowse_ico').src = web_path + "/resources/32_pause.png"; + document.getElementById('autobrowse_ico').src = web_path + "/resources/16_pause.png"; } /* we have reached the last photo */ else { if(ab_ico = document.getElementById('autobrowse_ico')) - ab_ico.src = web_path + "/resources/32_play.png"; + ab_ico.src = web_path + "/resources/16_play.png"; clearInterval(autobrowse); } diff --git a/resources/16_pause.png b/resources/16_pause.png new file mode 100644 index 0000000..2372203 Binary files /dev/null and b/resources/16_pause.png differ