Pohyblivý text
<marquee scrollamount=1>pomaly text</marquee>
<marquee scrollamount=4>stredne</marquee>
<marquee scrollamount=50>rýchlo</marquee>
<marquee behavior=alternate>vlastný text</marquee>
<marquee direction=up>vlastný text</marquee>
<marquee behavior="alternate" direction="up" width="80%"><marquee direction="right">vlastný text</marquee></MARQUEE>
<marquee behavior="alternate" direction="up" width="80%"><marquee direction="right" behavior="alternate">vlastný text</marquee></marquee>
<marquee direction="up" scrollamount=2>Riadok 1<br><br> Riadok 2<br>Riadok 3<br>Riadok 4<br>Riadok 5<br>Riadok 6<br> ...atď <br> </marquee>
Riadok 2
Riadok 3
Riadok 4
Riadok 5
Riadok 6
...atď
<
script language="JavaScript1.2">//configure message
message=
"Sem zadáte ľubovoľný text"//animate text in NS6? (0 will turn it off)
ns6switch=1
var
mes=
mes[0]=-1;
mes[1]=-4;
mes[2]=-7;mes[3]=-10;
mes[4]=-7;
mes[5]=-4;
mes[6]=-1;
num=0;
num2=0;
txt=
ns6=document.getElementById&&!document.allnew Array();"";function
jump0(){if
jump.innerHTML=message
(ns6&&!ns6switch){return
}
if
(message.length > 6){for
txt=txt+
jump.innerHTML=txt;
txt=
jump1a()
}
(i=0; i != message.length;i++){"<span style='position:relative;' id='n"+i+"'>"+message.charAt(i)+"</span>"};"";else
alert(
}
}
{"Your message is to short")function
nfinal=(document.getElementById)? document.getElementById(
nfinal.style.left=-num2;
jump1a(){"n0") : document.all.n0if
num2=num2+3;
setTimeout(
}
(num2 != 9){"jump1a()",50)else
jump1b()
}
}
{function
nfinal.style.left=-num2;
jump1b(){if
setTimeout(
}
(num2 != 0){num2=num2-3;"jump1b()",50)else
jump2()
}
}
{function
txt=
jump2(){"";for
(i=0;i != message.length;i++){if
txt=txt+
(i+num > -1 && i+num < 7){"<span style='position:relative;top:"+mes[i+num]+"'>"+message.charAt(i)+"</span>"}
else
}
jump.innerHTML=txt;
txt=
{txt=txt+"<span>"+message.charAt(i)+"</span>"}"";if
num--;
setTimeout(
(num != (-message.length)){"jump2()",50)}else
setTimeout(
{num=0;"jump0()",50)}}</
</
<
script>head>body><
<
if
jump=(document.getElementById)? document.getElementById(
jump0()
}
h2><div id="jumpx" style="color:green"></div></h2>script> (document.all||document.getElementById){"jumpx") : document.all.jumpxelse
document.write(message)
</
script>
<center>
<p align="center"><font size="+3" color="#00CC55"><marquee behavior="alternate" scrolldelay="65" width="12%">T</marquee><marquee behavior="alternate" scrolldelay="20" width="12%">V</marquee><marquee behavior="alternate" scrolldelay="60" width="12%">O</marquee><marquee behavior="alternate" scrolldelay="30" width="12%">J</marquee><marquee behavior="alternate" scrolldelay="50" width="12%">T</marquee><marquee behavior="alternate" scrolldelay="70" width="12%">E</marquee><marquee behavior="alternate" scrolldelay="20" width="12%">X</marquee><marquee behavior="alternate" scrolldelay="20" width="12%">T</marquee></font></center>
<MARQUEE style="BORDER-RIGHT: 0px dotted; PADDING-RIGHT: 4px; background-POSITION: center 50%; BORDER-TOP: 0px dotted; PADDING-LEFT: 4px; FONT-WEIGHT: bold; FONT-SIZE: 12pt; background-ATTACHMENT: scroll; background-IMAGE: url(https://designcrazy.net/glitter/method03/pink.gif); PADDING-BOTTOM: 1px; BORDER-LEFT: 0px dotted; COLOR: red; PADDING-TOP: 1px; BORDER-BOTTOM: 0px dotted; background-REPEAT: repeat; FONT-STYLE: italic; FONT-FAMILY: Bradley Hand ITC; TEXT-DECORATION: blink" width="100%" bgColor=#000000 height=30>
<DIV align=left>Sem zadajte svoj Text</FONT></DIV></MARQUEE>