<html>
<! ********** Copyright (C) 2006 Niels Sikkema ************
All Rights Reserved
****************************************************************>
<title>JAVA Flash</title>
<FRAMESET ROWS="5%,90%,5%">
<FRAMESET COLS="33%,33%,33%">
<FRAME NAME="a1" SRC="a1.html" scrolling=no>
<FRAME NAME="a2" SRC="a1.html" scrolling=no >
<FRAME NAME="a3" SRC="a1.html" scrolling=no>
</FRAMESET>
<FRAMESET COLS="5%,90%,5%">
<FRAME NAME="b1" SRC="a1.html" scrolling=no>
<FRAME NAME="b2" SRC="b2.html" >
<FRAME NAME="b3" SRC="a1.html" scrolling=no>
</FRAMESET>
<FRAMESET COLS="33%,33%,33%">
<FRAME NAME="c1" SRC="a1.html" scrolling=no>
<FRAME NAME="c2" SRC="a1.html" scrolling=no>
<FRAME NAME="c3" SRC="a1.html" scrolling=no>
</FRAMESET>
</FRAMESET>
</html>
In de file a1.html komt niks te staan.
Dit is dus een blanko file.
De code van b2.html:
<html >
<head>
<! ********** Copyright (C) 1999 Joao Aires de Sousa ************
This code may be used provided that this line is maintained,
the origin is explicitly included and I am informed
jas@mail.fct.unl.pt
****************************************************************>
<script>
<!-- Voor de leukste scripts gaat u naar...-->
<!-- Sentinelli's Javascript! The source for all your Javascript and PHP -->
<!-- http://www.sentinelli.nl -->
function MakeArray(n){
this.length = n;
for (var i= 1; i<=n; i++){
this[i] = 0}
return this
}
var p=m=0;
colors = new MakeArray(10);
colors [0]='black';
colors [1]='brown';
colors [2]='violet';
colors [3]='red';
colors [4]='orange';
colors [5]='yellow';
colors [6]='white';
colors [7]='green';
colors [8]='teal';
colors [9]='blue';
colors [10]='brown';
function surprise1(){
parent.a2.document.bgColor='black' ;
parent.a3.document.bgColor='black';
parent.b3.document.bgColor='black';
parent.c3.document.bgColor='black';
parent.c2.document.bgColor='black' ;
parent.c1.document.bgColor='black';
parent.b1.document.bgColor='black';
parent.a1.document.bgColor='black';
if (p==0) parent.a2.document.bgColor='yellow'
if (p==1) parent.a3.document.bgColor='yellow' ;
if (p==2) parent.b3.document.bgColor='yellow' ;
if (p==3) parent.c3.document.bgColor='yellow' ;
if (p==4) parent.c2.document.bgColor='yellow' ;
if (p==5) parent.c1.document.bgColor='yellow' ;
if (p==6) parent.b1.document.bgColor='yellow' ;
if (p==7) parent.a2.document.bgColor='yellow' ;
if (p==8) parent.a1.document.bgColor='yellow' ;
for (var n=1; n<150; n++){m++;m=0};
++p; if (p==8) p=0;
timerID=setTimeout("surprise1()",20);
}
function surprise2(){
parent.a2.document.bgColor='black' ;
parent.a3.document.bgColor='black';
parent.b3.document.bgColor='black';
parent.c3.document.bgColor='black';
parent.c2.document.bgColor='black' ;
parent.c1.document.bgColor='black';
parent.b1.document.bgColor='black';
parent.a1.document.bgColor='black';
if (p==0) {parent.a2.document.bgColor='red' ; parent.c2.document.bgColor='red' }
if (p==1) {parent.a3.document.bgColor='red' ; parent.c1.document.bgColor='red' }
if (p==2) {parent.b3.document.bgColor='red' ; parent.b1.document.bgColor='red' }
if (p==3) {parent.c3.document.bgColor='red' ; parent.a1.document.bgColor='red' }
for (var n=1; n<150; n++){m++;m=0};
++p; if (p==3) p=0;
timerID=setTimeout("surprise2()",20);
}
function surprise3(){
parent.a1.document.bgColor=colors [Math.abs(p-1)] ;
parent.a2.document.bgColor=colors [Math.abs(p-2)] ;
parent.a3.document.bgColor=colors [Math.abs(p-3)] ;
parent.b3.document.bgColor=colors [Math.abs(p-4)] ;
parent.c3.document.bgColor=colors [Math.abs(p-5)] ;
parent.c2.document.bgColor=colors [Math.abs(p-6)] ;
parent.c1.document.bgColor=colors [Math.abs(p-7)] ;
parent.b1.document.bgColor=colors [Math.abs(p-8)] ;
++p;if (p==9){p=0};
timerID=setTimeout("surprise3()",10);
}
function surprise4(){
parent.a2.document.bgColor=colors [Math.abs(p)] ;
parent.a3.document.bgColor=colors [Math.abs(p)] ;
parent.b3.document.bgColor=colors [Math.abs(p)] ;
parent.c3.document.bgColor=colors [Math.abs(p)] ;
parent.c2.document.bgColor=colors [Math.abs(p)] ;
parent.c1.document.bgColor=colors [Math.abs(p)] ;
parent.b1.document.bgColor=colors [Math.abs(p)] ;
parent.a2.document.bgColor=colors [Math.abs(p)] ;
parent.a1.document.bgColor=colors [Math.abs(p)] ;
++p; if (p==10) p=0;
timerID=setTimeout("surprise4()",5);
}
</script>
</head>
<body bgcolor="black" vlink="#DEF986" link="#DEF986" onLoad="surprise3()">
<center>
<FONT COLOR="white"><h2 ><b><i></b></i></h2></font>
<p><FONT COLOR="orange">
<b> Please try the outstanding JavaScript flashes:</b>
<form>
<INPUT TYPE="button" VALUE="Flash 1" OnClick="clearTimeout(timerID) ; p=0;surprise2()">
<INPUT TYPE="button" VALUE="Flash 2" OnClick="clearTimeout(timerID) ; p=0;surprise1()">
<INPUT TYPE="button" VALUE="Flash 3" OnClick="clearTimeout(timerID) ; p=0;surprise3()">
<INPUT TYPE="button" VALUE="Flash 4" OnClick="clearTimeout(timerID) ; p=0;surprise4()">
</form>
<form>
<INPUT TYPE="button" VALUE="STOP" OnClick="clearTimeout(timerID)">
</form></font>
<p>