www.webdeveloper.com
Results 1 to 4 of 4

Thread: Image on a map

  1. #1
    Join Date
    Nov 2002
    Posts
    3

    Question Image on a map

    I'm new to HTML programming, so I'm not sure how to do this...I've managed to load up a map using 'src=' and then using 'DIV' and the 'CSS2 style position' element to put little red dots on the map. What I would like to do is dynamically make the red dots either visible or invisible without reloading the image from the server

  2. #2
    Join Date
    Nov 2002
    Posts
    4,473

    Re: Image on a map

    Originally posted by russ3ell
    What I would like to do is dynamically make the red dots either visible or invisible without reloading the image from the server
    All the dots, or just some of the dots? Which image, the dot or the map?

  3. #3
    Join Date
    Nov 2002
    Posts
    984
    You are probably looking for something like

    <div id="dot1" style="visibility:hidden;">yourdot</div>


    And some button etc with onclick="showhide()"


    document.getElementById("dot1").style.visibility='visible';
    document.getElementById("dot1").style.visibility='hidden';
    depending on current status of the visibility.
    // Stefan Huszics

  4. #4
    Join Date
    Nov 2002
    Posts
    3
    The showhide thing looks like it would work. I'll give it a try. Thanks a lot

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center



Recent Articles