home *** CD-ROM | disk | FTP | other *** search
/ Online Praxis 1998 March / Image.iso / CD-ROM / NETSCAPE / CCK / INSTBLDR.Z / asw.jar / aboutbox.js next >
Encoding:
Text File  |  1998-02-27  |  1.6 KB  |  97 lines

  1. <!--  to hide script contents from old browsers
  2.  
  3.  
  4.  
  5. function go(msg)
  6. {
  7.     if (msg=="Back")    {
  8.         return(true);
  9.         }
  10.     return(false);
  11. }
  12.  
  13.  
  14.  
  15. function checkData()
  16. {
  17.     return(true);
  18. }
  19.  
  20.  
  21.  
  22. function loadData()
  23. {
  24.     if (parent && parent.controls && parent.controls.generateControls)    {
  25.         parent.controls.generateControls();
  26.         }
  27.     document.layers["programName"].visibility="SHOW";
  28.     animate1();
  29. }
  30.  
  31.  
  32.  
  33. function saveData()
  34. {
  35. }
  36.  
  37.  
  38.  
  39. function animate1()
  40. {
  41.     if (document.layers["programName"].left < 100)    {
  42.         document.layers["programName"].moveBy(10,0);
  43.         setTimeout("animate1()",100);
  44.         }
  45.     else    {
  46.         document.layers["programDesc"].visibility="SHOW";
  47.         animate2();
  48.         }
  49. }
  50.  
  51.  
  52.  
  53. function animate2()
  54. {
  55.     if (document.layers["programDesc"].top < 0)    {
  56.         document.layers["programDesc"].moveBy(0,10);
  57.         setTimeout("animate2()",100);
  58.         }
  59.     else    {
  60.         document.layers["programCopyRight"].visibility="SHOW";
  61.         animate3();
  62.         }
  63. }
  64.  
  65.  
  66.  
  67. function animate3()
  68. {
  69.     if (document.layers["programCopyRight"].left > 380)    {
  70.         document.layers["programCopyRight"].moveBy(-10,0);
  71.         setTimeout("animate3()",100);
  72.         }
  73.     else    {
  74.         document.layers["NetscapeIcon"].visibility="SHOW";
  75.         document.layers["ProgramThanks"].visibility="SHOW";
  76.         animate4();
  77.         }
  78. }
  79.  
  80.  
  81.  
  82. function animate4()
  83. {
  84.     if (document.layers["ProgramThanks"].top > 50)    {
  85.         document.layers["NetscapeIcon"].moveBy(0,5);
  86.         document.layers["ProgramThanks"].moveBy(0,-10);
  87.         setTimeout("animate4()",100);
  88.         }
  89.     else    {
  90.         document.layers["NetscapeIcon"].document.layers["NetscapeString"].visibility="SHOW";
  91.         }
  92. }
  93.  
  94.  
  95.  
  96. // end hiding contents from old browsers  -->
  97.