LATEST ARTICLES
-
[JQuery] Bottom to top page
September 2022
script นี้ใช้สำหรับเพิ่มความสะดวกให้ผู้เยี่ยมชมเว็บไซต์ โดยจะเพิ่มปุ่มกด scroll up เพื่อใช้เลื่อนหน้าเว็บฯ เพจขึ้นไปยังตำแหน่งบนสุดอย่างรวดเร็ว ซึ่งตัว code จะตรวจจับการ scroll down ลงมาที่ 300px (กำหนดใน javascript) แล้วจะมีปุ่มปรากฏที่มุมล่างด้านขวาของจอ เมื่อ user ทำการกดปุ่มดังกล่าว โปรแกรมจะทำการ scroll up ขึ้นไปจนสุดแล้วปุ่มนี้ก็จะเฟดหายไป HTML <a href="#0" class="cd-top">Top</a> CSS .cd-top ... -
[PHP] Fix CaptSecImg.php Error in imagettfbbox function (2022)
September 2022
This is way to fix directory font file including PHP calling class in new version. You can replace the code in the remark line as shown below. ... -
Repair video file ซ่อมไฟล์วิดีโอ mov mp4
May 2021
Step 1) Download Video Repair Tool (click..) โปรแกรมนี้สามารถซ่อมแซมไฟล์ video สกุล .mov, .mp4, m4v, or .3gp แต่ไม่ฟรีนะครับ โดยตัวทดลองมันจะสามารถซ่อมไฟล์ให้เราได้เพียง ... -
[CSS] Element vertical alight middle
March 2020
.align-items-center { -webkit-box-align: center!important; -ms-flex-align: center!important; align-items: center!important; } ... -
[Javascript] Form Input email validation
March 2020
function validEmail( email ) { var emailArr = email.split(","); var ret = false; for(var i=0; i<emailArr.length;i++) ... -
[Javascript] Convert number to file size units
March 2020
function formatBytes(bytes, decimals = 2) { if (bytes === 0) return '0 Bytes'; const k = 1024; const dm = decimals ...