Hazır Flash Banner

Bu bölümümüzde PHP uzantılı web sayfaları hakkında aradığınıza ulaşabileceksiniz..Kodlar, programlar ve daha niceleri.. Ayrıca bu bölümümüzde PHP forumlar hakkında da sorular sorabilir paylaşımlarda bulunabilirsiniz.
Cevapla
Kullanıcı avatarı
Bozkurt
Tecrübeli Üye
Tecrübeli Üye
Mesajlar: 76
Kayıt: 15 Oca 2007 [ 16:41 ]

Hazır Flash Banner

Mesaj gönderen Bozkurt »

Ewet arkadaşlar..artık flash banner nasıl yapabilirm..nerden bulurum..nasıl yuklerim demiyceksiniz..hazırladığım bu kodlar sayesinde..sadece siteismini ve urlsi yazmanız yeterlibuyrun kodlar..editlemeyi unutmayın

KODLARI HEADRE TEMPLATESİNİN EN USTUNE EKLEYİN..

Kod:


CODE
// Type the messages into the text-Array. Add as many as you like. var text=new Array("hos geldiniz.", "SİTE İSMİ", "SİTE SLOGANI") // Type a link for each message. If you don't want to add a link add a "#" instead var textlink=new Array(http://www.siteismi.com","http://www.siteismi.com","http://www.siteismi.com","http://www.siteismi.c) // Type the target-window for each link. Acceepted values are "_blank", "_top", // "_parent" or the name of any frame var texttarget=new Array("_top","_top","_top","_top") // Set the font for the headline-fader var textfont="Arial" // Set the font-color for the headline-fader (hexadecimal triplet values recommended) var textfontcolor="#99ccff" // Set the rollover-color for the headline-fader (hexadecimal triplet values recommended) var textfontcolorrollover="#ffff00" // Set the font-size for the headline-fader (points) var textfontsize=11 // Set the background-color for the headline-fader (hexadecimal triplet values recommended) var textbgcolor="#000000" // Set the width of the headline-fader (pixels) var textwidth=180 // Set the height of the headline-fader (pixels) var textheight=120 // Set the pause between the messages (seconds) var textpause=2 // Set the borderwidth (pixels) var textborder=3 // Set the border-color (hexadecimal triplet values recommended) var textbordercolor="#99ccff" // Set the horizontal text-position. Allowed values are "center" or "left" or "right" var textalign="center" // Set the vertical text-position. Allowed values are "middle" or "top" or "bottom" var textvalign="middle" // Set the number of snowflakes (more than 20 - 30 not recommended) var snowmax=20 // Set the colors for the snow. Add as many colors as you like var snowcolor=new Array("#99ccff","#ddddFF","#ccccDD") // Set the fonts, that create the snowflakes. Add as many fonts as you like var snowtype=new Array("Arial Black","Arial Narrow","Times","Comic Sans MS") // Set the letter that creates your snowflake (recommended:*) var snowletter="*" // Set the speed of sinking (recommended values range from 0.3 to 2) var sinkspeed=0.6 // Set the maximal-size of your snowflaxes (points) var snowmaxsize=16 // Set the minimal-size of your snowflaxes (points) var snowminsize=8 // Set font-style. Acceptable values are "normal" or "italic" var textitalic="normal" // Set font-weight. Acceptable values are "normal" or "bold" var textweight="bold" // do not edit below this line var textdecoration="none" var transparency=100 var transparencystep=5 var x_pos=0 var y_pos=0 var i_text=0 if (textitalic=="italic") {var textitalicA=""; var textitalicB=""} else {var textitalicA=""; var textitalicB=""} if (textweight=="bold") {var textweightA=""; var textweightB=""} else {var textweightA=""; var textweightB=""} var textweightA="" var textweightB="" var tickercontent var pausefade=40 var oneloopfinished=false var snow=new Array() var marginbottom var marginright var timer var i_snow=0 var x_mv=new Array(); var crds=new Array(); var lftrght=new Array(); var textfontsizeHTML=Math.floor(textfontsize/4) textpause*=1000 if (textfontsizeHTML=7) {textfontsizeHTML=7} var browserinfos=navigator.userAgent var ns4=document.layers var ns6=document.getElementById&&!document.all&&!browserinfos.match(/Opera/) var ie=document.all&&!browserinfos.match(/Opera/) var ie5=document.all&&document.getElementById&&!browserinfos.match(/Opera/) var opera=browserinfos.match(/Opera/) function changecontent() { getcontent() i_text++ if (i_text>=text.length) {i_text=0} if (ie) { ticker.innerHTML=content fadein() } if (ns6) { document.getElementById('ticker').innerHTML=content fadein() } if (opera) { document.getElementById('ticker').innerHTML=content var texttimer=setTimeout("changecontent()",textpause*1.5) } if (ns4) { document.roof.document.ticker.document.write(content) document.roof.document.ticker.document.close() var texttimer=setTimeout("changecontent()",textpause) } } function fadein() { if (transparency0){ transparency-=transparencystep if (ie) { document.all.ticker.filters.alpha.opacity=transpar
ency } if (ns6) { document.getElementById('ticker').style.MozOpacity=transparency/100 } var fadetimer=setTimeout("fadeout()",pausefade) } else { clearTimeout(fadetimer) setTimeout("changecontent()",1000) } } getcontent() function getcontent() { if (ie) { var tablewidth=textwidth-2*textborder var tableheight=textheight-2*textborder } else { var tablewidth=textwidth var tableheight=textheight } if (ie || ns6 || opera) { var padding=parseInt(textborder)+3 content="" content+="" content+=text[i_text] content+="" } else { content="" content+="" content+=text[i_text] content+="" framecontent="" framecontent+="" framecontent+="." framecontent+="" framecontent+="" } } function randommaker(range) { rand=Math.floor(range*Math.random()) return rand } function initsnow() { marginbottom = textheight marginright = textwidth var snowsizerange=snowmaxsize-snowminsize for (i=0;i=marginbottom || parseInt(snow.style.left)>(marginright-3*lftrght)){ snow.posx=randommaker(marginright-snow.size) snow.posy=0 } } var timer=setTimeout("movesnow()",50) } if (ie || ns6 || opera) { if (ns6) { textwidth-=2*textborder textheight-=2*textborder } document.write("") document.write("") document.write("") document.write("") for (i=0;i"+snowletter+"") } document.write("") document.write("") window.onload=initsnow } else if (ns4) { document.write("") document.write("") document.write("") document.write(framecontent) document.write("") document.write("") document.write() document.write("") document.write("") document.write("") window.onload=changecontent }



Cevapla