* Nicer Buttons (still ugly)
[enigma2-plugins.git] / webinterface / src / web-data / IEFixes.htc
1 <PUBLIC:ATTACH EVENT="onmouseover" ONEVENT="DoHover()" />
2 <PUBLIC:ATTACH EVENT="onmouseout"  ONEVENT="RestoreHover()" />
3 <PUBLIC:ATTACH EVENT="onmousedown" ONEVENT="DoActive()" />
4 <PUBLIC:ATTACH EVENT="onmouseup"   ONEVENT="RestoreActive()" />
5 <SCRIPT LANGUAGE="JScript">
6 function DoHover()
7   { element.className += ' hover';
8   }
9
10 function DoActive()
11   { element.className += ' active';
12   }
13
14 function RestoreHover()
15   { element.className = element.className.replace(/\bhover\b/,'');
16   }
17
18 function RestoreActive()
19   { element.className = element.className.replace(/\bactive\b/,'');
20   }
21 </SCRIPT>