[thelist] turn the cursor into an arrow on an <area> with an href
Joe Crawford
jcrawford at avencom.com
Fri Jul 6 18:27:21 CDT 2001
Okay - tough one.
I have an imagemap with some dynamic menus - like this:
<img map="#foo">
<map name="foo">
<area
coords="0,0,100,100"
shape="rect"
href="etc.html"
onmouseover="showMySpecialMenu('nav_etc')"
onclick="return false;">
</map>
What I want to do is to have the cursor *not* turn into a hand on the
link. How do I approach turning the cursor into an arrow? I tried
including a style attribute to the <area> tag, and tried creating a
function like this:
I also tried style="cursor: nw-resize" as the <area>.
function showArrow() {
if(document.getElementById){
document.style.cursor = 'nw-resize';
}
}
then putting that in the onmouseover. I don't like having an <area> not
be a link - but I just want to know how I'd do it.
The tutorials on the web all address how to manipulate the cursor with
simple styles - but none cover imagemaps, or doing it selectively.
Any thoughts appreciated.
Thanks!
Joe <http://artlung.com/>
--
................... Joe Crawford \\ Web Design & Development
..... mailto:jcrawford at avencom.com \\ http://www.avencom.com
.... San Diego \\ CA \\ USA \\ AVENCOM: Set Your Sites Higher
More information about the thelist
mailing list