How to add onmouseover event to a hotspot using imagemap

Posted on 2008-11-06
Last Modified: 2012-05-05
I have searched through previous solutions with the same title but the answers do not seem what i am looking for.
I have an imagemap with 2 hot spots created in it. I need show a message that is associated with the hotspot when mouse over on it.
Please see the code:
<asp:ImageMap ID="ImageMap1" runat="server" Height="100" Width="100" HotSpotMode="PostBack" >
         <asp:CircleHotSpot Target="_blank" PostBackValue="Default" Radius="10" X="50" Y="50" />
         <asp:CircleHotSpot Target="_blank" PostBackValue="Default" Radius="10" X="100" Y="1000" />
Question by:ggkelly_00
    1 Comment
    LVL 8

    Accepted Solution

    Hi There,

    Why not use alternate text?

              alternatetext="Shop for toys">           

    Open in new window


    Featured Post

    Why You Should Analyze Threat Actor TTPs

    After years of analyzing threat actor behavior, it’s become clear that at any given time there are specific tactics, techniques, and procedures (TTPs) that are particularly prevalent. By analyzing and understanding these TTPs, you can dramatically enhance your security program.

    Join & Write a Comment

    jQuery is a JavaScript library that greatly simplifies JavaScript programming. AJAX is an acronym formed from "Asynchronous JavaScript and XML."  AJAX refers to any communication between client and server, when the human client does not observe a…
    I found this questions asking how to do this in many different forums, so I will describe here how to implement a solution using PHP and AJAX. The logical flow for the problem should be: Write an event handler for the first drop down box to get …
    In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…
    Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

    730 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    18 Experts available now in Live!

    Get 1:1 Help Now