Powered by WordPress | Theme by mg12 | Valid XHTML 1.1 and CSS 3
  • Javascript ile kayan yazılı buton

    Bu vereceğim javascript kodları ile sitenize kayan yazılı buton (düğme) yapabilirsiniz. isterseniz düğmeye basınca ayarladığınız sayfanın veya sitenin açılmasınıda sağlayabilirsiniz.

    Yada herhangi bir linke bağlamayıp kayan yazı şeklinde istediğinizi yazarak sitenizde görünmesini, bir bakıma kendi küçük haber bandınızı oluşmasını sağlayabilirsiniz.

    Test etmek için buraya tıklayabilirsiniz.

    BODY….BODY arasına eklenecek kod

    <html>
     
     
    <HEAD>
     
     
    <title>extradestek.org</title></HEAD>
     
    <BODY>
     
    <SCRIPT LANGUAGE="JavaScript">
    <!-- Original:  Happy Smart -->
    <!-- Begin
    var message="   extradestek.org   ";//Put Your Message Here
    function ButtonURL(){
    window.location="http://www.extradestek.org"
    }
    function scroll()
    {
      message = message.substring(1,message.length) + message.substring(0,1);
      document.bs.bs.value = message;
      setTimeout("scroll()",140);
    }
    window.onload=scroll
    document.write('<style type="text/css">')
    document.write('.select{background: blue;border-color:"yellow";color:"white";font-family:Arial,Helvetica,Verdana;font-size:10pt;font-weight: bold;}')
    document.write('</STYLE>')
    document.write('<form name=bs><INPUT class="select" TYPE="button" NAME="bs" value="" onclick="ButtonURL()"></FORM>') //  End --> 
    </script>
     
    </BODY>
     
     
    </HTML>



    24 Eylül 2007 at 17:41
No comments yet.

Yorum yaz

XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> <pre lang="" line="" escaped="">
TOP