<!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=utf-8" /> <title>Untitled Document</title> <script type="text/javascript" src="jquery-1.7.1.min.js"></script> <script type="text/javascript"> $(function(){ $('.detail').hide(); $('img').mouseover(function(){ $(this).fadeTo('normal', 0.1); $('#d' + $(this).attr('rel') + ' div.detail').show(); }); $('img').mouseout(function(){ $(this).fadeTo('normal', 1); $('#d' + $(this).attr('rel') + ' div.detail').hide(); }); }); </script> </head> <body> <?php $i = 0; $row = 1; while ($row == 1) { ?> <div id="d<?= $i ?>"> <div class="detail" style="position: absolute">1234 ??? 1234</div> <img rel="<?= $i ?>" src="logo.png" width="150" /> </div> <?php $i++; if($i == 3){ $row = 0; } } ?> </body> </html>
$("a").click(function () { $("div").fadeIn(3000, function () { $("span").fadeIn(100); }); return false; });
เพื่อความปลอดภัยของเว็บบอร์ด ไม่อนุญาติให้แทรก แท็ก [img]....[/img] โดยการอัพโหลดไฟล์รูปจากที่อื่น เช่นเว็บไซต์ ฟรีอัพโหลดต่าง ๆ อัพโหลดแทรกรูปภาพ ให้ใช้บริการอัพโหลดไฟล์ของไทยครีเอท และตัดรูปภาพให้พอดีกับสกรีน เพื่อความโหลดเร็วและไฟล์ไม่ถูกลบทิ้ง