From 8f3e27ca1aea300a47d35b9474c8f5fd588460da Mon Sep 17 00:00:00 2001 From: Andreas Unterkircher Date: Fri, 6 Jul 2007 16:53:10 +0000 Subject: 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 --- phpfspot.js | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'phpfspot.js') 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; -- cgit v1.2.3-18-g5258