Click to See Complete Forum and Search --> : Change cursor onmouseover
Pselus
10-13-2003, 03:09 PM
you'd think there'd be samples of this everywhere on the internet but all I can find is ways to change the cursor for the whole page....I need the cursor to change on a specific Link and that's all.
closest I've gotten is :
element.style.cursor="hand"
but can't figure out where that goes.
Forget what you've got so far, and use this:
<style type="text/css">
.foo:hover {
cursor: pointer;
}
</style>
</head>
<body>
<p><a href="http://www.w3.org/TR/REC-CSS2/selector.html#dynamic-pseudo-classes" class="foo">:hover pseudo-class</a></p>
Pselus
10-13-2003, 03:48 PM
was just coming in here to say I figured it out when I saw your post....here is another way that works:
<A onmouseover="javascript:lnkAddNewCust.style.cursor='hand'" .....put other A stuff here>
lnkAddNewCust is my link ID
thx for the help though
:D
cursor: hand should be cursor: pointer...