marquee koduyla.ancak araya renk kodlarını da sıkıstırabilirsin.
Aşaqıdan Yukarı
<table align="center" border="0"><tr><td>
<script language="JavaScript">
var mw=350 /* The width */
var mh=100 /* The height */
var sp=1 /* The Speed */
var text= '<B><font face="Comic Sans MS" font color="black">...AŞŞAGIDAN YUKARIYA KAYAN YAZI...<br><br>...BURAYA İSTEDİGİN KADAR YAZ...<br><br>...BURAYADA...<br><br>....BURAYADA...<br><br>...BURAYADA...<BR><br>AHA SON OLARAK BURAYADA '
if (document.all)document.write('<marquee direction="up" scrollAmount='+sp+' style="width:'+mw+';height:'+mh+'">'+text+'</marquee>')
function loop()
{
window.location.reload()
}
function loop2()
{
if (document.layers) { setTimeout("window.onresize=loop",350)
init()
}
}
function init()
{
document.marq.document.marqEx.document.write(text)
document.marq.document.marqEx.document.close()
thelength=document.marq.document.marqEx.document.height
runmarq()
}
function runmarq()
{
if (document.marq.document.marqEx.top>=thelength*(-1)) {
document.marq.document.marqEx.top-=sp
setTimeout("runmarq()",100)
}
var speed=6
//Mesajınız
var marqueecontents='<font face="Arial" color="#000066"><strong><big>YAZI BURAYA<fon</big></strong></font>'
if (document.all)
document.write('<marquee scrollAmount='+speed+' style="width:'+marqueewidth+'">'+marqueecontents+'</marquee>')
function regenerate(){
window.location.reload()
}
function regenerate2(){
if (document.layers){
setTimeout("window.onresize=regenerate",450)
intializemarquee()
}
}
function intializemarquee(){
document.cmarquee01.document.cmarquee02.document.write('<nobr>'+marqueecontents+'</nobr>')
document.cmarquee01.document.cmarquee02.document.close()
thelength=document.cmarquee01.document.cmarquee02.document.width
scrollit()
}
function scrollit(){
if (document.cmarquee01.document.cmarquee02.left>=thelength*(-1)){
document.cmarquee01.document.cmarquee02.left-=speed
setTimeout("scrollit()",100)
}
else{
document.cmarquee01.document.cmarquee02.left=marqueewidth
scrollit()
}
}