\n
HOME
Home
Home
Search
About
TECHNOLOGY
Misc Tech
Tools
Linux
SQL
Webmaster:
HTML
Javascript
Drupal
Programming Languages:
Perl
Java
Boards
Tech Blog
Message Board
THE ARCHIVE
Places:
Points of Interest
WTC
Museum
Lists:
The Text Files
Fonts Archive
Names Database
Hobby:
Hobbies
Stereograms
JUST FOR FUN
Games:
Web Games
Games Reference
Other Amusement:
Meme Generator
Weird Pix
Flip Text
Ugly Cars
Aquarium
Simple Text Animation: Looping Thru an Array




Code:
    <form>
      <label id="box1"></label>
    </form>

    <script>
    
      var quotes=new Array();
      quotes=[
      'Line one',
      'Line two',
      'Line three',
      ];
      var x=0;

      function showQuotes() {
      document.getElementById("box1").innerHTML=quotes[x] ;

      x++;
      if(x==quotes.length) {
      x=0;
      }
      }
      setInterval('showQuotes()',500);

    </script>