haber ve duyuru sistemi kodu
Önizleme
KODCUDOST
DUYURU
|
Kod
<table width="200" cellspacing="0" cellpadding="0" border="0" align="center"> <tbody> <tr> <td><style type="text/css"> <!-- #duyurubaslangici { background-image: url(https://img.webme.com/pic/s/sportotosuperlig2011/ntvsporalthaberbandi.jpg); height: 152px; width: 600px; } #sitebasligi { width: 160px; height: 25px; color: #FFFFFF; font-family: Arial, Helvetica, sans-serif; font-size: 17px; font-weight: bold; padding-top: 5px; padding-left: 30px; float: left; } #konubasligi { float: left; margin-left: 6px; width: 215px; height: 24px; margin-top: 5px; padding-left: 5px; font-family: Arial, Helvetica, sans-serif; font-size: 17px; font-weight: bold; padding-top: 1px; color: #091136; } #saat { float: right; height: 23px; width: 100px; font-family: Arial, Helvetica, sans-serif; font-size: 15px; color: #FFFFFF; padding-top: 7px; padding-left: 50px; } #duyuruicerigi { float: left; width: 385px; margin-top: 6px; height: 71px; font-family: Arial, Helvetica, sans-serif; font-size: 15px; font-weight: bold; color: #FFFFFF; margin-left:30px; } #duyuruicerigi a { color: #FFFFFF; text-decoration: none; } #digerduyurular { float: left; height: 18px; width: 500px; margin-left: 100px; margin-top: 7px; color: #FFFFFF; font-family: Arial, Helvetica, sans-serif; font-weight: bold; font-size: 14px; padding-top: 2px; } #digerduyurular a { color: #FFFFFF; text-decoration: none; } --> </style> <div id="duyurubaslangici"> <div id="sitebasligi">KODCUDOST</div> <div id="konubasligi">DUYURU</div> <div id="saat"><span id="miniclock"><noscript>Enable JS to see clock</noscript></span> <script language="JavaScript" type="text/javascript"> <!-- function runMiniClock() { var time = new Date(); var hours = time.getHours(); var minutes = time.getMinutes(); minutes=((minutes < 10) ? "0" : "") + minutes; ampm = (hours >= 24) ? "" : ""; hours=(hours > 24) ? hours-24 : hours; hours=(hours == 0) ? 12 : hours; var clock = hours + ":" + minutes + " " + ampm; if(clock != document.getElementById('miniclock').innerHTML) document.getElementById('miniclock').innerHTML = clock; timer = setTimeout("runMiniClock()",1000); } runMiniClock(); //--> </script></div> <div id="duyuruicerigi"><script type="text/javascript"> var delay = 7000; //set delay between message change (in miliseconds) var maxsteps=30; // number of steps to take to change from start color to endcolor var stepdelay=40; // time in miliseconds of a single step //**Note: maxsteps*stepdelay will be total time in miliseconds of fading effect var startcolor= new Array(0,0,0); // start color (red, green, blue) var endcolor=new Array(255,255,255); // end color (red, green, blue) var fcontent=new Array(); begintag='<div style="">'; //set opening tag, such as font declarations fcontent[0]="<a href='http://kodcudost.tr.gg/ntvspor-alt-haber-bandi-kodu.htm'>KODCUDOST ESKİ ALT NTV SPOR HABER BANDI ÇIKTI. SİTENİZE EKLEMEK İÇİN TIKLAYINIZ.</a>"; fcontent[1]="<a href='facebook-profil-menusu.htm'>FACEBOOK YAN PROFİL MENÜSÜNÜ İSTEYEN ARKADAŞLAR OLDU KIRMADIK YAPTIK. SİZDE MENÜMÜZÜ SİTENİZE EKLEMEK İSTİYORSANIZ TIKLAYINIZ.</a>"; fcontent[2]="<a href='ayni-anda-yukari-cik-ve-asagi-in-kodu.htm'>BU KODUMUZLA BERABER ZİYARETÇİLERİNİZ AYNI ANDA YUKARI ÇIKIP AŞAĞI İNEBİLİCEK. KODUMUZUN ÖNİZLEMESİNİ GÖRMEK VE SİTENİZE EKLEMEK İÇİN TIKLAYINIZ.</a>"; fcontent[3]="<a href='splash-facebook-begen-kodu.htm'>SPLASH FACEBOOK BEĞENİ İNTROMUZLA BERABER FACEBOOK SAYFA BEĞENİLERİNİZİ DAHADA ÇOĞALTMAK İSTİYORSANIZ TIKLAYIN.</a>"; fcontent[4]="<a href='facebook-sohbet.htm'>FACEBOOK SOHBETİNE ÇOK BENZEYEN BU SOHBET KODUMUZU SİTENİZE EKLEMEK İÇİN TIKLAYINIZ.</a>"; closetag='</div>' var fwidth='100%'; //set scroller width var fheight='100%px'; //set scroller height var fadelinks=1; //should links inside scroller content also fade like text? 0 for no, 1 for yes. ///No need to edit below this line///////////////// var ie4=document.all&&!document.getElementById; var DOM2=document.getElementById; var faderdelay=0; var index=0; /*Rafael Raposo edited function*/ //function to change content function changecontent(){ if (index>=fcontent.length) index=0 if (DOM2){ document.getElementById("fscroller").style.color="rgb("+startcolor[0]+", "+startcolor[1]+", "+startcolor[2]+")" document.getElementById("fscroller").innerHTML=begintag+fcontent[index]+closetag if (fadelinks) linkcolorchange(1); colorfade(1, 15); } else if (ie4) document.all.fscroller.innerHTML=begintag+fcontent[index]+closetag; index++ } function linkcolorchange(step){ var obj=document.getElementById("fscroller").getElementsByTagName("A"); if (obj.length>0){ for (i=0;i<obj.length;i++) obj[i].style.color=getstepcolor(step); } } /*Rafael Raposo edited function*/ var fadecounter; function colorfade(step) { if(step<=maxsteps) { document.getElementById("fscroller").style.color=getstepcolor(step); if (fadelinks) linkcolorchange(step); step++; fadecounter=setTimeout("colorfade("+step+")",stepdelay); }else{ clearTimeout(fadecounter); document.getElementById("fscroller").style.color="rgb("+endcolor[0]+", "+endcolor[1]+", "+endcolor[2]+")"; setTimeout("changecontent()", delay); } } /*Rafael Raposo's new function*/ function getstepcolor(step) { var diff var newcolor=new Array(3); for(var i=0;i<3;i++) { diff = (startcolor[i]-endcolor[i]); if(diff > 0) { newcolor[i] = startcolor[i]-(Math.round((diff/maxsteps))*step); } else { newcolor[i] = startcolor[i]+(Math.round((Math.abs(diff)/maxsteps))*step); } } return ("rgb(" + newcolor[0] + ", " + newcolor[1] + ", " + newcolor[2] + ")"); } if (ie4||DOM2) document.write('<div id="fscroller" style="border:0px solid orange;width:'+fwidth+';height:'+fheight+'"></div>'); if (window.addEventListener) window.addEventListener("load", changecontent, false) else if (window.attachEvent) window.attachEvent("onload", changecontent) else if (document.getElementById) window.onload=changecontent </script></div> <div id="digerduyurular"><marquee onmouseout="this.scrollAmount=8" onMouseOver="this.scroolAmount=1">KODCUDOST MUHTEŞEM HABER & DUYURU SCRİPTİ ÇIKTI. EMİNİZ ÇOK BEĞENECEKSİNİZ. SİTENİZE EKLEMEK İÇİN <a href="http://kodcudost.tr.gg/ntvspor-alt-haber-bandi.htm">TIKLAYINIZ</a> </marquee></div> </div> </td> </tr> </tbody> </table> |