0

Hello all together,

I've a JS-script that forces the mouse pointer to become a hand. It does work perfectly on IE, Opera, Safari and Konquerer (that's what I've tested so far). Just FireFox doesn't want to change the icon. What's the matter?

Here is the script:

document.getElementById(wid+'0a').style.backgroundColor="#E0E0E0";
document.getElementById(wid+'0b').style.backgroundColor="#E0E0E0";
document.getElementById(wid+'1').style.backgroundColor="#E0E0E0";
document.getElementById(wid+'1').style.cursor="hand";   <= Problem is here!

The elements "wid0a", "wid0b" and "wid1" are cells in one row. The first two cells are for formatting reasons.

In the JS-code first three lines are okay (changing the background color). But the fouth (changing the pointer to a hand) doesn't work.

Thanks for your replies.
Simon

2
Contributors
1
Reply
2
Views
9 Years
Discussion Span
Last Post by ShawnCplus
This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.