ตั้งค่าการอ่าน

ค่าเริ่มต้น

  • เลื่อนอัตโนมัติ
    CodE MakE ThemE Tip Photoshop ... Id&Hi5

    ลำดับตอนที่ #82 : $~ CodE _ ตัวอักษรเปลี่ยนไปเรื่อยๆแบบมี Effect ~$

    • เนื้อหานิยายตอนนี้เปิดให้อ่าน
    • 1.21K
      0
      9 ก.ย. 49


    <script>
    // your messages. Add as many as you like.
    var messages = new Array()
    messages[0] = "nikkijung_narak"
    messages[1] = "รวบรวมของฟรีมากมาย"
    messages[2] = "Free Code"
    messages[3] = "Java Script และ ของแต่งได"

    // the background-colors of your scroller. Add as many as you like.
    var backgroundcolor=new Array("red", "yellow", "green", "blue", "black", "orange")

    // the font-colors of your messages. Add as many as you like.
    var fntcolor = new Array("#ffffff","#ffffff","#ffffff","#ffffff")

    // the font of your messages.
    var fntfamily='MS Sans Serif'

    // the font-size (1 to 7)
    var fntsize=1

    // font-weight: set 1 for bold font, set 0 for normal font
    var fntweight=1

    // the width of the border (pixels)
    var borderwidth=2

    // the width of your scroller (pixels)
    var scrollerwidth=200

    // the height of your scroller (pixels)
    var scrollerheight=80

    // the horizontal position of your scroller (distance to the left margin of browserwindow)
    var scrollerposition_x=280

    // the horizontal position of your scroller (distance to the top margin of browserwindow)
    var scrollerposition_y=20

    // interval (time for each effect plus standstill time, seconds)
    var interval=4


    ///////////////////////////////////////////////////////////////////////////
    // CONFIGURATION ENDS HERE
    ///////////////////////////////////////////////////////////////////////////

    var i_messages = 0
    var timer
    interval=interval*1000
    if (fntweight==1) {
        fntweight="<b>"
    }
    else {
        fntweight=""
    }

    function randomposition(range) {  
     return Math.floor(range*Math.random())
    }

    function dotransition() {
        if (document.all) {
            content.filters[i_messages].apply()
            content.innerHTML = "<table width="+scrollerwidth+" height="+scrollerheight+" border="+borderwidth+" cellpadding=3 cellspacing=0><tr><td bgcolor="+backgroundcolor[randomposition(backgroundcolor.length)]+" align=center valign=middle>"+fntweight+"<font face="+fntfamily+" size="+fntsize+" color="+fntcolor[randomposition(fntcolor.length)]+">"+messages[i_messages]+"</font></td></tr></table>"
            content.filters[i_messages].play()
            if (i_messages >= messages.length-1) {
                i_messages = 0
            }
            else {
                i_messages++
            }
        }
     
         if (document.layers) {
            document.nn.document.write("<table width="+scrollerwidth+" height="+scrollerheight+" border="+borderwidth+" cellpadding=3 cellspacing=0><tr><td bgcolor="+backgroundcolor[randomposition(backgroundcolor.length)]+" align=center valign=middle>")
       document.nn.document.write(fntweight+"<font face="+fntfamily+" size="+fntsize+" color="+fntcolor[randomposition(fntcolor.length)]+">"+messages[i_messages]+"</font></td></tr></table>")
      document.close()
            if (i_messages >= messages.length-1) {
                i_messages = 0
            }
            else {
                i_messages++
            }
        }
        timer = setTimeout("dotransition()",interval)  
    }

    if (document.all) {
        document.write('<DIV id=content style="position:absolute; top:'+scrollerposition_y+'px; left:'+scrollerposition_x+'px;  text-align:center; filter: revealTrans(Transition=1, Duration=3) revealTrans(Transition=2, Duration=3) revealTrans(Transition=3, Duration=2)  revealTrans(Transition=4, Duration=2)  revealTrans(Transition=5, Duration=1)  revealTrans(Transition=6, Duration=3)  revealTrans(Transition=7, Duration=2)  revealTrans(Transition=8, Duration=1)  revealTrans(Transition=9, Duration=3)  revealTrans(Transition=10, Duration=1)  revealTrans(Transition=11, Duration=2)  revealTrans(Transition=12, Duration=3)  revealTrans(Transition=13, Duration=1)  revealTrans(Transition=14, Duration=2)  revealTrans(Transition=15, Duration=3)  revealTrans(Transition=16 Duration=1)  revealTrans(Transition=17, Duration=2)  revealTrans(Transition=18, Duration=3) revealTrans(Transition=19, Duration=1) revealTrans(Transition=20, Duration=2) revealTrans(Transition=21, Duration=3) revealTrans(Transition=22, Duration=3)"><table width='+scrollerwidth+' height='+scrollerheight+' border='+borderwidth+' cellpadding=3 cellspacing=0><tr><td bgcolor='+backgroundcolor[randomposition(backgroundcolor.length)]+' align=center valign=middle> </td></tr></table></DIV>')
        window.onload=dotransition
    }
    if (document.layers) {
        document.write('<layer id=nn top='+scrollerposition_y+' left='+scrollerposition_x+'> </layer>')
        document.close()
        window.onload=dotransition
        }
        </script>

    เปลี่ยนได้จ๊ะ

    ติดตามเรื่องนี้
    เก็บเข้าคอลเล็กชัน

    นิยายที่ผู้อ่านนิยมอ่านต่อ ดูทั้งหมด

    loading
    กำลังโหลด...

    อีบุ๊ก ดูทั้งหมด

    loading
    กำลังโหลด...

    ความคิดเห็น

    ×