some nice credit page
[phpfspot.git] / phpfspot.js
index c2fe0d6f41e8e546ebf3750985e68fd05d3a54e7..99da2ce29099e7319b8d836f8c1fdecceede83cd 100644 (file)
@@ -4,6 +4,12 @@ function showImage(id)
    content.innerHTML = HTML_AJAX.grab('rpc.php?action=showphoto&id=' + id);
 }
 
+function showCredits()
+{
+   content = document.getElementById("content");
+   content.innerHTML = HTML_AJAX.grab('rpc.php?action=showcredits');
+}
+
 function Tags(mode, id)
 {
    if(mode == "add") {
@@ -44,3 +50,9 @@ function showPhotoIndex()
 //   content = document.getElementById("content");
 //   content.innerHTML = HTML_AJAX.grab('rpc.php?action=show_photo_index');
 }
+
+function showBubbleDetails(object, id, direction)
+{
+   HTML_AJAX.replace(object, 'rpc.php?action=showbubbledetails&id=' + id + '&direction=" + direction');
+}
+