Forums

This topic is locked

onClick event

Posted 08 Oct 2003 18:31:45
1
has voted
08 Oct 2003 18:31:45 Dethel Mateo posted:
On the onClick event, how do I make the cursor change to the hand pointing the finger, the same way a link gets it.

Thank you.

Replies

Replied 08 Oct 2003 22:36:37
08 Oct 2003 22:36:37 Marcellino Bommezijn replied:
Replied 09 Oct 2003 01:25:40
09 Oct 2003 01:25:40 Dethel Mateo replied:
Thanks for taking the time to find the link to that tutorial.

When I was looking at the code, I saw the cursor:hand, and got this idea and inserted it in the line where the layer get define...ie ( background, size, color...) and it worked. i was able to get the hand cursor when mouse over without having to creat the CSS.

Thanks again for getting my brain working.
Replied 09 Oct 2003 06:01:14
09 Oct 2003 06:01:14 mr binarian replied:
can you paste what u did here?
Replied 09 Oct 2003 13:15:47
09 Oct 2003 13:15:47 Dethel Mateo replied:
I did this one with a layer

<div id="Layer1" style="position:absolute; left:136px; top:81px; width:167px; height:36px; cursor:hand; z-index:1; background-color: #993300; layer-background-color: #993300; border: 1px none #000000;"></div>

I can send a screen capture if you want.

Reply to this topic