• 15-08-2007, 18:55:04
    #1
    Kimlik doğrulama veya yönetimden onay bekliyor.
    magazin itiraf ege haber Download siyaset reklam toplist Dosya Arsivi burda ana sayfada kayan yazı yapmak ıstedim ama olmadı

    fare üzerine gelince durması ve daha yavaş kaymasını mumkunse cerceve olmasını ıstiyorum

    kod
    <h2>Makale'ler</h2>
     <marquee scrolldelay=9 direction=up>
    {section name=$this->i  loop=$this->articles}
    {$this->i|inc}: <a href='{$this->articles[$this->i]->url}'>{$this->articles[$this->i]->title}</a>
    
    <div class="summary">
    {if $this->articles[$this->i]->summary}
    {$this->articles[$this->i]->summary}
    {else}
    {$this->articles[$this->i]->text|@summary}
    {/if}
    </div>
    <br>
    {/section}
    
    </marquee>
  • 15-08-2007, 19:43:52
    #2
    <head>
    </head> tagları arasına eklenecek kod:
    <styletype="text/css">

    #marqueecontainer{position:relative;width:300px;
    height:200px;
    background-color:white;overflow:hidden;border:3pxsolidorange;
    padding:2px;padding-left:4px;}</style>

    <script type="text/javascript">
    var delayb4scroll=2000 //SAYFANIN AÇILIŞINDAKİ BEKLEM SÜRESİ (2000=2 SANİYE)
    var marqueespeed=1 //GEÇİŞ HIZINI BURADAN AYARLA (1-10)
    var pauseit=1 //ÜZERİNE GELİNCE DURSUNMU? (0=HAYIR. 1=EVET)?

    ////buraları elleme////////////

    var copyspeed=marqueespeed
    var pausespeed=(pauseit==0)? copyspeed:0var actualheight=''

    function scrollmarquee(){if(parseInt(cross_marquee.style.top)>(actualheight*(-1)+8))
    cross_marquee.style.top=parseInt(cross_marquee.style.top)-copyspeed+"px"else
    cross_marquee.style.top=parseInt(marqueeheight)+8+"px"}function initializemarquee(){
    cross_marquee=document.getElementById("vmarquee")
    cross_marquee.style.top=0
    marqueeheight=document.getElementById("marqueecontainer").offsetHeight
    actualheight=cross_marquee.offsetHeight
    if(window.opera || navigator.userAgent.indexOf("Netscape/7")!=-1){ //if Opera or Netscape 7x, add scrollbars to scroll and exit
    cross_marquee.style.height=marqueeheight+"px"
    cross_marquee.style.overflow="scroll"return}
    setTimeout('lefttime=setInterval("scrollmarquee()",30)', delayb4scroll)}if(window.addEventListener)
    window.addEventListener("load", initializemarquee,false)elseif(window.attachEvent)
    window.attachEvent("onload", initializemarquee)elseif(document.getElementById)
    window.onload=initializemarquee


    </script>
    ---------------------------------------------------------
    <body>
    </body> tagları arasına eklencek kod(istediğin yere yani)
    <div id="marqueecontainer" onMouseover="copyspeed=pausespeed" onMouseout="copyspeed=marqueespeed">
    <div id="vmarquee" style="position: absolute; width: 98%;">

    <!--YAZMAK İSTEDİĞİNİ BURAYA YAZ-->

    <h4>deneme yazısı</h4>

    <!--YAZMAK İSTEDİĞİNİ BURAYA YAZ-->

    kapsamlı bişey işine yarar, gerekli açıklamaları kodların arasında verdim...