home *** CD-ROM | disk | FTP | other *** search
/ Chip 2003 November / Chip_2003-11_cd1.bin / opsys / wmakeup / download / SubZero.wmz / SubZero.js < prev    next >
Text File  |  2003-09-20  |  2KB  |  121 lines

  1. /*
  2. SubZero -- JotWee September, 2003.
  3. */
  4. function OnLoad()
  5. {
  6.     for (i = 0; i < equ.presetCount; i++) {
  7.         popupPreset.appendItem(equ.presetTitle(i));
  8.     }
  9.  
  10. }
  11.  
  12. function ShowPlWindow()
  13. {
  14.     plbutton.visible="false"
  15.     plbutton2.visible="true"
  16.     PlWindow.MoveTo(301,38,500)
  17. }
  18.  
  19. function ShowEQ()
  20. {
  21.     eqbutton.visible="false"
  22.     eqbutton2.visible="true"
  23.     EQ.visible="true"
  24.     EQ.MoveTo(0,320,500)
  25. }
  26.  
  27. function HideEQ()
  28. {
  29.     eqbutton.visible="true"
  30.     eqbutton2.visible="false"
  31.     EQ.MoveTo(0,280,500)
  32. }
  33.  
  34.  
  35. function HidePlWindow()
  36. {
  37.     plbutton2.visible="false"
  38.     plbutton.visible="true"
  39.     PlWindow.MoveTo(0,38,500)
  40. }
  41.  
  42. function ShowPlaylist()
  43. {
  44.     Pl.visible="true"
  45. }
  46.  
  47. function HidePlaylist()
  48. {
  49.     Pl.visible="false"
  50. }
  51.  
  52. function ShowVid()
  53. {
  54.     Vid.visible="true"
  55.     Vis.visible="true"    
  56. }
  57.  
  58.  
  59. function HideVid()
  60. {
  61.     Vid.visible="false"
  62.     Vis.visible="false"
  63. }
  64.  
  65. function MoveDown()
  66. {
  67.     HidePlaylist()
  68.     PlWindow.MoveTo(0,38,1000)
  69.     VidWindow.MoveTo(0,38,1000)
  70.     plbutton.visible="true"
  71.     PlWindow.visible="true"
  72. }
  73.  
  74. function MoveUp()
  75. {
  76.     HidePlaylist()
  77.     PlWindow.visible="false"
  78.     EQ.visible="false"
  79.     PlWindow.MoveTo(0,-282,1000)
  80.     VidWindow.MoveTo(0,-282,1000)
  81. }
  82.  
  83. function HideButton()
  84. {
  85.     VidButton.visible="false"
  86.     VidButton2.visible="true"
  87. }
  88.  
  89. function HideButton2()
  90. {
  91.     VidButton2.visible="false"
  92.     VidButton.visible="true"
  93. }
  94.  
  95. function ShowVis()
  96. {
  97.     Vis.visible="true"
  98. }
  99.  
  100.  
  101. function HideVis()
  102. {
  103.     Vis.visible="false"
  104. }
  105.  
  106. function Time()
  107. {
  108.     time.visible="false"
  109.     time2.visible="true"
  110.     timebutton2.visible="true"
  111.     timebutton.visible="false"
  112. }
  113.  
  114. function Time2()
  115. {
  116.     time2.visible="false"
  117.     time.visible="true"
  118.     timebutton.visible="true"
  119.     timebutton2.visible="false"
  120. }
  121.