summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndreas Unterkircher <unki@netshadow.at>2007-06-14 19:52:55 +0000
committerAndreas Unterkircher <unki@netshadow.at>2007-06-14 19:52:55 +0000
commit5477fa94d9278968eb3d7182c9c400512cab2b22 (patch)
treed92aee723507ca37b921124a8bd34ddcee272c96
parentfd71e0b995cdc0d3dbd0a6a56c355394e0e633f8 (diff)
issue7 - some IE compatibility fixes
git-svn-id: file:///var/lib/svn/phpfspot/trunk@91 fa6a889d-dae6-447d-9e79-4ba9a3039384
-rw-r--r--phpfspot.js16
1 files changed, 8 insertions, 8 deletions
diff --git a/phpfspot.js b/phpfspot.js
index 7049cd6..4849295 100644
--- a/phpfspot.js
+++ b/phpfspot.js
@@ -1,13 +1,13 @@
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()
{
- 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)
@@ -37,15 +37,15 @@ function Tags(mode, id)
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
- 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()