Örnek sayfanın
üsttarafında görülmektedir.
Kodları sayfada istediğiniz
yere kopyalayabilirsiniz..
<script language="JavaScript1.2">
//Specify the marquee's
direction position
var marqueetop=610
//Specify the marquee's
top position (in pixels)
var marqueetop=610
//Specify the marquee's
left position (in pixels)
var marqueeleft=90
//Specify the marquee's
width (in pixels)
var marqueewidth=680
//Specify the marquee's
height (in pixels, pertains only to NS)
var marqueeheight=50
//Specify the marquee's
scroll speed (larger is faster)
var speed=6
//Specify the marquee contents
var marqueecontents='<font
face="Arial Tur" face="Arial" size=+1 color="#FF0000">Scroll sitesini ziyaret
ettiğiniz için teşekkürler.Bana E-mail ile ulaşabilirsiniz.Bir <a href="mailto:riza@post.com"
>E-mail</a> atmanız yeterli.</font>'
if (document.all)
document.write('<marquee
scrollAmount='+speed+' style="width:'+marqueewidth+' left:100">'+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()
}
}
window.onload=regenerate2
</script>
<ilayer width=&{marqueewidth};
height=&{marqueeheight}; left=&{marqueeleft}; top=&{marqueetop};
name="cmarquee01">
<layer name="cmarquee02"></layer>
</ilayer>
3.Adım:yazıların rengini
color="" etiketinden ve büyüklüğünü de size="" etiketini bularak değiştirmeniz
gerekir.
|