Türk Başarısı


Cevapla 
 
Derecelendir
  • 0 Oylar - 0 Yüzde
  • 1
  • 2
  • 3
  • 4
  • 5
Güzel bir duyuru sistemi
Yazar Mesaj
K3ST4N3 Ş3K3R! Dışarıda
Cezalı Üye
Cezalı

Mesajlar: 1,096
Katılma Tarihi: Sep 2008

Mesaj: #1
Güzel bir duyuru sistemi
PHP Kod:
<!--- KAYNAKhttp://www.gezginler.net --->

<!---<bodyBaşlangıcı  --->
<
script type="text/javascript">
/** Memory Scroller script- © Dynamic Drive DHTML code library (www.dynamicdrive.com)**/

var memorywidth="300px" //scroller width
var memoryheight="20px" //scroller height
var memorybgcolor="#ffffb3" //scroller background
var memorypadding="2px" //padding applied to the scroller. 0 for non.
var borderCSS="border: 1px solid black;" //Border CSS, applied to scroller to give border.

var memoryspeed=//Scroller speed (larger is faster 1-10)
var pauseit=//Pause scroller onMousever (0=no. 1=yes)?

var persistlastviewedmsg=//should scroller's position persist after users navigate away (1=yes, 0=no)?
var persistmsgbehavior="onload" //set to "onload" or "onclick".

//Specify the scroller's content (don't delete <nobr> tag)
//Keep all content on ONE line, and backslash any single quotations (ie: that\'s great):

var memorycontent='<nobr><span style="font: bold 13px Verdana">Duyurunuz <a href="http://www.gezginler.net">Gezginler</a> kervanına sizde katılın.</span></nobr>'


////NO NEED TO EDIT BELOW THIS LINE////////////
var combinedcssTable="width:"+(parseInt(memorywidth)+6)+"px;background-color:"+memorybgcolor+";padding:"+memorypadding+";"+borderCSS+";"
var combinedcss="width:"+memorywidth+";height:"+memoryheight+";"

var divonclick=(persistlastviewedmsg && persistmsgbehavior=="onclick")? 'onClick="savelastmsg()" ' ''
memoryspeed=(document.all)? memoryspeed Math.max(1memoryspeed-1//slow speed down by 1 for NS
var copyspeed=memoryspeed
var pausespeed=(pauseit==0)? copyspeed0
var iedom=document.all||document.getElementById
if (iedom)
document.write('<span id="temp" style="visibility:hidden;position:absolute;top:-100px;left:-10000px">'+memorycontent+'</span>')
var 
actualwidth=''
var memoryscroller

if (window.addEventListener)
window.addEventListener("load"populatescrollerfalse)
else if (
window.attachEvent)
window.attachEvent("onload"populatescroller)
else if (
document.all || document.getElementById)
window.onload=populatescroller

function populatescroller(){
memoryscroller=document.getElementByIddocument.getElementById("memoryscroller") : document.all.memoryscroller
memoryscroller
.style.left=parseInt(memorywidth)+8+"px"
if (persistlastviewedmsg && get_cookie("lastscrollerpos")!="")
revivelastmsg()
memoryscroller.innerHTML=memorycontent
actualwidth
=document.alltemp.offsetWidth document.getElementById("temp").offsetWidth
lefttime
=setInterval("scrollmarquee()",20)
}

function 
get_cookie(Name) {
var 
search Name "="
var returnvalue ""
if (document.cookie.length 0) {
offset document.cookie.indexOf(search)
if (
offset != -1) {
offset += search.length
end 
document.cookie.indexOf(";"offset)
if (
end == -1)
end document.cookie.length;
returnvalue=unescape(document.cookie.substring(offsetend))
}
}
return 
returnvalue;
}

function 
savelastmsg(){
document.cookie="lastscrollerpos="+memoryscroller.style.left
}

function 
revivelastmsg(){
lastscrollerpos=parseInt(get_cookie("lastscrollerpos"))
memoryscroller.style.left=parseInt(lastscrollerpos)+"px"
}

if (
persistlastviewedmsg && persistmsgbehavior=="onload")
window.onunload=savelastmsg

function scrollmarquee(){
if (
parseInt(memoryscroller.style.left)>(actualwidth*(-1)+8))
memoryscroller.style.left=parseInt(memoryscroller.style.left)-copyspeed+"px"
else
memoryscroller.style.left=parseInt(memorywidth)+8+"px"
}

if (
iedom){
with (document){
document.write('<table border="0" cellspacing="0" cellpadding="0" style="'+combinedcssTable+'"><td>')
write('<div style="position:relative;overflow:hidden;'+combinedcss+'" onMouseover="copyspeed=pausespeed" onMouseout="copyspeed=memoryspeed">')
write('<div id="memoryscroller" style="position:absolute;left:0px;top:0px;" '+divonclick+'></div>')
write('</div>')
document.write('</td></table>')
}
}
</script>
<!--- KAYNAK: http://www.gezginler.net ---> 

Duyurunuz yazan yere duyuru yazın..

Buda örnek görüntü

http://www.gezginler.net/javascripts/orn...nyazi.html

Kodu header şablonuna ekleyebilirsiniz.
11-20-2008 04:03 PM
Web Sayfasını Ziyeret Edin Tüm Mesajlarını Bul Alıntı Yaparak Cevapla
« Önceki | Sonraki »
Cevapla 


Bu Konudaki Mesajlar
Güzel bir duyuru sistemi - K3ST4N3 Ş3K3R! - 11-20-2008 04:03 PM
RE: Güzel bir duyuru sistemi - drumstar - 11-24-2008, 02:30 PM
RE: Güzel bir duyuru sistemi - TGOD - 12-04-2008, 02:41 PM
RE: Güzel bir duyuru sistemi - hckr26 - 11-26-2008, 12:40 PM

Benzeyen Konular
Konu: Yazar Cevaplar: Görüntüleyenler: Son Mesaj
  şık görünen duyuru drumstar 10 239 11-30-2008 02:38 PM
Son Mesaj: drumstar
  1.4.x Version İçin Önemli Ve Güzel Eklenti & Modifiye List. JelixViewer 3 362 10-23-2008 10:20 PM
Son Mesaj: mavisfaw
Thumbsup Renkli duyuru sistemi! bomfile 6 412 10-19-2008 06:33 PM
Son Mesaj: ozzani
  Ajax Duyuru Ve Haber Paneli [1.4] Sub-Zero 8 539 10-14-2008 11:20 PM
Son Mesaj: xyx
Lightning Yanıp sönen hareketli duyuru alanı LikeLy 4 320 09-09-2008 05:20 PM
Son Mesaj: serinturk