home *** CD-ROM | disk | FTP | other *** search
/ Beweegwijzer / beweegwijzer.iso / setup / _SETUP.1 / MenuBtn.htc < prev    next >
Encoding:
Text File  |  2000-09-04  |  800 b   |  26 lines

  1. <PUBLIC:ATTACH EVENT="onmouseover" HANDLER="Hilite" />
  2. <PUBLIC:ATTACH EVENT="onmouseout"  HANDLER="Restore" />
  3. <PUBLIC:ATTACH EVENT="onclick"  HANDLER="Choose" />
  4.  
  5. <script language="JavaScript">
  6. function Hilite() {
  7.   theNum = parseInt(element.num);
  8.   element.style.backgroundImage = "url('images/bck_mm_1.bmp')";
  9. //  MmText[theNum].style.color = "#000000";
  10.   MmText[theNum].style.visibility = "inherit";
  11.   }
  12.  
  13. function Restore() {
  14.   theNum = parseInt(element.num);
  15.   element.style.backgroundImage = "url('images/bck_mm_0.bmp')";
  16. //  MmText[theNum].style.color = "#ffffff";
  17.   MmText[theNum].style.visibility = "hidden";
  18.   }
  19.  
  20. function Choose() {
  21.   if (parent.soundSettings == 2) parent.snd.src="sounds/audio3.wav";
  22.   parent.AppPage.location.href = element.url;
  23.   }
  24.   
  25. </script>
  26.