HTML COLOR SCRIPT HOME
 
 
PERSONAL DOCUMENT
INTRODUCTION
  MAIN PAGE
CURRICULUM VITAE
  CV ENGLISH
PORTFOLIO
  MY PORTFOLIO

MAIL ME



HTML Color Script

 
Background Fade
 
<!-- START OF SCRIPT -->
<SCRIPT Language = "JavaScript">


start = new Date();
minstart = start.getMinutes()
secstart = start.getSeconds()

function brighter(){

var now = new Date();

var seconds = now.getSeconds();

var minutes = now.getMinutes();

var base = "00";

// if you want to change the starting color, add the starting code here
// instead of aa (two digits, only numbers and/or a, b, c, d, e, f).

var color = 1000;

var interval = 103;

// if you want to change the speed of the color-change,
// change the 103 to the number of hex-codes you want between two changes.
// not every number gives a nice result!


var sec= interval * (seconds - secstart);

var min= 60 * interval * (minutes - minstart);

var add= color + min + sec;

total= base + add;
if (add>=9999) {secstart = seconds; minstart = minutes}

document.bgColor = total;
setTimeout("brighter()", 1000);
document.myform.ikke.value = total;

}

</script>
</HEAD>
<body onLoad = "brighter()" text="white" LINK="C0C0C0" VLINK="C0C0C0">
<form name="myform">
<P>This is the code of the current color
<input name = "ikke" type="text" size="7">
</form>
<!-- END OF SCRIPT -->
 
Background Roller
 
<!-- START OF SCRIPT -->
<script>
function MakeArray(n) {
//allow new array to be made below...
this.length = n
for (i = 0;i<n;i++)
this[i] = null
}

//6,7,8,9,a,b,c,d,e,f
green = new MakeArray(10)
g = 0
a = true

green[1] = "#006000"
green[2] = "#007000"
green[3] = "#008000"
green[4] = "#009000"
green[5] = "#00A000"
green[6] = "#00B000"
green[7] = "#00C000"
green[8] = "#00D000"
green[9] = "#00E000"
green[10] = "#00F000"

function greenizer() {
if(a == true) {
g++
}
if(g==11) {
g--
a = false
}

if(g==1) {
g++
a = true
}

if(a == false) {
g--
}
document.bgColor = green[g]
setTimeout ("greenizer()",100)
}
</script>
<!-- END OF SCRIPT -->
 
 

 

 

DOWNLOAD
FILE (PDF)

 

 

 

: "dikutip dari berbagai sumber."


RESOURCES
FREEWARE
  Change Type 1.0
Clear Template 1.0
Cryptext 3.3
HJ Split 2.2
TweakUI W98
Winamp 5.02
SHAREWARE
  Linguist 1.0
Picaview 1.31
SafeClean 3.02
Winhex 10.54
Winrar 3.11
Winzip 9.0

TUTORIAL
PAINT SHOP PRO 7
  Installing
Customizing
Paint Tools
Draw Tools
Preset Shape Tools
Image Menu
Picture Frames
Effects Menu
HTML SCRIPT
  Text
Button
Color
Menu
Image
Background
Clocks
Cookie
ASP SAMPLES
  Date and Time
Instructions
Variables dan Form
Array
Folder dan Files
Database
Random Number
Cookie

MAIL RESOURCES
MAIL TUTORIAL

© Copyright 2003 - 2004, Nikofantacy. All rights reserved.