วันจันทร์ที่ 13 สิงหาคม พ.ศ. 2555

HTML - เปลี่ยนรูปร่างเคอร์เซอร์


สามารถเปลี่ยนรูปร่างของเคอร์เซอร์ ในบริเวณที่เลื่อนเม้าส์ไปชี้ โดยใช้แอ็ททริบิว style="cursor : ชื่อเคอร์เซอร์"

ตัวอย่าง

 <div style = "cursor: crosshair"> Crosshair </div>
 <div style = "cursor: hand"> Hand </div>
 <div style = "cursor: move"> Move </div>
 <div style = "cursor: text"> Text </div>
 <div style = "cursor: wait"> Wait </div>
 <div style = "cursor: help"> Help </div>


ตอนต่อไป -> การ Redirect


ไม่มีความคิดเห็น: