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

  • Home
  • SEARCH
  • 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 8513713
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 11, 20262026-06-11T04:39:21+00:00 2026-06-11T04:39:21+00:00

I am using FancyBox Jquery plugin to display popups in my website. It works

  • 0

I am using FancyBox Jquery plugin to display popups in my website. It works fine for all anchor tags. I also want to use it for an area tag in a map tag so that I can display popups when clicked on specific part of an image. I have tried following code but it doesn’t work:

<script type="text/javascript"> 
 $(document).ready(function(){ 
  $("#tag_id").fancybox(); 
 });
</script>


<map name="question_img">
 <area id="tag_id" shape="rect" coords="0,0,200,200" href="http://domain.com/ajax.txt" alt="" />
</map>

<img src='http://domain.com/image.jpg' width='100%' height='100%' usemap='#question_img'>

Please tell me what modifications I need to do in Jquery code.
Thank you

  • 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-11T04:39:23+00:00Added an answer on June 11, 2026 at 4:39 am

    I’ve used fancybox on area tag in image map and it works. try

    $(“area#tag_id”).fancybox();

    You can view my implementation on this url : Fancybox on area tag

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm experiencing a little bugger using the fancybox jquery plugin. I want to use
I'm using the fancybox lightbox plugin in jquery. It hooks into anchor tags such
I'm using the jquery.expander.js plugin along with fancybox to display summaries of news articles
I using the fancybox plugin for jquery and I want to put a link
I'm using FancyBox jquery plugin to display modal popup boxes. The site is: http://www.chatisfying.com
I am using jquery fancybox and I want to display a vertical scrollbar if
I am using the FancyBox jQuery plugin (http://fancybox.net/) in my ASP.NET website and have
I am using the fancybox.I want to display the image gallery using the galleria
I am using this layover plugin to display content: http://jquery.com/demo/grey/ I know there must
I am using jQuery Fancybox to display a number of Flash videos on a

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.