Re: onmouseover for area tag
- From: "McKirahan" <News@xxxxxxxxxxxxx>
- Date: Thu, 26 Jan 2006 11:43:22 -0600
"Daniel Kirsch" <Iwillnotread_daniel@xxxxxx> wrote in message
news:drausl$5ft$03$1@xxxxxxxxxxxxxxxxxxxx
> Bob wrote:
> > Hi,
> >
> > I have a jpg image and I created a hot spot on it with the following
tag.
> > <area shape="poly" coords="253,275,327,278,328,310,283,312,254,310"
> > onClick="contextMenu()" onmouseover="this.style.cursor='hand'">
> >
> > I would like to change the cursor to hand when mouseover this area, but
my
> > mouse will not change to hand but my onclick is working.
>
> Actually you don't need to use JavaScript for changing the cursors's
> style. Just use plain CSS:
>
> <area style="cursor:pointer" ... >
>
> Daniel
And to support IE browsers too, specify both:
<area style="cursor:pointer;cursor:hand" ... >
.
- References:
- Re: onmouseover for area tag
- From: Daniel Kirsch
- Re: onmouseover for area tag
- Prev by Date: Re: Contains Method
- Next by Date: Re: onmouseover for area tag
- Previous by thread: Re: onmouseover for area tag
- Next by thread: Re: onmouseover for area tag
- Index(es):
Relevant Pages
|