diff options
author | Andreas Unterkircher <unki@netshadow.at> | 2007-06-23 08:40:48 +0000 |
---|---|---|
committer | Andreas Unterkircher <unki@netshadow.at> | 2007-06-23 08:40:48 +0000 |
commit | dc815d80d15437e0e6a56bfcfbff81b241cdd727 (patch) | |
tree | 6f1b570a0cf29284a859ea584db13d7a50055058 /phpfspot.js | |
parent | 39c86688aa230ba5010a821580e891b20c4e1a32 (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.js | 7 |
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) |