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

ค่าเริ่มต้น

  • เลื่อนอัตโนมัติ
    - ห้องทดลองธีม -

    ลำดับตอนที่ #2 : โค้ด

    • อัปเดตล่าสุด 9 ต.ค. 54




    ลบกรอบสีดำหมวดนิยาย

    ลบโฆษณาใต้ชื่อบทความ

    <script type="text/javascript">changead = document.getElementsByTagName('tr')[2]; changead.style.display="none";</script>


    <script type="text/javascript">changead = document.getElementsByTagName('table')[9]; changead.style.display="none";</script> 

    เปลี่ยนป้ายตรงใต้คำวิจารณ์
     <script type="text/javascript">
    var $tj = jQuery.noConflict();
    $tj(document).ready(function() {
    $tj('img[src="http://www.dek-d.com/writer/img/no_nc.gif"]').attr('src','http://image.dek-d.com/24/1079801/107087090').parent().attr('href','http://writer.dek-d.com/dek-d/writer/view.php?id=700017').addClass('bum');

    var getlast = $tj('td').length - 1;
    var thetd = $tj('td');
    $tj(thetd[getlast]).closest('table').prev().hide();
    $tj(thetd[getlast]).closest('table').before().hide();
    });</script>



    เปลี่ยนรูปโฆษณาใต้ชื่อบทความ

    <script type="text/javascript">
    x = document.getElementsByTagName('table');

    var ran = Math.floor(Math.random()*3)
    switch (ran)
    {
    case 0: x[9].rows[0].cells[0].innerHTML='<a href="ลิ้งบทความของคุณ" target="_blank"><img src="URL ของรูปภาพ" alt="ประโยคที่จะขึ้นพอเอาเม้าส์ชี้ที่รูป" /></a>'; break;

    case 1: x[9].rows[0].cells[0].innerHTML='<a href="ลิ้งบทความของคุณ" target="_blank"><img src="URL ของรูปภาพ" alt="ประโยคที่จะขึ้นพอเอาเม้าส์ชี้ที่รูป" /></a>'; break;

    default: x[9].rows[0].cells[0].innerHTML='<a href="ลิ้งบทความของคุณ" target="_blank"><img src="URL ของรูปภาพ" alt="ประโยคที่จะขึ้นพอเอาเม้าส์ชี้ที่รูป" /></a>'; break;
    }
    </script>

    <style type="text/css">

    #dhtmltooltip{
    position: absolute;
    left: -300px;
    width: 150px;
    border: 1px solid black;
    padding: 2px;
    background-color: lightyellow;
    visibility: hidden;
    ;
    /*Remove below line to remove shadow. Below line should always appear last within this CSS*/
    filter: progid:DXImageTransform.Microsoft.Shadow(color=gray,direction=135);
    }

    #dhtmlpointer{
    position:absolute;
    left: -300px;
    ;
    visibility: hidden;
    }

    </style> <script type="text/javascript">

    var offsetfromcursorX=12 //Customize x offset of tooltip
    var offsetfromcursorY=10 //Customize y offset of tooltip

    var offsetdivfrompointerX=10 //Customize x offset of tooltip DIV relative to pointer image
    var offsetdivfrompointerY=14 //Customize y offset of tooltip DIV relative to pointer image. Tip: Set it to (height_of_pointer_image-1).

    //write out tooltip DIV
    // ใส่ URL ของภาพ linkarrow.gif ที่นี่

    var ie=document.all
    var ns6=document.getElementById && !document.all
    var enabletip=false
    if (ie||ns6)
    var tipobj=document.all? document.all["dhtmltooltip"] : document.getElementById? document.getElementById("dhtmltooltip") : ""

    var pointerobj=document.all? document.all["dhtmlpointer"] : document.getElementById? document.getElementById("dhtmlpointer") : ""

    function ietruebody(){
    return (document.compatMode && document.compatMode!="BackCompat")? document.documentElement : document.body
    }

    function ddrivetip(thetext, thewidth, thecolor){
    if (ns6||ie){
    if (typeof thewidth!="undefined") tipobj.style.width=thewidth+"px"
    if (typeof thecolor!="undefined" && thecolor!="") tipobj.style.backgroundColor=thecolor
    tipobj.innerHTML=thetext
    enabletip=true
    return false
    }
    }

    function positiontip(e){
    if (enabletip){
    var nondefaultpos=false
    var curX=(ns6)?e.pageX : event.x+ietruebody().scrollLeft;
    var curY=(ns6)?e.pageY : event.y+ietruebody().scrollTop;
    //Find out how close the mouse is to the corner of the window
    var winwidth=ie&&!window.opera? ietruebody().clientWidth : window.innerWidth-20
    var winheight=ie&&!window.opera? ietruebody().clientHeight : window.innerHeight-20

    var rightedge=ie&&!window.opera? winwidth-event.clientX-offsetfromcursorX : winwidth-e.clientX-offsetfromcursorX
    var bottomedge=ie&&!window.opera? winheight-event.clientY-offsetfromcursorY : winheight-e.clientY-offsetfromcursorY

    var leftedge=(offsetfromcursorX<0)? offsetfromcursorX*(-1) : -1000

    //if the horizontal distance isn't enough to accomodate the width of the context menu
    if (rightedge<tipobj.offsetWidth){
    //move the horizontal position of the menu to the left by it's width
    tipobj.style.left=curX-tipobj.offsetWidth+"px"
    nondefaultpos=true
    }
    else if (curX<leftedge)
    tipobj.style.left="5px"
    else{
    //position the horizontal position of the menu where the mouse is positioned
    tipobj.style.left=curX+offsetfromcursorX-offsetdivfrompointerX+"px"
    pointerobj.style.left=curX+offsetfromcursorX+"px"
    }

    //same concept with the vertical position
    if (bottomedge<tipobj.offsetHeight){
    tipobj.style.top=curY-tipobj.offsetHeight-offsetfromcursorY+"px"
    nondefaultpos=true
    }
    else{
    tipobj.style.top=curY+offsetfromcursorY+offsetdivfrompointerY+"px"
    pointerobj.style.top=curY+offsetfromcursorY+"px"
    }
    tipobj.style.visibility="visible"
    if (!nondefaultpos)
    pointerobj.style.visibility="visible"
    else
    pointerobj.style.visibility="hidden"
    }
    }

    function hideddrivetip(){
    if (ns6||ie){
    enabletip=false
    tipobj.style.visibility="hidden"
    pointerobj.style.visibility="hidden"
    tipobj.style.left="-1000px"
    tipobj.style.backgroundColor=''
    tipobj.style.width=''
    }
    }

    document.onmousemove=positiontip

    </script>  <a href="http://www.yourweb.com" onmouseover="ddrivetip('ขอเป็นเพื่อน')" onmouseout="hideddrivetip();">ADD ME</a>  <a href="http://www.yourweb.com" onmouseover="ddrivetip('คุยกันแบบไร้สาระ =w=;')" onmouseout="hideddrivetip();">QMSG.</a>  <a href="http://www.yourweb.com" onmouseover="ddrivetip('มีอะไรลับๆจะบอกเรอะ! =[]=')" onmouseout="hideddrivetip();">Send MSG.</a>  <a href="http://www.yourweb.com" onmouseover="ddrivetip('นั่นแน่~ จะซิบอะไรเค้าอ่ะตัว =3=')" onmouseout="hideddrivetip();">Zip Me</a>















    <style type="text/css">xx.external, #module_right, .modulebg1, .left, .headtable, #header, #footer, #head_module_desc, #module_right .modulebg2, #module_left .modulebg2,#neck, .hr2, #head_module_name, .head2, .hr1  { display: none!important;}
    .right {background: none; border: 0px!important; border: none!Important; position: absolute; top: 0px; left: 0px;} .modulebg2 {background: none;} .mainborder {border:none!important;}    </style><style type="text/css">

    #apDiv1 {
        position:absolute;
        width:1024px;
        height:768px;
        ;   position:absolute;
        left:35px;
        top:26px;
        width:935px;
        height:701px;
        ;   position:absolute;
        left:87px;
        top:458px;
        width:536px;
        height:256px;
        ;   position:absolute;
        left:679px;
        top:314px;
        width:250px;
        height:186px;
        ;   overflow: visible;
    }
    .style9 {font-family: Geneva, Arial, Helvetica, sans-serif; font-size: 18px; color: #6666FF; }
    #apDiv5 {
        position:absolute;
        left:683px;
        top:521px;
        width:238px;
        height:181px;
        ;   position:absolute;
        left:603px;
        top:46px;
        width:297px;
        height:181px;
        " width="1024" longdesc="http://image.ohozaa.com/i/7eb/AXWwP.jpg" src="http://image.ohozaa.com/i/7eb/AXWwP.jpg" alt="" /></div>
    <div id="apDiv2"><img height="701" width="935" longdesc="http://image.ohozaa.com/i/587/YSv4b.jpg" src="http://image.ohozaa.com/i/587/YSv4b.jpg" alt="" /></div>
    <div id="apDiv3">สวัสดีค่ะ ฟิวส์เองน๊าาาา~ &gt;3&lt;</div>
    <div id="apDiv4">
    <p style="text-align: center;"><style type="text/css">

    #dhtmltooltip{
    position: absolute;
    left: -300px;
    width: 150px;
    border: 1px solid black;
    padding: 2px;
    background-color: lightyellow;
    visibility: hidden;
    ;
    /*Remove below line to remove shadow. Below line should always appear last within this CSS*/
    filter: progid:DXImageTransform.Microsoft.Shadow(color=gray,direction=135);
    }

    #dhtmlpointer{
    position:absolute;
    left: -300px;
    ;
    visibility: hidden;
    }

    </style>  <script type="text/javascript">

    var offsetfromcursorX=12 //Customize x offset of tooltip
    var offsetfromcursorY=10 //Customize y offset of tooltip

    var offsetdivfrompointerX=10 //Customize x offset of tooltip DIV relative to pointer image
    var offsetdivfrompointerY=14 //Customize y offset of tooltip DIV relative to pointer image. Tip: Set it to (height_of_pointer_image-1).

    //write out tooltip DIV
    // ใส่ URL ของภาพ linkarrow.gif ที่นี่

    var ie=document.all
    var ns6=document.getElementById && !document.all
    var enabletip=false
    if (ie||ns6)
    var tipobj=document.all? document.all["dhtmltooltip"] : document.getElementById? document.getElementById("dhtmltooltip") : ""

    var pointerobj=document.all? document.all["dhtmlpointer"] : document.getElementById? document.getElementById("dhtmlpointer") : ""

    function ietruebody(){
    return (document.compatMode && document.compatMode!="BackCompat")? document.documentElement : document.body
    }

    function ddrivetip(thetext, thewidth, thecolor){
    if (ns6||ie){
    if (typeof thewidth!="undefined") tipobj.style.width=thewidth+"px"
    if (typeof thecolor!="undefined" && thecolor!="") tipobj.style.backgroundColor=thecolor
    tipobj.innerHTML=thetext
    enabletip=true
    return false
    }
    }

    function positiontip(e){
    if (enabletip){
    var nondefaultpos=false
    var curX=(ns6)?e.pageX : event.x+ietruebody().scrollLeft;
    var curY=(ns6)?e.pageY : event.y+ietruebody().scrollTop;
    //Find out how close the mouse is to the corner of the window
    var winwidth=ie&&!window.opera? ietruebody().clientWidth : window.innerWidth-20
    var winheight=ie&&!window.opera? ietruebody().clientHeight : window.innerHeight-20

    var rightedge=ie&&!window.opera? winwidth-event.clientX-offsetfromcursorX : winwidth-e.clientX-offsetfromcursorX
    var bottomedge=ie&&!window.opera? winheight-event.clientY-offsetfromcursorY : winheight-e.clientY-offsetfromcursorY

    var leftedge=(offsetfromcursorX<0)? offsetfromcursorX*(-1) : -1000

    //if the horizontal distance isn't enough to accomodate the width of the context menu
    if (rightedge<tipobj.offsetWidth){
    //move the horizontal position of the menu to the left by it's width
    tipobj.style.left=curX-tipobj.offsetWidth+"px"
    nondefaultpos=true
    }
    else if (curX<leftedge)
    tipobj.style.left="5px"
    else{
    //position the horizontal position of the menu where the mouse is positioned
    tipobj.style.left=curX+offsetfromcursorX-offsetdivfrompointerX+"px"
    pointerobj.style.left=curX+offsetfromcursorX+"px"
    }

    //same concept with the vertical position
    if (bottomedge<tipobj.offsetHeight){
    tipobj.style.top=curY-tipobj.offsetHeight-offsetfromcursorY+"px"
    nondefaultpos=true
    }
    else{
    tipobj.style.top=curY+offsetfromcursorY+offsetdivfrompointerY+"px"
    pointerobj.style.top=curY+offsetfromcursorY+"px"
    }
    tipobj.style.visibility="visible"
    if (!nondefaultpos)
    pointerobj.style.visibility="visible"
    else
    pointerobj.style.visibility="hidden"
    }
    }

    function hideddrivetip(){
    if (ns6||ie){
    enabletip=false
    tipobj.style.visibility="hidden"
    pointerobj.style.visibility="hidden"
    tipobj.style.left="-1000px"
    tipobj.style.backgroundColor=''
    tipobj.style.width=''
    }
    }

    document.onmousemove=positiontip

    </script>  <span style="font-size: 18px;"><a onmouseout="hideddrivetip();" onmouseover="ddrivetip('มาเป็นเพื่อนเราหน่อย &gt;&lt;')" href="http://my.dek-d.com/Ferfeiteria/friend/request_friend.php"><strong>ADD ME</strong></a><strong><br />
    <br />
    </strong></span><span style="font-size: 18px;"><a onmouseout="hideddrivetip();" onmouseover="ddrivetip('คุยเฟื่องเรื่องไร้สาระ =_=;')" href="http://writer.dek-d.com/Ferfeiteria/qmsg/"><strong>QMSG.</strong></a><strong> <br />
    <br />
    </strong></span><span style="font-size: 18px;"><a onmouseout="hideddrivetip();" onmouseover="ddrivetip('มีอะไรลับๆจะบอกเราด้วย! =[]=')" href="http://my.dek-d.com/Ferfeiteria/sendsecret.php"><strong>SEND MSG.</strong></a><strong><br />
    <br />
    </strong></span><a onmouseout="hideddrivetip();" onmouseover="ddrivetip('ผลงานบทความของเรา &gt;O&lt;b')" href="http://writer.dek-d.com/Ferfeiteria/writer/"><span style="font-size: 18px;"><strong>Writers</strong></span></a></p>
    </div>
    <div id="apDiv5">
    <div align="right">
    <p>&#160;</p>
    <p>&#160;</p>
    <p>Nickname: Few , Ryouna<br />
    Birthday: 23 Jan 19xx<br />
    Gender: Female<br />
    Like : Anime , Nagato Yuki</p>
    </div>
    </div>
    <div id="apDiv6"><iframe height="181" frameborder="0" width="297" src="http://www.youtube.com/embed/xiEDIrFj3Cs" allowfullscreen=""></iframe></div>

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

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

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

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

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

    ความคิดเห็น

    ×