home *** CD-ROM | disk | FTP | other *** search
/ Chip 2003 May / CHIPCD200305.iso / super / altn / md_en.exe / LOOKOUTBUTTON.HTC < prev    next >
Encoding:
Extensible Markup Language  |  2002-11-19  |  898 b   |  30 lines

  1. <?XML version="1.0"?>
  2. <PUBLIC:COMPONENT>
  3. <PUBLIC:ATTACH EVENT="onmouseover" ONEVENT="mouseOverHandler()"></PUBLIC:ATTACH>
  4. <PUBLIC:ATTACH EVENT="onmousedown" ONEVENT="mouseDownHandler()"></PUBLIC:ATTACH>
  5. <PUBLIC:ATTACH EVENT="onmouseup" ONEVENT="mouseUpHandler()"></PUBLIC:ATTACH>
  6. <PUBLIC:ATTACH EVENT="onmouseout" ONEVENT="mouseOutHandler()"></PUBLIC:ATTACH>
  7. <SCRIPT>
  8. function mouseOverHandler(){
  9. if(!this.disabled && (    this.style.filter != 'none' || this.style.border != '2px outset')){
  10.     this.style.border = "2px outset";
  11.     this.style.filter = 'none';
  12.     }
  13. }
  14. function mouseDownHandler(){
  15. if(!this.disabled)
  16.     this.style.border = "2px inset";
  17. }
  18. function mouseUpHandler(){
  19. if(!this.disabled)
  20.     this.style.border = "2px outset";
  21. }
  22. function mouseOutHandler(){
  23. if(!this.disabled){
  24.     this.style.border = "2px solid"
  25.     this.style.filter = 'gray';
  26.     }
  27. }
  28. </SCRIPT>
  29. </PUBLIC:COMPONENT>
  30.