[OpenLayers-Users] mouseover over-icon control
Graham Davis
gdavis at refractions.net
Thu Mar 1 12:24:34 EST 2007
Yes. Register the mouseover event with your new control, and trigger a
function when this happens. In your function, you want to change the src
of the div's image. You'll also want to trigger a mouseout event to
change the image src back when your mouse leaves the control.
Graham.
Keith wrote:
> Quick question: Is it possible to set up a mouseover control that will
> seemlessly display a different icon (such as a highlighted
> over-image). Superfluous, yes, but I’m just trying to spruce up the
> presentation.
>
> Thanks,
>
> Keith Weber
> Tech Support
> Archetype, Inc.
> 205.443.6560 office
> 334.669.2522 mobile
> kweber at archetypecorp.com <mailto:kweber at archetypecorp.com>
>
>
> The information transmitted is the property of Archetype, Inc. and is
> intended only for the person or entity to which it is addressed and
> may contain confidential and/or privileged material. Statements and
> opinions expressed in this e-mail may not represent those of the
> company. Any review, retransmission, dissemination and other use of,
> or taking of any action in reliance upon, this information by persons
> or entities other than the intended recipient is prohibited. If you
> received this in error, please contact the sender immediately and
> delete the material from any computer. E-mail transmission cannot be
> guaranteed to be secured or error-free as information could be
> intercepted, corrupted, lost, destroyed, received late or incomplete,
> or could contain viruses. The sender therefore does not accept
> liability for any error or omission in the contents of this message,
> which arises as a result of e-mail transmission.
>
>------------------------------------------------------------------------
>
>_______________________________________________
>Users mailing list
>Users at openlayers.org
>http://openlayers.org/mailman/listinfo/users
>
>
--
Graham Davis
Refractions Research Inc.
gdavis at refractions.net
More information about the Users
mailing list