เมื่อเมาส์ชี้อยู่เปลี่ยนเคอร์เซอร์
li {
cursor: pointer;
}
วิธีการเปลี่ยนแปลงเคอร์เซอร์อยู่ใน css เมื่อเมาส์ชี้อยู่
/* I am using buttion id test. You can use whatever you want*/
/* If you want default cursors, use */
#test:hover{
cursor: pointer /* etc*/;
}
/* If you want custom cursors, use */
#test:hover{
cursor: url(default.png) /* the default is your photo*/;
}
jquery เมาส์อยู่เหนือเคอร์เซอร์เปลี่ยน
// No Need for jQuery, the cursor will always show pointer over this element
#myElement
{
cursor: pointer;
}