Aucune description

taskbox.htc 852B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  1. <public:component lightweight="true">
  2. <public:attach event="onmouseover" onevent="on()"/>
  3. <public:attach event="onmouseout" onevent="off()"/>
  4. <script language="JavaScript">
  5. function on()
  6. {
  7. var o = event.srcElement;
  8. switch (o.tagName)
  9. {
  10. case "TD":
  11. o = o.parentElement;
  12. break;
  13. case "NOBR":
  14. case "IMG":
  15. o = o.parentElement.parentElement;
  16. }
  17. if (o.className == "wizItem")
  18. {
  19. if (!o.title && o.lastChild.firstChild.innerText != "")
  20. {
  21. o.title = o.lastChild.firstChild.innerText;
  22. }
  23. with (o.runtimeStyle)
  24. {
  25. color = "#000000";
  26. backgroundColor = "#E2E8F7";
  27. }
  28. }
  29. }
  30. function off()
  31. {
  32. var o = event.srcElement;
  33. switch (o.tagName)
  34. {
  35. case "TD": o = o.parentElement; break;
  36. case "NOBR":
  37. case "IMG":
  38. o = o.parentElement.parentElement;
  39. }
  40. if (o.className == "wizItem")
  41. {
  42. with (o.runtimeStyle)
  43. {
  44. color = "";
  45. backgroundColor = "";
  46. }
  47. }
  48. }
  49. </script>
  50. </public:component>