topical media & game development

talk show tell print

#javascript-css-color-script.js / js



  var ColorCode=new Array("e0f1ee","d6efff","646560","ffffcc","66ccff", "99ffcc","c0c0c0","669999","999966");
  function ParaOver(CaoPhong) {
    CaoPhong.style.backgroundColor=ColorCode[Math.round(Math.random()*10)];
  }
  function ParaOut(CaoPhong) {
    CaoPhong.style.backgroundColor="transparent";
  }
  
  


(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.