// Veranderingen kun je hier beneden aanbrengen. var text='Webdesign van Essen'; var delay=50; // SPEED OF TRAIL var txtw=10; // AMOUNT OF PIXEL SPACE EACH CHARACTER OCCUPIES var xoff=20; // OFFSET FROM THE LEFT OF THE PAGE *OR* FROM THE MOUSE CURSOR DEPENDING ON THE "mousefollow" SETTING. var yoff=0; // OFFSET FROM THE TOP OF THE PAGE *OR* FROM THE MOUSE CURSOR DEPENDING ON THE "mousefollow" SETTING. var sampleinc=0.3; // NUMBER OF PIXELS TAKEN ALONG THE "X" AXIS AT A TIME var amplitude=35; // THE HEIGHT OF THE WAVE IN PIXELS var mousefollow=true; // true=FOLLOWS THE MOUSE/ false=STAYS AT THE xoff/yoff COORDINATES. var beghtml=''; // OPTIONAL HTML THAT EFFECTS THE WHOLE STRING. var endhtml=''; // OPTIONAL HTML CODE ONLY NEEDED IF ABOVE NEEDS AN "END" HTML TAG. // Hier geen wijzigingen aanbrengen ns4 = (navigator.appName.indexOf("Netscape")>=0 && document.layers)? true : false; ie4 = (document.all && !document.getElementById)? true : false; ie5 = (document.all && document.getElementById)? true : false; ns6 = (document.getElementById && navigator.appName.indexOf("Netscape")>=0 )? true: false; var txtA=new Array(); text=text.split(''); var t=''; var ex=sampleinc; var mousex=0; var mousey=0; for(i=1;i1;i=i-1){ if(getidleft(txtA[i-1])+txtw*2>=getwindowwidth()){ moveid(txtA[i-1],0,-1000); moveid(txtA[i],0,-1000); }else moveid(txtA[i], getidleft(txtA[i-1])+txtw, getidtop(txtA[i-1]));} moveid(txtA[1],x1,y1); ex=ex+sampleinc;} function movetxts(){ for(i=text.length;i>1;i=i-1){ if(getidleft(txtA[i-1])+txtw*2>=getwindowwidth()){ moveid(txtA[i-1],0,-1000); moveid(txtA[i],0,-1000); }else moveid(txtA[i], getidleft(txtA[i-1])+txtw, getidtop(txtA[i-1]));} moveid(txtA[1],xoff+mousex,yoff+mousey+(Math.sin(ex)*amplitude)+Math.abs(amplitude)); ex=ex+sampleinc;} window.onload=function(){ for(i=1;i