View Full Version: Things happening on the page...

All Mod GMC > Javascript > Things happening on the page...



Title: Things happening on the page...


Im a mod - October 5, 2006 05:54 PM (GMT)
<script language=javascript>
document.write("Hey it said ''Post a new topic in javacript''")
</script>
..

Heres some code!
CODE

<html>
<head>
<title>
Test!!
</title>
</head>
<body>
<script language=javascript>
var a=prompt("Whatever you put here should be pasted on the page","")
if (a=="") {
alert("whatever")
}
else {
document.write(a)
alert(a)
b=0
var c=confirm("Are you happy with this?")
if (c==false) {
 window.location=window.location
}
else {
 b=1
}
}
</script>
</body>
</html>

Try it out!

fsd - October 5, 2006 11:13 PM (GMT)
nice little script
definetly somthign to try to keep you skill up or to help you learn




Hosted for free by InvisionFree