Welcome to Jokes2000. Tips for improving your website: Graphic, HTML and javascript A fine collection of cartoons Jokes jokes jokes - get a good laugh Joke of the day and mailing list Table of contents
Jokes2000.com Jokes2000.com
 

Scrolling StatusLine Up One Level.

You can display a scrolling text in the statusline of the browser. Look at your status and see the action.

Note that many users dislikes this effect!

<script language=javascript type="text/javascript">
<!--
function statusMessageObject(p,d)
{ this.msg = MESSAGE
  this.out = " "
  this.pos = POSITION
  this.delay = DELAY
  this.i = 0
  this.reset = clearMessage}
  function clearMessage(){
  this.pos = POSITION}
  var POSITION = 100
  var DELAY = 70
  var MESSAGE = "Welcome to this site - we hope you enjoy your stay."
  var scroll = new statusMessageObject()

  function scroller(){for (scroll.i = 0; scroll.i < scroll.pos; scroll.i++) 
  { scroll.out += " " }

  if (scroll.pos >= 0) scroll.out += scroll.msg
  else scroll.out = scroll.msg.substring(-scroll.pos,scroll.msg.length)
  window.status = scroll.out
  scroll.out = " "
  scroll.pos--
  if (scroll.pos < -(scroll.msg.length)) scroll.reset()
  setTimeout ('scroller()',scroll.delay)
}
// -->
</script>



Affiliate Sites: Funny Videos | Fight Videos | Free Arcade Games


welcome | cartoons | jokes | daily jokes | sitemap | search | feedback | what's new

Copyright © 1997-2007 Real Comedy Inc.