If you are seeing this message, it is possible the page did not load properly. Please hit reload/refresh on your browser.
If you still see this message, you probably do not have a browser that supports web standards, although its content is accessible to any browser or Internet device.

Cool Tips & Tricks Cool Tips & Tricks

Help Communities:
Help Forums Bug Base
<< Prev Topic | Next Topic >>
Cool Tips & Tricks ::: Javascript FAQ ::: Scrollbar colour rotator
New Topic    Add Reply
Topic: Scrollbar colour rotator  (?)  Click to receive email notification of replies Click to stop receiving email notification of replies email this topic to a friend
Nutrocker

ezboard Moderator
ezSupporter
Posts: 15906
Posted: 6/16/05 3:02 pm    
Scrollbar colour rotator
Box 1
 
<style type = "text/css"> 
BODY{ 
scrollbar-arrow-color: #FFFFFF; 
scrollbar-track-color: #000000; 
} 
</style>
 
<script type="text/javascript"> 
/* Original script by Infantrymen */
/* modified by Boxed Milkdud */
/* BEGIN ROTATING SB */ 
var rate = 600 ;
var A = ["#DA0000","#0000FF","#FFCC00","#008000","purple","teal"];
var B=0;
function RotateSB() { 
 if (document.all) { 
  document.body.style.scrollbarBaseColor = A[B++]
  if (B>=A.length) B=0 
  t = setTimeout("RotateSB()", rate) 
 } 
} 
/* END ROTATING SB */ 

window.onload = RotateSB;
</script>


Author :: Infantrymen


  reply to this message

Click to receive email notification of replies Click to stop receiving email notification of replies email this topic to a friend

New Topic    Add Reply

jump to:
Topic Control Image::: Topic Commands
<< Prev Topic | Next Topic >>

Icon Legend

reply button:::Reply to Post Button   edit button:::Edit Post Button  delete button:::Delete Post Button (Moderator Only)

subscribe/unsubscribe to thread button:::Subscribe to Thread Button   email to friend button:::Email to Friend Button  



- Cool Tips & Tricks - Javascript FAQ -

Communitiesezboard Help Communities:

Help Forums Help Forums Bug Base Bug Base





Powered By ezboard® Ver. 7.32
Copyright ©1999-2007 ezboard, Inc.