Kayan Yazı Scripti-Javascript

Sending
User Rating 0 (0 votes)

Web sitesi tasarımlarınızda kullanabileceğiniz Kayan Yazı JavaScript örneği

Kod

<td height="54" bgcolor="#000000" valign="bottom">
<table border="0" cellspacing="0" cellpadding="0" width="388">
<tr>
<td width="20" height="20"><img src="ok_sol.gif" onmouseover="leftScroll();" style="cursor:hand;" width="20" height="20"></td>
<td valign="bottom">
<script language=JavaScript1.2>
var marqueewidth=350
var marqueeheight=17
var speed= 5
var yon="left"
var marqueecontents="<div  onmouseover=stopScroll();  onmouseout=startScroll();> "
marqueecontents+="Hobi Cenneti | Hobi gelişimi ve hobi malzemeleri platformu&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Hobi gelişimi, yeni hobiler, ucuz ve kaliteli hobi malzemeleri, hediyelik ürünler Hobi Cennetinde sizleri bekliyor. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;"
 marqueecontents+="</div>"
function startScroll() {
idkayaz.scrollAmount=5;
}
function stopScroll() {
idkayaz.scrollAmount=0;
}
function leftScroll() {
idkayaz.direction="left";
}
function rightScroll() {
idkayaz.direction="right";
}
if (document.all)
document.write('<marquee name="kayaz"  id="idkayaz" direction='+yon+' scrollAmount='+speed+' style="width:'+marqueewidth+';height:'+marqueeheight+'">'+marqueecontents+'</marquee>')
</script>
</td>
<td width="20" height="20"><img onmouseover="rightScroll();" style="cursor:hand;"  src="ok_sag.gif" width="20" height="20"></td>

</tr>

Leave a Reply