<!--- KAYNAK: http://www.gezginler.net ---> <style> .scrollerstyle{ font-family:webdings; background:#E1FFE1;border:1px solid #115585;cursor:w-resize; } </style> <script language="javascript"> var msgs = new Array( "Link 1", "Link 2", "Link 3", "Link 4", "Link 5" ); var msg_url = new Array( "http://www.linkadi.com", "http://www.linkadi.com", "http://www.linkadi.com", "http://www.linkadi.com", "http://www.linkadi.com" ); var barwidth=350 //Enter main bar width in px or % / bar uzunluğu var setdelay=3000 //Enter delay between msgs, in mili-seconds / linkler arasındaki geçiş hızı var mouseover_color='#ccffcc' var mouseout_color='#E1FFE1' var count=0; var ns6=document.getElementById&&!document.all var ie4=document.all&&navigator.userAgent.indexOf("Opera")==-1 if (ie4||ns6){ document.write('<form name="news_bar"><center><input type="button" value="3" onclick="moveit(0)" class="scrollerstyle" style="width:22; height:22; border-right-width:0px;" name="prev" title="Previous News"><input type="button" name="news_bar_but" onclick="goURL();" style="color:#000066;background:#E1FFE1; width:'+barwidth+'; height:22; border-width:1; border-color:#115585; cursor:hand" onmouseover="this.style.background=mouseover_color" onmouseout="this.style.background=mouseout_color"><input type="button" value="4" onclick="moveit(1)" class="scrollerstyle" style="width:22; height:22; border-left-width:0px;" name="next" title="Next News"></form>'); } else{ document.write('<form name="news_bar"><center><input type="button" value="Previous" onclick="moveit(0)">') if (navigator.userAgent.indexOf("Opera")!=-1) document.write('<input type="button" name="news_bar_but" onclick="goURL();" style="width:'+barwidth+'" border="0">') else document.write('<input type="button" name="news_bar_but" onclick="goURL();" width="'+barwidth+'" border="0">') document.write('<input type="button" value="Next" onclick="moveit(1)"></center></center></form>') } function init_news_bar(){ document.news_bar.news_bar_but.value=msgs[count]; } function moveit(how){ if (how==1){ //cycle foward if (count<msgs.length-1) count++ else count=0 } else{ //cycle backward if (count==0) count=msgs.length-1 else count-- } document.news_bar.news_bar_but.value=msgs[count]; } setInterval("moveit(1)",setdelay) function goURL(){ location.href=msg_url[count]; } init_news_bar(); </script> <!--- KAYNAK: http://www.gezginler.net --->