issue7 - some IE compatibility fixes
authorAndreas Unterkircher <unki@netshadow.at>
Thu, 14 Jun 2007 19:52:55 +0000 (19:52 +0000)
committerAndreas Unterkircher <unki@netshadow.at>
Thu, 14 Jun 2007 19:52:55 +0000 (19:52 +0000)
git-svn-id: file:///var/lib/svn/phpfspot/trunk@91 fa6a889d-dae6-447d-9e79-4ba9a3039384

phpfspot.js

index 7049cd619a5a4a493ada66f6684c088e59c9a232..4849295d0b311699f46974e4dd69a9c8644d0153 100644 (file)
@@ -1,13 +1,13 @@
 function showImage(id)
 {
 function showImage(id)
 {
-   content = document.getElementById("content");
-   content.innerHTML = HTML_AJAX.grab(encodeURI('rpc.php?action=showphoto&id=' + id));
+   var image_div = document.getElementById("content");
+   image_div.innerHTML = HTML_AJAX.grab(encodeURI('rpc.php?action=showphoto&id=' + id));
 }
 
 function showCredits()
 {
 }
 
 function showCredits()
 {
-   content = document.getElementById("content");
-   content.innerHTML = HTML_AJAX.grab(encodeURI('rpc.php?action=showcredits'));
+   var credits = document.getElementById("content");
+   credits.innerHTML = HTML_AJAX.grab(encodeURI('rpc.php?action=showcredits'));
 }
 
 function Tags(mode, id)
 }
 
 function Tags(mode, id)
@@ -37,15 +37,15 @@ function Tags(mode, id)
 function refreshAvailableTags()
 {
    // update available tags
 function refreshAvailableTags()
 {
    // update available tags
-   content = document.getElementById("available_tags");
-   content.innerHTML = HTML_AJAX.grab(encodeURI('rpc.php?action=show_available_tags'));
+   var avail_tags = document.getElementById('available_tags');
+   avail_tags.innerHTML = HTML_AJAX.grab(encodeURI('rpc.php?action=show_available_tags'));
 }
 
 function refreshSelectedTags()
 {
    // update selected tags
 }
 
 function refreshSelectedTags()
 {
    // update selected tags
-   content = document.getElementById("selected_tags");
-   content.innerHTML = HTML_AJAX.grab(encodeURI('rpc.php?action=show_selected_tags'));
+   var selected_tags = document.getElementById("selected_tags");
+   selected_tags.innerHTML = HTML_AJAX.grab(encodeURI('rpc.php?action=show_selected_tags'));
 }
 
 function showPhotoIndex()
 }
 
 function showPhotoIndex()