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 7913577
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 3, 20262026-06-03T13:52:32+00:00 2026-06-03T13:52:32+00:00

I was trying to create an image map tool as part of my project

  • 0

I was trying to create an image map tool as part of my project
http://jsfiddle.net/MBThE/12/

Full screen result : http://jsfiddle.net/MBThE/12/embedded/result/

I tried to place the links as divs and positioning using css..
But the problem is that adding or deleting new hot spots reults in repositioning of other elements..I found the solution for this as
position:fixed for hot spot divs ..But this makes the hotspots remain there itself even if user scrolls down or up….So is there any way to find the number of pixels scrolled up or down using javascript and trigger an event when scrolling happens,so that i can increment or decrement the divs positions according to scrolling ?

I consider another alternative as HTML5 canvas….But that results in unwanted resizing of image…
So is there any way to make the divs does not affect each other but also place them inside the container div?

Note:- click ‘add hot spot’ button and click on the image to add hotspot..hover the hotspot to edit the hotspot

  • 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-03T13:52:34+00:00Added an answer on June 3, 2026 at 1:52 pm

    Yes, position:absolute will position absolutely based off of the closest parent that is either position:absolute or position:relative. So you could use the following to create a parent and then position within it.

    <div style="position:relative" id="parentDiv">
         <div style="position:absolute; top:15px; left:15px">I am 15 pixels from the top and left side of my parent div </div>
         <div style="position:absolute; top:30px; left:30px">I am 30 pixels from the top and left side of my parent div </div>
    </div>
    

    hope that helps

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

Sidebar

Related Questions

Here I am trying to create an Image Gallery: http://jsfiddle.net/5wETg/62/ . var xml =
I am trying to create a wpf control that will display a map image
I'm trying to use jQuery to dynamically create an image map, and I ran
I am trying to create network map on c# like on this image I
I am trying to create an indoor map like the below image.This is scrollable/moving
I am trying to create a map activity with an overlay image on the
I'm trying to create a simple interactive image map where the user would be
im trying to create an image filter in OpenGL CE. currently I am trying
I'm trying to create an image using matplotlib.pyplot.imshow() . However, when I run the
I'm trying to create an image by using binary data that I received from

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.