topical media & game development

talk show tell print

basic-web-html-12-ch12-eg18.htm / htm

  <?xml version="1.0" ?>
  <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
  <html xmlns="" lang="en" xml:lang="en">
    <title>Random Content</title>
  <script type="text/JavaScript">
  function randomContent(){
  var arrContent=new Array()
  arrContent[0]='This is the first message.'
  arrContent[1]='This is the second message.'
  arrContent[2]='This is the third message.'
  arrContent[3]='This is the fourth message.'
  arrContent[4]='This is the fifth message.'
  var i=Math.floor(Math.random()*arrContent.length)
    <script type="text/JavaScript">

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