summaryrefslogtreecommitdiffstats
path: root/phpfspot.js
diff options
context:
space:
mode:
authorAndreas Unterkircher <unki@netshadow.at>2007-06-23 08:40:48 +0000
committerAndreas Unterkircher <unki@netshadow.at>2007-06-23 08:40:48 +0000
commitdc815d80d15437e0e6a56bfcfbff81b241cdd727 (patch)
tree6f1b570a0cf29284a859ea584db13d7a50055058 /phpfspot.js
parent39c86688aa230ba5010a821580e891b20c4e1a32 (diff)
issue6, first implementation of paged photo index view
use thumbnail width & height for <img> to avoid "flipping" when images are getting loaded fixed issue when all selected tags are clicked away but photo index still stays, there are no matching photos git-svn-id: file:///var/lib/svn/phpfspot/trunk@124 fa6a889d-dae6-447d-9e79-4ba9a3039384
Diffstat (limited to 'phpfspot.js')
-rw-r--r--phpfspot.js7
1 files changed, 5 insertions, 2 deletions
diff --git a/phpfspot.js b/phpfspot.js
index 4849295..fcc5766 100644
--- a/phpfspot.js
+++ b/phpfspot.js
@@ -48,9 +48,12 @@ function refreshSelectedTags()
selected_tags.innerHTML = HTML_AJAX.grab(encodeURI('rpc.php?action=show_selected_tags'));
}
-function showPhotoIndex()
+function showPhotoIndex(begin_with)
{
- HTML_AJAX.replace(document.getElementById("content"), encodeURI('rpc.php?action=show_photo_index'));
+ if(begin_with == undefined)
+ HTML_AJAX.replace(document.getElementById("content"), encodeURI('rpc.php?action=show_photo_index'));
+ else
+ HTML_AJAX.replace(document.getElementById("content"), encodeURI('rpc.php?action=show_photo_index&begin_with=' + begin_with));
}
function showBubbleDetails(object, id, direction)