Mi a statusbar???-ott lent a képernyő alján a 2. sor!!(a start gombocska feletti)
Balról-Jobbra:
<script language="Javascript"> <!-- var x = 0 var speed = 70 var text = "IDE ÍRD AMIT SZERETNÉL!" var course = 120 var text2 = text
function Scroll() { window.status = text2.substring(0, text2.length)
if (course < text2.length) { setTimeout("Scroll2()", speed) }
else { text2 = " " + text2
setTimeout("Scroll()", speed); } }
function Scroll2() { window.status = text2.substring(x, text2.length)
if (text2.length - x == text.length) { text2 = text x = 0
setTimeout("Scroll()", speed); }
else { x++ setTimeout("Scroll2()", speed); } }
Scroll() //--> </script>
végtelen:
<SCRIPT LANGUAGE="JavaScript">
<!--
var x = 0 var y = 0 var z = 140 var delay = 70 var text = " Ez egy ide-oda scrollozó " +"fényújság. Állandóan látható, amig az oldalt " +"nézi valaki. " +"Számtalan sort kapcsolhatsz hozzá." while (y ++ < z) { text = " " + text }
function scroller() { window.status = text.substring(x++, text.length); if (x == text.length) { x = 0; } setTimeout("scroller()", delay); }
scroller(); //--> </SCRIPT>
|
| hullám effekt:
<script language="javascript"> <!-- if (document.all) { var fromLeft=100; // in pixel var step=10; var strength=10; var lightstrength=45; var freq=3; var msg='/\\/\\@mO'; // enabled HTML TAGs var divWidth=850; // in pixel var divHeight=400; // in pixel var color='ff0000'; var fontFace='Arial'; var fontSize=90; // in pixel
var xstep=0; document.write("<div id='water' style='position:relative;left:"+fromLeft+";width:"+divWidth+";height:"+divHeight+";font-family:"+fontFace+";font-size:"+fontSize+";color:"+color+"'>"+msg+"</div>"); function wave(){ document.all.water.style.filter='wave(freq='+freq+', strength='+strength+', phase='+xstep+', lightstrength='+lightstrength+', add=0, enabled=1)'; xstep+=step; TIMER=setTimeout('wave()',10); } } wave(); //--> </script>
|
| |
|