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

ค่าเริ่มต้น

  • เลื่อนอัตโนมัติ
    _แจกโค้ดแต่งiD Diary บทความคร่า

    ลำดับตอนที่ #148 : [Code]_ตัวหนังสือกาพิบบบบ

    • เนื้อหาตอนนี้เปิดให้อ่าน
    • 292
      0
      13 ก.ย. 50


    + Miew


    <script language="JavaScript1.2">

    message="ข้อความ"
    var neonbasecolor="โค้ดสีที่1"
    var neontextcolor="โค้ดสีที่2"
    var flashspeed=100 //in milliseconds

    ///Don't change anything below this line/////

    var n=0
    if (document.all){
    document.write('<font color="'+neonbasecolor+'">')
    for (m=0;m<message.length;m++)
    document.write('<span id="neonlight">'+message.charAt(m)+'</span>')
    document.write('</font>')

    //cache reference to neonlight array
    var tempref=document.all.neonlight
    }
    else
    document.write(message)

    function neon(){

    //Change all letters to base color
    if (n==0){
    for (m=0;m<message.length;m++)
    tempref[m].style.color=neonbasecolor
    }

    //cycle through and change individual letters to neon color
    tempref[n].style.color=neontextcolor

    if (n<tempref.length-1)
    n++
    else{
    n=0
    clearInterval(flashing)
    setTimeout("beginneon()",1000)
    return
    }
    }

    function beginneon(){
    if (document.all)
    flashing=setInterval("neon()",flashspeed)
    }
    beginneon()
    </script>

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

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

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

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

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

    ความคิดเห็น

    ×