Javascript usability issue

Status
Not open for further replies.

mahamageehad

New Member
Is there any kind of command in Javascript that can change my users pointer to a hand indicating a link?

In Actionscript its simply:

myButton.mouseEnabled=true;

The problem is I have an image that sets off a pop up using a javascript onClick() function. If I add <a> tags around the image it breaks the code.

On the usability side I'd like to ensure that the user definitely knows that they can click the "link", and without the hand icon I'm not sure they would?

Any Ideas guys?
 

babyboy808

Member
You don't need JavaScript, here is the CSS:

Code:
#image {
      cursor: pointer;
      cursor: hand;
}
 
Status
Not open for further replies.
Top