Neler yeni
Türkiye'nin En Güncel Forum Sitesi

Forum içeriğine ve tüm hizmetlerimize erişim sağlamak için foruma kayıt olmalı yada giriş yapmalısınız. Forum üye olmak tamamen ücretsizdir.

Hareketli Yazı V2.2(ing)

ByOnur58

Kayıtlı Üye
MFC Üyesi
  • Üyelik Tarihi
    7 Ocak 2015
  • Mesajlar
    2,113
  • MFC Puanı
    10
  • MFC Seviyesi

Kod:
<html>
<head>
<title>News Scroller V2.2</title>

<!-- STEP I: Goes between <HEAD> & </HEAD> tags 
             You may keep it, change or ignore it!-->
<style type="text/css">
A.tabb:link    {color:blue;}
A.tabb:visited{color: blue;}
A.tabb:hover    {color: red;}
 .tab { font-size:12px; font-family:Arial;color:navy;}
 .tabb { font-weight:bold; font-size:14px; font-family:Arial;}
</style>

<!-- STEP II: Goes between <HEAD> & </HEAD> tags-->
<SCRIPT LANGUAGE="JavaScript">

/*************************************
 *  This notice may not be removed   *
 * http://www.geocities.com/vbarsan/ *
*************************************/

//-- Begin Scroller''s Parameters and message -->
//scroller width: change to your own;
var wwidth=450;

//scroller height: change to your own;
var wheight=20;

//background color: change to your own; 
var wbcolor="#ccffcc";

//scroller''s speed: change to your own;
var sspeed=2;
var restart=sspeed;
var rspeed=sspeed;

//text: change to your own

wwholemessage=''<nobr class=tabb>''+
''<a class=tabb href="#" onClick=\''window.top.********.href="http://javascript.internet.com/scrolls/multiple-message-scroller.html"\''><u>Multiple Message Scroller uploaded at JavaScript Source on Sep.21/01</u></a>''+
'' & updated version: <a class=tabb href="#" onClick=\''window.top.********.href="http://www.geocities.com/vbarsan/multiplescroller.htm"\''><u>Multiple Message Scroller V3.0</u></a></nobr>'';
//-- end Parameters and message-->

//-- begin: Scroller''s Algorithm -->
var sizeupw=0;var operbr=navigator.userAgent.toLowerCase().indexOf(''opera'');
function goup(){if(sspeed!=rspeed*8){sspeed=sspeed*2;restart=sspeed;}}
function godown(){if(sspeed>rspeed){sspeed=sspeed/2;restart=sspeed;}}
function startw(){if(********.all) iemarqueew(wslider);else if(********.getElementById)ns6marqueew(********.getElementById(''wslider''));else if(********.layers)ns4marqueew(********.wslider1.********.wslider2);}function iemarqueew(whichdiv){iedivw=eval(whichdiv);iedivw.style.pixelLeft=wwidth;iedivw.innerHTML=''<nobr>''+wwholemessage+''</nobr>'';sizeupw=iedivw.offsetWidth;if(operbr!=-1){operaslider.innerHTML=''<nobr>''+wwholemessage+''</nobr>'';sizeupw=operaslider.offsetWidth;}ieslidew();}function ieslidew(){if(iedivw.style.pixelLeft>=sizeupw*(-1)){iedivw.style.pixelLeft-=sspeed;setTimeout("ieslidew()",100);}else{iedivw.style.pixelLeft=wwidth;ieslidew();}}function ns4marqueew(whichlayer){ns4layerw=eval(whichlayer);ns4layerw.left=wwidth;ns4layerw.********.write(''<nobr>''+wwholemessage+''</nobr>'');ns4layerw.********.close();sizeupw=ns4layerw.********.width;ns4slidew();}function ns4slidew(){if(ns4layerw.left>=sizeupw*(-1)){ns4layerw.left-=sspeed;setTimeout("ns4slidew()",100);}else{ns4layerw.left=wwidth;ns4slidew();}}function ns6marqueew(whichdiv){ns6divw=eval(whichdiv);ns6divw.style.left=wwidth;ns6divw.innerHTML=''<nobr>''+wwholemessage+''</nobr>'';sizeupw=ns6divw.offsetWidth;ns6slidew();}function ns6slidew(){if(parseInt(ns6divw.style.left)>=sizeupw*(-1)){ns6divw.style.left=parseInt(ns6divw.style.left)-sspeed;setTimeout("ns6slidew()",100);}else{ns6divw.style.left=wwidth;ns6slidew();}}
//-- end Algorithm -->
</script>
<!-- End of Script between <head> & </head> tags-->
</head>

<!-- STEP III: Make sure startw() is loaded -->
<body onload="startw();">

<!-- STEP IV: Goes between <BODY ... > & </BODY> tags
              begin: body code  -->

<!-- You may remove first cell below (<td> ... </td>) to get rid of Speed-change -->
<script language="JavaScript">********.write(''<table align="center" border="2"><tr><td bgcolor="#ffffcc"><div class=tabc><b><u><a class=tabb href="#" onClick="goup();">UP </a></u>-<u><a href="#" class=tabb onClick="godown();"> DN</a></u></b></div></td><td width=''+wwidth+''>'');if(********.getElementById || ********.all){********.write(''<span style="width:''+wwidth+'';"><div style="position:relative;overflow:hidden;width:''+wwidth+'';height:''+wheight+'';clip:rect(0 ''+wwidth+'' ''+wheight+'' 0);background-color:''+wbcolor+'';" onMouseover="sspeed=0;" onMouseout="sspeed=restart">'');if(operbr!=-1)********.write(''<div id="operaslider" style="position:absolute;visibility:hidden;"></div>'');********.write(''<div id="wslider" style="position:relative;height:''+wheight+'';"></div></div></span>'')}</script>
<ilayer width=&{wwidth}; height=&{wheight}; name="wslider1" bgcolor=&{wbcolor};><layer name="wslider2" width=&{wwidth}; height=&{wheight}; onMouseover="sspeed=0;" onMouseout="sspeed=restart"></layer></ilayer></td></tr></table>
<!-- end -->

</body></html>
 
Üst Alt