Hello, try this. I think it will work.
Hans
<table>
<a href="hallo1.html" >
<tr><td id="MyHallo" >hallo 1</td></tr></a>
<a href="hallo2.html" >
<tr><td id="MHallo">hallo 2</td></tr></a>
<a href="hallo3.html" >
<tr><td id="YHallo">hallo 3</td></tr></a>
</table>
<script language="JavaScript">
<!--
if (document.all) {
document.all["MyHallo"].style.cursor = 'hand';
document.all["MHallo"].style.cursor = 'hand';
document.all["YHallo"].style.cursor = 'hand';
}
// -->
</script>
----- Original Message -----
From: "Inge Wynants" <inge.wynants@m...>
To: "javascript" <javascript@p...>
Sent: Friday, January 12, 2001 5:04 PM
Subject: [javascript] change cursor
> Hi,
>
> I want to change the cursor in a hand when they move over a link.
> The link is a row in a table.
> Here is my code:
>
> <table>
> <a href="hallo1.html" id="MyHallo" target="midden">
> <tr><td>hallo 1</td></tr></a>
> <a href="hallo2.html" id="MHallo" target="midden">
> <tr><td>hallo 2</td></tr></a>
> <a href="hallo3.html" id="YHallo" target="midden">
> <tr><td>hallo 3</td></tr></a>
> </table>
>
> <script language="JavaScript">
> <!--
> if (document.all) {
> document.all("MyHallo").style.cursor = 'hand';
> document.all("MHallo").style.cursor = 'hand';
> document.all("YHallo").style.cursor = 'hand';
> }
> file://-->
> </script>
>
> How can I change the cursor into a hand when they move over the link?
> Thanks
>
>
>
>