Hand Cursor with JavaScript
Question
How can i make the user aware of a button (OnClick Event) when there is now link (HREF) attached ?
Answer
Use a CSS style with a OnMouseOver event.
Create the following style in your document or CSS:
<style type="text/css">
<!--
.cursor { cursor: hand}
-->
</style>
Attach it to the OnClick Event:
OnMouseOver="this.className='cursor';"
Comments
Custom hand cursor
This is not absolutely true
Very usefull!!
RE: Custom hand cursor
Point to the URL where the custom cursor is located. Something like this:
cursor:url(mycursor.ani)
This will probably only work where this class is defined in your page (hyperlinks) and not outside.
You must me logged in to write a comment.