Quote:document.getElementById()
Quote:document.getElementById('upmsg').innerHTML = 'กำลัง Upload อยู่นะจ๊ะ รอซักครู่...' ;
Quote:<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=windows-874" /> <title>WeLove Thailand : เรารักเมืองไทย แผ่นดินที่ทุกคนรัก</title> <link rel="icon" href="images/icon.gif" type="image/x-icon"> <link rel="shortcut icon" href="images/icon.gif" type="image/x-icon"> <script type="text/javascript" src="Plug-In/iepngfix/iepngfix_tilebg.js"></script> <script type="text/javascript" src="javascript/function.js"></script> <style type="text/css"> <!-- body { margin: 0px; background-image: url(images/background.gif); background-repeat: repeat-x; font-family: Verdana, Tahoma, "MS Sans Serif"; font-size: 12px; } img, div, a, input { behavior: url("Plug-In/iepngfix/iepngfix.htc"); } .Border_Left { width: 5px; behavior: url("Plug-In/iepngfix/iepngfix.htc"); background-color: #FFF; } .Border_Right { width: 5px; behavior: url("Plug-In/iepngfix/iepngfix.htc"); background-color: #FFF; } #Table_Header { /*background-image: url(images/Header_Bg_1.jpg);*/ background-repeat: no-repeat; width: 950px; display: block; } #menu_top_main { width: 950px; height: 18px; border-bottom-width: 1px; border-bottom-style: solid; border-bottom-color: #666; background-image: url(images/bck_mainnav.png); background-repeat: repeat-x; } #menu_top_main ul { height: 18px; list-style-image: none; list-style-type: none; margin: 0px; padding: 0px; float: left; width: 950px; background-image: url(images/bck_mainnav.png); background-repeat: repeat-x; } #menu_top_main ul li { float: left; border-right-width: 1px; border-right-style: solid; border-right-color: #666; } #menu_top_main ul li a{ color: #AAA; font-size: 10px; line-height: 18px; text-decoration: none; display: block; padding-right: 10px; padding-left: 10px; } #menu_top_main ul li a:hover{ background-image: url(images/bck_mainnav_over.png); color: #EEE; } #menu_top_main ul .selected a{ background-color: #666; color: #333; display: block; } #menu_top_main ul .selected a:hover{ background-image: none; color: #333; } #menu_top_main ul .right { float: right; line-height: 18px; color: #CCC; padding-right: 5px; } --> </style></head> <body> <table border="0" align="center" cellpadding="0" cellspacing="0" id="Table_Main"> <tr> <td class="Border_Left"> </td> <td> <script type="text/javascript"> document.getElementById("upmsg").innerHTML = "<span style=\"color:#95C91D;\">TEST2</span>"; //document.getElementById("Table_Header").style.backgroundImage = "url(images/Header_Bg_1.jpg)"; </script> <table border="0" cellpadding="0" cellspacing="0" id="Table_Header"> <tr> <td height="350" valign="top"><div id="menu_top_main"><ul> <li class="selected"><a href="#">Home</a></li> <li><a href="#">Gallery</a></li> <li><a href="#">Tags</a></li> <li><a href="#">Boards</a></li> <li><a href="#">Search</a></li> <li><a href="#">About Us</a></li> <li><a href="#">Contact Us</a></li> <li class="right"><script> date_a(); </script></li> </ul> </div> <img src="images/Header_Text.png" width="950" height="332" /></td> </tr> <tr> <td height="2" valign="top"><img src="images/spacer.gif" width="1" height="1" /></td> </tr> <tr> <td valign="top"><img src="images/Header_Bottom_Line.gif" width="950" height="1" /></td> </tr> </table> <table width="100%" border="0" cellspacing="0" cellpadding="0"> <tr> <td height="400" bgcolor="#FFFFFF"> </td> </tr> </table></td> <td class="Border_Right"> </td> </tr> </table> <div id="upmsg">Text</div> </body> </html>
เพื่อความปลอดภัยของเว็บบอร์ด ไม่อนุญาติให้แทรก แท็ก [img]....[/img] โดยการอัพโหลดไฟล์รูปจากที่อื่น เช่นเว็บไซต์ ฟรีอัพโหลดต่าง ๆ อัพโหลดแทรกรูปภาพ ให้ใช้บริการอัพโหลดไฟล์ของไทยครีเอท และตัดรูปภาพให้พอดีกับสกรีน เพื่อความโหลดเร็วและไฟล์ไม่ถูกลบทิ้ง