summaryrefslogtreecommitdiffstats
path: root/phpfspot.js
diff options
context:
space:
mode:
authorAndreas Unterkircher <unki@netshadow.at>2007-07-06 16:53:10 +0000
committerAndreas Unterkircher <unki@netshadow.at>2007-07-06 16:53:10 +0000
commit8f3e27ca1aea300a47d35b9474c8f5fd588460da (patch)
treec6a9b4578f33852157168a5abee6cd9291e20d19 /phpfspot.js
parent64f41bc1539ec51b909817df8b71094e7ceb7724 (diff)
issue21, reordered photo index and added some nice mouseover effect
git-svn-id: file:///var/lib/svn/phpfspot/trunk@166 fa6a889d-dae6-447d-9e79-4ba9a3039384
Diffstat (limited to 'phpfspot.js')
-rw-r--r--phpfspot.js10
1 files changed, 10 insertions, 0 deletions
diff --git a/phpfspot.js b/phpfspot.js
index 22840b7..2132ea5 100644
--- a/phpfspot.js
+++ b/phpfspot.js
@@ -129,5 +129,15 @@ function init_phpfspot()
}
}
+function setBackGrdColor(item, color)
+{
+ if(color == 'mouseover')
+ item.style.backgroundColor='#c6e9ff';
+ if(color == 'mouseout')
+ item.style.backgroundColor='#eeeeee';
+ if(color == 'mouseclick')
+ item.style.backgroundColor='#93A8CA';
+}
+
var startup = 1;