|
|
|
Here's some cool javascripts
Hangman game java
Fly-in text "header"
<script>
//set style for NS4 to ''
if (document.layers)
var ns4def=''
</script>
<h2 id="flyin" style="position:relative;left:-800px;font-style:italic" style=&{ns4def};>Welcome to our Homepage!</h2>
<script language="JavaScript1.2">
/*
Fly-in Header script (credit must stay enclosed)
By javascriptkit.com
For this and over 400+ JavaScripts,
Visit http://www.javascriptkit.com
*/
if (document.getElementById||document.all)
var crossheader=document.getElementById? document.getElementById("flyin").style : document.all.flyin.style
function animatein(){
if (parseInt(crossheader.left)<0)
crossheader.left=parseInt(crossheader.left)+20+"px"
else{
crossheader.left=0
crossheader.fontStyle="normal"
clearInterval(start)
}
}
if (document.getElementById||document.all)
start=setInterval("animatein()",50)
</script>
<p align="center">This free script provided by<br />
<a href="http://javascriptkit.com">JavaScript
Kit</a></p>
|
Random link
<script>
<!--
/*
Random link button- By JavaScript Kit (http://javascriptkit.com)
Over 300+ free scripts!
This credit MUST stay intact for use
*/
//specify random links below. You can have as many as you want
var randomlinks=new Array()
randomlinks[0]="http://lolishment.roflforum.net"
randomlinks[1]="http://existenz.se"
randomlinks[2]="http://lolishment.tk"
randomlinks[3]="http://cnn.com"
randomlinks[4]="http://www.geocities.com"
function randomlink(){
window.location=randomlinks[Math.floor(Math.random()*randomlinks.length)]
}
//-->
</script>
<form>
<p><input type="button" name="B1" value="Random Link >>" onclick="randomlink()"></p> </form>
<!--Uncomment below to use a regular text link instead
<a href="javascript:randomlink()">Random Link</a>
-->
|
A cool complete html editor
Directions: Step 1: Copy the below into the <head> section of your page:
Step 2: Copy the following into the <body> section:
|
|
|
|
|
|
|