home *** CD-ROM | disk | FTP | other *** search
/ Chip 2003 February / Chip_2003-02_cd1.bin / tema / tipy / skyguard.mht / zápatí.js < prev   
Encoding:
Text File  |  2003-01-06  |  578 b   |  28 lines

  1.  
  2. <!-- Begin
  3. var Message="Satelitnφ st°e₧enφ vozidel a logistika provozu - Sky Guard";
  4. var place=1;
  5. function scrollIn() {
  6. window.status=Message.substring(0, place);
  7. if (place >= Message.length) {
  8. place=1;
  9. window.setTimeout("scrollOut()",100); 
  10. } else {
  11. place++;
  12. window.setTimeout("scrollIn()",120); 
  13.    } 
  14. }
  15. function scrollOut() {
  16. window.status=Message.substring(place, Message.length);
  17. if (place >= Message.length) {
  18. place=1;
  19. window.setTimeout("scrollIn()", 100);
  20. } else {
  21. place++;
  22. window.setTimeout("scrollOut()", 100);
  23.    }
  24. }
  25. scrollIn()
  26. // End -->
  27.  
  28.