Scripts page


Datestamp code:
<SCRIPT LANGUAGE="JavaScript">
<!--   //hides from browser
//by Paul Bilnoski([email protected]) 4-17-1999
function todaysdate(){
  var dayary = new Array("Sunday", "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday"); 
  var monthary = new Array("January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December"); 
  var now = new Date();
  var day = dayary[now.getDay()];
  var month = monthary[now.getMonth()];
  var date = now.getDate();
  var year = "19" + now.getYear();
  document.write(day + ", " + month + " " + date + ", " + year);
}
-->
</script>

=======================
To use: In the document, wherever you want the date to appear, put the following lines(you may want to change the font color):
<font color="#0000FF">
<SCRIPT LANGUAGE=JavaScript>todaysdate();</script>
</font>

Note: inside this script line, it is CaSe sEnSeTiVe, so be careful
=======================
<SCRIPT LANGUAGE="JavaScript">
<!--   //by Paul Bilnoski([email protected]) 12-8-1999

var hexArray = new Array(1,2,3,4,5,6,7,8,9,"a","b","c","d","e","f");
var r1 = Math.floor(Math.random()*16);
var r2 = Math.floor(Math.random()*16);
var r3 = Math.floor(Math.random()*16);
var r4 = Math.floor(Math.random()*16);
var r5 = Math.floor(Math.random()*16);
var r6 = Math.floor(Math.random()*16);
document.bgColor = "#" + hexArray[r1]+hexArray[r2]+hexArray[r3]+hexArray[r4]+hexArray[r5]+hexArray[r6]
-->
</script>

=======================
Stick this one in the page's header to load a random color each time.
Hosted by www.Geocities.ws

1