Javascript question: <a href="something.php">Click here</a> When I mouseover "Click...

eliyahu_s

New member
...here" the mouse turns into? a hand.
But with <a onclick="function()">Now click here</a> It doesn't mouseover as a hand. My users are confused and don't realize that this is a link, albeit really just a javascript function.
How can I make it mouseover as a hand and look the same like a link in every respect?
 
In the head put this

<style type="text/css">
.hand{cursor:pointer}
</style>

Your HTML is this.

<a href="#" class="hand" onclick="function()">Click Here</a>
 
Back
Top