topical media & game development

talk show tell print

graphic-javascript-effect-text-color-effect.htm / htm



  
  <!-- ONE STEP TO INSTALL TEXT COLORIZER:
  
    1.  Copy the coding into the BODY of your HTML document  -->
  
  <!-- STEP ONE: Paste this code into the BODY of your HTML document  -->
  
  <BODY>
  
  <!-- This script and many more are available free online at -->
  
  <!-- The JavaScript Source!! http://javascript.internet.com -->
  
  <!-- Original:  Arash Akbari (arash_dusts@yahoo.com) -->
  
  <!-- Web Site:  http://www.dusts.tk -->
  
  <p id="a">JavaScript is a compact, object-based scripting 
  
  language for developing client and server Internet applications. 
  
  JavaScript statements can be embedded directly in an HTML 
  
  page. These statements can recognize and respond to user 
  
  events such as mouse clicks, form input, and page navigation. 
  
  For example, you can write a JavaScript function to verify that 
  
  users enter valid information into a form. Without any network 
  
  transmission, an HTML page with embedded JavaScript can 
  
  interpret the entered text and alert the user with a message 
  
  dialog if the input is invalid. Or you can use JavaScript to perform 
  
  an action (such as play an audio file, execute an applet, or 
  
  communicate with a plug-in) in response to the user opening or 
  
  exiting a page. </p>
  
   <script language="JavaScript" type="text/javascript">
  
  function change()
  
  {
  
  re="rgb("+Math.round(Math.random()*256)+","+Math.round(Math.random()*256)+","+Math.round(Math.random()*256)+")"
  
  a.style.color=re;
  
  }
  
  setInterval(change,1000);
  
  </script>
  
  <p><center>
  
  <font face="arial, helvetica" size"-2">Free JavaScripts provided<br>
  
  by <a href="http://javascriptsource.com">The JavaScript Source</a></font>
  
  </center><p>
  
  <!-- Script Size:  1.52 KB -->
  


(C) Æliens 20/2/2008

You may not copy or print any of this material without explicit permission of the author or the publisher. In case of other copyright issues, contact the author.