• user warning: Table 'cache_filter' is marked as crashed and should be repaired query: SELECT data, created, headers, expire, serialized FROM cache_filter WHERE cid = '3:2f029234e43c30c8acd0bae479054c53' in /home/tgv/htdocs/includes/cache.inc on line 27.
  • user warning: Table 'cache_filter' is marked as crashed and should be repaired query: UPDATE cache_filter SET data = '<!--paging_filter--><p align=\"center\">\n<span style=\"color: #000000\"><b><span style=\"color: #ff00ff\">การกำหนดการวิ่งวนของข้อความหรือรูปภาพ</span></b></span>\n</p>\n<p>\n&lt;marquee scrolldelay=&quot;ความเร็ว&quot; direction=&quot;ทิศทางวิ่ง&quot;&gt;ข้อความ&lt;/marquee&gt;<br />\nscrolldelay ให้แทนค่าด้วยความเร็วเป็น Int ส่วน direction ใส่ได้เฉพาะ Up,Down,Left และ Right\n</p>\n<p>\n** หมายเหตุ ค่าของ scrolldelay ยิ่งมากจะทำให้วิ่งช้าลง <br />\nการทำตัวอังกฤษเคลื่อนที่และหยุดโดย tag marquee โดยใช้ stop(); และ start();\n</p>\n<p>\nรูปแบบการใช้งานทั่วไปคือ<br />\n&lt;marquee onmouseover=stop(); onmouseout=start();&gt;ข้อความ&lt;/marquee&gt;\n</p>\n<p>\nอธิบายคำสั่ง\n</p>\n<p>\n<span style=\"color: #000000\"><span style=\"color: #ff00ff\">&lt;marquee&gt;      การวิ่งวน</span><br />\nbehavior           กำหนดรูปแบบการวิ่ง<br />\nalternate          วิ่งกระทบขอบจอซ้ายขวา<br />\nscroll                วิ่งวนซ้ำเรื่อย ๆ<br />\nslide                 วิ่งแล้วหยุด<br />\n</span><span style=\"color: #000000\">direction           กำหนดทิศทางการเริ่มต้นของข้อความคือ left  right หรือ up<br />\nwidth               กำหนดความกว้างของกรอบใช้ร่วมกับคำสั่ง bgcolor<br />\nheigth              กำหนดความสูงของกรอบใช้ร่วมกับคำสั่ง bgcolor<br />\nonmouseover=&quot;this.stop()&quot;   กำหนดนำเม้าสส์ไปวางจะหยุด<br />\nonmouseout=&quot;this.start()&quot;    กำหนดนำเม้าส์ออกจะเคลื่อนที่</span>\n</p>\n<p>\n<span style=\"color: #000000\"><br />\n<span style=\"color: #ff00ff\">ตัวอย่าง</span><br />\n&lt;marquee behavior=scroll&gt;**ยินดีต้อนรับ**&lt;/marquee&gt;</span>\n</p>\n<p>\n<span style=\"color: #000000\">  เรามาลองกัน สร้างไฟล์ marquee.html เพื่อทดลอง</span>\n</p>\n<p>\n<span style=\"color: #000000\">&lt;html &gt;<br />\n&lt;head&gt;<br />\n&lt;meta http-equiv=&quot;Content-Type&quot; content=&quot;text/html; charset=windows-874&quot; /&gt;<br />\n&lt;title&gt;การทำตัวอังกฤษเคลื่อนที่และหยุดโดย tag marquee โดย stop(); และ start();&lt;/title&gt;<br />\n&lt;/head&gt;<br />\n&lt;body&gt;<br />\n&lt;marquee onmouseover=stop(); onmouseout=start();&gt;KRUMAI.COM&lt;/marquee&gt;</span>\n</p>\n<p>\n<span style=\"color: #000000\">&lt;marquee scrolldelay=&quot;500&quot; direction=&quot;RIGHT&quot;&gt;KRUMAI.COM&lt;/marquee&gt;<br />\n</span>\n</p>\n<p>\n<span style=\"color: #000000\">&lt;marquee scrolldelay=&quot;500&quot; direction=&quot;LEFT&quot;&gt;KRUMAI.COM&lt;/marquee&gt;<br />\n</span>\n</p>\n<p>\n<span style=\"color: #000000\">&lt;marquee scrolldelay=&quot;500&quot; direction=&quot;UP&quot;&gt;KRUMAI.COM&lt;/marquee&gt;<br />\n</span>\n</p>\n<p><span style=\"color: #000000\">&lt;marquee scrolldelay=&quot;500&quot; direction=&quot;DOWN&quot;&gt;KRUMAI.COM&lt;/marquee&gt;</span></p>\n<p>&lt;/body&gt;<br />\n&lt;/html&gt;</p>\n', created = 1726351683, expire = 1726438083, headers = '', serialized = 0 WHERE cid = '3:2f029234e43c30c8acd0bae479054c53' in /home/tgv/htdocs/includes/cache.inc on line 112.

การเขียนเว็บเพจด้วยภาษา HTML

รูปภาพของ bcskrumai

การกำหนดการวิ่งวนของข้อความหรือรูปภาพ

<marquee scrolldelay="ความเร็ว" direction="ทิศทางวิ่ง">ข้อความ</marquee>
scrolldelay ให้แทนค่าด้วยความเร็วเป็น Int ส่วน direction ใส่ได้เฉพาะ Up,Down,Left และ Right

** หมายเหตุ ค่าของ scrolldelay ยิ่งมากจะทำให้วิ่งช้าลง
การทำตัวอังกฤษเคลื่อนที่และหยุดโดย tag marquee โดยใช้ stop(); และ start();

รูปแบบการใช้งานทั่วไปคือ
<marquee onmouseover=stop(); onmouseout=start();>ข้อความ</marquee>

อธิบายคำสั่ง

<marquee>      การวิ่งวน
behavior           กำหนดรูปแบบการวิ่ง
alternate          วิ่งกระทบขอบจอซ้ายขวา
scroll                วิ่งวนซ้ำเรื่อย ๆ
slide                 วิ่งแล้วหยุด
direction           กำหนดทิศทางการเริ่มต้นของข้อความคือ left  right หรือ up
width               กำหนดความกว้างของกรอบใช้ร่วมกับคำสั่ง bgcolor
heigth              กำหนดความสูงของกรอบใช้ร่วมกับคำสั่ง bgcolor
onmouseover="this.stop()"   กำหนดนำเม้าสส์ไปวางจะหยุด
onmouseout="this.start()"    กำหนดนำเม้าส์ออกจะเคลื่อนที่


ตัวอย่าง
<marquee behavior=scroll>**ยินดีต้อนรับ**</marquee>

  เรามาลองกัน สร้างไฟล์ marquee.html เพื่อทดลอง

<html >
<head>
<meta http-equiv="Content-Type" content="text/html; charset=windows-874" />
<title>การทำตัวอังกฤษเคลื่อนที่และหยุดโดย tag marquee โดย stop(); และ start();</title>
</head>
<body>
<marquee onmouseover=stop(); onmouseout=start();>KRUMAI.COM</marquee>

<marquee scrolldelay="500" direction="RIGHT">KRUMAI.COM</marquee>

<marquee scrolldelay="500" direction="LEFT">KRUMAI.COM</marquee>

<marquee scrolldelay="500" direction="UP">KRUMAI.COM</marquee>

<marquee scrolldelay="500" direction="DOWN">KRUMAI.COM</marquee>

</body>
</html>

สร้างโดย: 
Krumai

มหาวิทยาลัยศรีปทุม ผู้ใหญ่ใจดี
 

 ช่วยด้วยครับ
นักเรียนที่สร้างบล็อก กรุณาอย่า
คัดลอกข้อมูลจากเว็บอื่นทั้งหมด
ควรนำมาจากหลายๆ เว็บ แล้ววิเคราะห์ สังเคราะห์ และเขียนขึ้นใหม่
หากคัดลอกทั้งหมด จะถูกดำเนินคดี
ตามกฎหมายจากเจ้าของลิขสิทธิ์
มีโทษทั้งจำคุกและปรับในอัตราสูง

ช่วยกันนะครับ 
ไทยกู๊ดวิวจะได้อยู่นานๆ 
ไม่ถูกปิดเสียก่อน

ขอขอบคุณในความร่วมมือครับ

อ่านรายละเอียด

ด่วน...... ขณะนี้
พระราชบัญญัติลิขสิทธิ์ (ฉบับที่ 2) พ.ศ. 2558 
มีผลบังคับใช้แล้ว 
ขอให้นักเรียนและคุณครูที่ใช้งาน
เว็บ thaigoodview ในการส่งการบ้าน
ระมัดระวังการละเมิดลิขสิทธิ์ด้วย
อ่านรายละเอียดที่นี่ครับ

 

สมาชิกที่ออนไลน์

ขณะนี้มี สมาชิก 0 คน และ ผู้เยี่ยมชม 453 คน กำลังออนไลน์