Script Categories













Background Effects >>> Random Colors.

Every times a visitor comes to a page with this script in effect, they get a different foreground and background color.
Press "Refresh" button to see this effect

Add the below code to the <body> section of your page:

<script language="javascript" type="text/javascript">
/* Visit http://www.yaldex.com/ for full source code
and get more free JavaScript, CSS and DHTML scripts! */
<!-- Begin
function rnd(scale) {
var dd=new Date();
return((Math.round(Math.abs(Math.sin(dd.getTime()))*1000000000)%scale));
}
document.fgColor=256*rnd(255)+16*rnd(255)+rnd(255);
document.bgColor=125*rnd(125)+16*rnd(125)+rnd(125);
// End -->
</script>

Get Advanced
JavaScript and Ajax Editor,
Validator and Debugger!

1st JavaScript Editor.



Code was highlighted by 1st JavaScript Editor (The Best JavaScript Editor!).

komiku baca komik gratis online


©