From 5265afe15da056af94e1708e740dcc77b23a7929 Mon Sep 17 00:00:00 2001 From: Andreas Unterkircher Date: Sun, 25 May 2008 10:08:48 +0200 Subject: auto-browse needs to use the 16x16 icons instead of 32x32 which are used in slideshow Signed-off-by: Andreas Unterkircher --- phpfspot.js | 4 ++-- resources/16_pause.png | Bin 0 -> 440 bytes 2 files changed, 2 insertions(+), 2 deletions(-) create mode 100644 resources/16_pause.png diff --git a/phpfspot.js b/phpfspot.js index 8db1f65..b4e8421 100644 --- a/phpfspot.js +++ b/phpfspot.js @@ -757,12 +757,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 -- cgit v1.2.3-18-g5258