issue6, improved page selector
[phpfspot.git] / phpfspot.js
index 22840b7990630a18463ea78cb95327a3ede8ce50..4b6a640eaf2d86bb45e73a4be199d1c8a8c05e73 100644 (file)
@@ -115,6 +115,11 @@ function startTagSearch(searchfor)
 
 }
 
+function setViewMode(mode)
+{
+   window.alert(mode);
+}
+
 function clearSearch()
 {
    document.getElementsByName('searchfor')[0].value = '';
@@ -129,5 +134,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;