Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9013219
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 16, 20262026-06-16T03:12:21+00:00 2026-06-16T03:12:21+00:00

This will explain better what I want than my words: http://jquery-image-map.ssdtutorials.com/ Even though the

  • 0

This will explain better what I want than my words:
http://jquery-image-map.ssdtutorials.com/
Even though the tutorial is available but it is done using image overlays in photoshop.
But I am highlighting my mapped image using a jquery plugin “jquery.maphilight.js”.
Using that I have a mapped Image and it highlights over the mapped portion if I mouse hover on image.
How can I display a small picture and paragraph if a person hovers his mouse on a specific room (mapped portion).

Here is the javascript:

 $(function () {
        $(".mapping").maphilight();
        $("#mapping").css('visibility','hidden')

    $(".hoverable").css("border", "3px solid red");

& This is the html of image mapping:

<div class="mapping"> 
<map name="gmap">
<area shape="poly" id="cr1" coords="550,277,485,342,533,385,597,322" href="#" alt="cr1" name="room-1">
<area shape="poly" id="cr2"coords="579,246,627,200,672,246,624,290" href="#" alt="cr2" name="room-2">
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-16T03:12:23+00:00Added an answer on June 16, 2026 at 3:12 am

    Use the jQuery mouseover event.

    You would attach it to the ‘area’ tags on document ready.

    $(document).ready(function(){
        //this selector is selecting an element by the id of cr1.
        $('#cr1').on('mouseover', function(){
            //do your showing here
        });
    
        $('#cr1').on('mouseleave', function(){
            //do your hiding here
        });
    });
    

    for a generic handler you could do:

    $(document).ready(function(){
        //this is an attribute selector.
        //'area' is the typ of tag to match
        //[name indicates the attribute is named 'name'
        //^= indicates the attribute 'name' should start with the value following this operator
        //'room'] think of this as indicating the value of the name attribute
        // should match: 'room*'
        $('area[name^="room"]').on('mouseover', function(){
            //do your showing here, be sure to show only 
            //for the appropriate area. Maybe select on the id.
        });
    
        $('area[name^="room"]').on('mouseleave', function(){
            //do your hiding here. This could be generic unless you have
            //a multi-paragrah area instead of a single display area.
        });
    });
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

MAIN EDIT: This will help to explain the question better, take a look of
Ok this is strange but I will explain what is going on. In SQL
sorry for asking this dumb question i will try to explain as good as
Okay, this scenario is a little complicated, but I will try to explain it
I will do my best to explain this. Hopefully my notes in script will
I'm going to try to explain this best I can I will provide more
This problem is going to be hard for me to explain but I will
I am a bit lost as to how to explain this, so I will
This will hopefully be a simple one: I have a div I want to
This will probably be obvious but I can't find the best way. I want

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.