Möchtest du dei coolsten Java Scripts auf deiner Homepage haben dan schau dich doch hier um. Euer Webmater Am unteren Browserand erscheint ein Lauftext <script language="JavaScript"><!-- var scrollCounter = 0; var scrollText = "» Schreib hier Deinen Text rein! «"; var scrollDelay = 100; var i = 0; while (i ++ < 140) scrollText = " " + scrollText; function Scroller() { window.status = scrollText.substring(scrollCounter++, scrollText.length); if (scrollCounter == scrollText.length) scrollCounter = 0; setTimeout("Scroller()", scrollDelay); } Scroller(); // --> </script> Sperrren von Rechter Maustaste ( Copyright für deine Homepage) <script LANGUAGE="JavaScript1.1"> function right(e) { if (navigator.appName == 'Netscape' && (e.which == 3 || e.which == 2)) return false; else if (navigator.appName == 'Microsoft Internet Explorer' && (event.button == 2 || event.button == 3)) { alert("nee nee...kein rechtsklick"); return false; } return true; } document.onmousedown=right; if (document.layers) window.captureEvents(Event.MOUSEDOWN); //window.onmousedown=right; </script> Ein Fadenkreuk bewegt sich mit der Maus ( Wie bei meinem Link Games) <script> var weite=document.body.clientWidth-2; var hoehe=document.body.clientHeight-2; document.write('<div id="leftright" style="position:absolute;left:0; top:0; width:1px; height:1px; z-index:100; font-size:1px; width:expression(document.body.clientWidth-2)"><table cellpadding=0 cellspacing=0 border=0 width=100% height=1><tr><td bgcolor=red></td><tr></table> </div>'); document.write('<div id="topdown" style="position:absolute;left:0;top:0;width:1px;height:1px; z-index:100;height:expression(document.body.clientHeight-2)"><table cellpadding=0 cellspacing=0 border=0 width=1 height=100%><tr><td bgcolor=red></td></tr></table></div>'); if (document.all){ leftright.style.width=document.body.clientWidth-2; topdown.style.height=document.body.clientHeight-2; } else if (document.layers){ document.leftright.clip.width=window.innerWidth document.leftright.clip.height=1 document.topdown.clip.width=1 document.topdown.clip.height=window.innerHeight } function followmouse1(){ //move cross engine for IE 4+ leftright.style.pixelTop=document.body.scrollTop+event.clientY+1 topdown.style.pixelTop=document.body.scrollTop if (event.clientX<document.body.clientWidth-2) topdown.style.pixelLeft=document.body.scrollLeft+event.clientX+1 else topdown.style.pixelLeft=document.body.clientWidth-2 } function followmouse2(e){ //move cross engine for NS 4+ document.leftright.top=e.y+1 document.topdown.top=pageYOffset document.topdown.left=e.x+1 } if (document.all) document.onmousemove=followmouse1 else if (document.layers){ window.captureEvents(Event.MOUSEMOVE) window.onmousemove=followmouse2 } function regenerate(){ window.location.reload() } function regenerate2(){ setTimeout("window.onresize=regenerate",400) } if ((document.all&&!window.print)||document.layers) //if the user is using IE 4 or NS 4, both NOT IE 5+ window.onload=regenerate2 </script> Kugeln umkreisen die Maus <SCRIPT language=JavaScript> if (document.all){ xL=5;xH=0;xW=0;xR=0;xE=0;xMY=0;xMX=0;xWd=0;xHd=0; xF=new Array();xY=new Array();xX=new Array();xS=new Array(); xA=new Array();xB=new Array();ini=new Array(); cl=new Array('#fff000','#0000FF','#ff0000','#00ff00','#ff00ff','#ffa500') document.write('<div id="xouter" style="position:absolute;top:0px;left:0px"><div style="position:relative">'); for (i=0; i < xL; i++){ document.write('<div id="xie" style="position:absolute;top:0;left:0;width:10px;height:10px;' +'font-family:Courier New;font-size:50px;color:#ffffff">.</div>');} document.write('</div></div>'); function Set(){ for (i=0; i < xL; i++){ xH=window.document.body.offsetHeight; xW=window.document.body.offsetWidth; xA[i]=Math.round(Math.random()*xH); xB[i]=Math.round(Math.random()*xW); xS[i]=Math.random()*0.07+0.05; xR=Math.round(Math.random()*3); xE=Math.round(Math.random()*2500+50) if (xR == 3) xB[i]=-xE; if (xR == 2) xB[i]=xW+xE; if (xR == 1) xA[i]=-xE; if (xR == 0) xA[i]=xH; xF[i]=xW/14;}} Set(); function Assign(){ xouter.style.top=document.body.scrollTop; for (i=0; i < xL; i++){ xF[i]-=xS[i]*25; if (xF[i] < 4) xF[i]=3; xie[i].style.top =xY[i]; xie[i].style.left=xX[i]; xie[i].style.fontSize=xF[i]; xie[i].style.filter='glow(color='+ini[i]+', strength='+xF[i]/3+')';}} function fly(){ var N=Math.floor(Math.random()*cl.length) xMY=window.document.body.clientHeight/2; xMX=window.document.body.clientWidth/2; xWd=Math.round(Math.random()*40+5); xHd=Math.round(Math.random()*30+5); for (i=0; i < xL; i++){ xY[i]=xA[i]+=(xMY-xA[i])*(xS[i]); xX[i]=xB[i]+=(xMX-xB[i])*(xS[i]); if ((xX[i] > xMX-xWd) && (xX[i] < xMX+xWd) && (xY[i] > xMY-xHd) && (xY[i] < xMY+xHd)){ xH=window.document.body.offsetHeight; xW=window.document.body.offsetWidth; xA[i]=Math.round(Math.random()*xH); xB[i]=Math.round(Math.random()*xW); xS[i]=Math.random()*0.05+0.05; xR=Math.round(Math.random()*3); xE=Math.round(Math.random()*50+50) if (xR == 3) xB[i]=-xE; if (xR == 2) xB[i]=xW+xE; if (xR == 1) xA[i]=-xE; if (xR == 0) xA[i]=xH+xE;} if ((xX[i] < 0) || (xX[i] > xW) || (xY[i] < 0) || (xY[i] > xH)) { xF[i]=xW/14; ini[i]=cl[N]; }} Assign(); setTimeout('fly()',10);} fly(); } </SCRIPT> Merlin ist ein Zauberer der auf der Homepage herumschwirt und Texte sagt die du einbibst Du kannst den Text natürlich auch verändern dort wo ich etwas eingerschrieben habe. <Object ID=toolia ClassID=CLSID:D45FD31B-5C6E-11D1-9EC1-00C04FD7081F></Object><Script LANGUAGE="JavaScript" TYPE="text/javascript"> function LoadLocalAgent(CharID, CharACS) { LoadReq = toolia.Characters.Load(CharID, CharACS); return(true); } var MerlinID; var MerlinACS; toolia.Connected = true; MerlinLoaded = LoadLocalAgent(MerlinID, MerlinACS); Merlin = toolia.Characters.Character(MerlinID); Merlin.Show(); Merlin.Play("Surprised"); Merlin.Play("GetAttention"); Merlin.Play("Blink"); Merlin.speak("Was ist denn mit VoteOnline passiert???"); Merlin.Play("Blink"); Merlin.Play("Confused"); Merlin.MoveTo (600,400); Merlin.Play("Surprised"); Merlin.Play('GestureRight'); Merlin.speak("Heisst jetzt wohl toolia"); Merlin.MoveTo (200,450); Merlin.speak("Ist im Grunde genau gleich wie VoteOnline"); Merlin.Play('GestureLeft'); Merlin.speak("...nur mit anderem Design und anderem Namen"); Merlin.MoveTo (150,350); Merlin.Play('GestureLeft'); Merlin.Play('DoMAgic1');Merlin.Play('DoMAgic2'); Merlin.Play("Blink"); Merlin.speak("Tschüüüss! Bis bald!"); Merlin.Hide(); </script>
|