Advance

วิธีแก้ Error :HTML Parser บน IE8

Internet Explorer 8

สำหรับเซียนท่องอินเตอร์เน็ทที่ยังต้องยึดติดกับ Internet Explorer 8 หรือ IE8 ที่การแสดงผลบางครั้งอาจจะไม่ได้ดั่งใจและบางทีก็สวยแต่ไปเละใน Browser อื่นแต่ก็สไตล์ใครสไตล์มัน ซึ่งผู้ใช้ แ นั้นต้องเคยพบปัญหาการโหลดหน้าเว็บไม่สมบูรณ์ เกิด Error Massage เกี่ยวกับ HTML Parser วันนี้เรามีวิธีแก้มาฝาก ง่ายๆ

ข้อความ Error เมื่อเปิด HTML Parser บน IE8 คือ

Message: HTML Parsing Error: Unable to modify the parent container element 
before the child element is closed (KB927917)
Line: 0
Char: 0
Code: 0
URI: https://www.daydev.com/

วิธีแก้ไขนะครับให้ไป Edit HTML code ที่หน้านั้นโดยแทรก Javascript บน Tag <head>

<script type=”text/javascript”>
<!– 
if(BrowserDetect.browser.contains(“Explorer”))
{    
var Nachricht = ‘Hemos detectado que está utilizando ‘ + BrowserDetect.browser + ‘ ‘ +  BrowserDetect.version + ‘. Puede que algunas funciones no estén habilitadas. <p></p> Si desea experimentar todo el potencial del portal, por favor intente desde otro navegador (browser). <p></p>Gracias
showDialog(‘¡Aviso Importante!’,Nachricht,’warning’,10);
}
</script>

ก็เป็นอันเสร็จเรียบร้อยครับ

 

Asst. Prof. Banyapon Poolsawas

อาจารย์ประจำสาขาวิชาการออกแบบเชิงโต้ตอบ และการพัฒนาเกม วิทยาลัยครีเอทีฟดีไซน์ & เอ็นเตอร์เทนเมนต์เทคโนโลยี มหาวิทยาลัยธุรกิจบัณฑิตย์ ผู้ก่อตั้ง บริษัท Daydev Co., Ltd, (เดย์เดฟ จำกัด)

Related Articles

Leave a Reply

Back to top button
Game & Mobile Development AR VR XR
Privacy Overview

This website uses cookies so that we can provide you with the best user experience possible. Cookie information is stored in your browser and performs functions such as recognising you when you return to our website and helping our team to understand which sections of the website you find most interesting and useful.

Adblock Detected

เราตรวจพบว่าคุณใช้ Adblock บนบราวเซอร์ของคุณ,กรุณาปิดระบบ Adblock ก่อนเข้าอ่าน Content ของเรานะครับ, ถือว่าช่วยเหลือกัน