twitter
rss


การดึงข้อมูลจากเวปอื่น ๆ ถ้าเราใช้ แค่

ตัวอย่างโค๊ด
<iframe src="http://www.sanook.com" width="440" height="280"></iframe>

จะดึงข้อมูลมาได้ แต่จะจัดตำแหน่งการแสดงผลไม่ได้ แต่ถ้าเปลี่ยนวิธี โดยการใช้ CSS ช่วยในการ
แสดงผลด้วย

ตัวอย่าง
<html>
<head>
<style type="text/css">
#outerdiv {
height: 280px;
overflow: hidden;
position: relative;
width: 440px;
}
#inneriframe {
height: 1200px;
left: -220px;
position: absolute;
top: -880px;
width: 820px;
}
</style>
</head>
<body>
<div id="outerdiv">
<iframe src="http://www.sanook.com" id="inneriframe"></iframe>
</div>
</body>
</html>


จะสามารถจัดตำแหน่งการแสดงของข้อมูล เวปนั้น ๆ ได้ ปรับแต่งข้อมูลจาก http://www.thaiseoboard.com/index.php?topic=169115.0


บทนำ
Cascading Style Sheets
การใช้ CSS แบบ External
การใช้ CSS แบบ Inline
DBMS ที่ใช้ในการจัดการฐานข้อมูลสำหรับเว็บไซต์
วิธีการแก้ปัญหา z-index ใน IE7 ด้วย jQuery
การเซต timeout ในฟังก์ชัน file_get_contents ของ PHP
วิธีใช้ function Date ของ php หาเวลาย้อนหลัง
การดึงข้อมูลเฉพาะส่วนของ website อื่น ๆ ผ่าน iframe
Refresh Website , iFrame ด้วย Javascipt
วิธีการหา IPAddress ด้วย JavaScript
วิธีการจัดหมวดหมู่ให้เป็นลักษณะรากต้นไม้
ใ้ช้ jQuery ตรวจสอบ ต้องกรอกตัวเลขเท่านั้น
แก้ไขปัญหา ?fb_xd_fragment=
แปลง tag php ให้เป็น html
วิธีส่งเมล์ผ่าน server gmail
cURL VS file_get_contents
ข้อแตกต่างของ ประกาศตัวแปร และ define
function แปลง tis620 เป็น utf8
วิธีการ Query เพิ่ม ลด วันเวลา