Results 1 to 2 of 2

Thread: stuck on imagemap

  1. #1
    jonfanta Guest

    stuck on imagemap

    Hi i am trying to make a 2 layer map. i have an image with that is a map. and on the map i wanted to add dots, second layer. i wanted to make 3 groups with every group a different colour. Every ID is a location and a group can be 20 people/locations. So i thought i make a class( class=end) and sommon that class in the css with a color. The problem now is that the color of that class doesn't show on the map. i have looked a lot on the internet and this forum, but i am now really stuck. can someone show me the way?

    This is my HTML:

    HTML Code:
    <DIV id=imagemap>
    <IMG height=728 src="map.jpg" width=728 useMap=#iDelta border=0>
    <MAP name=iDelta> 
    <!-- Area id's start with a -->
    <area class="end" id=a7 onmouseover="D(this.id,1);" onMouseOut="D(this.id);" onClick="L(this.id,1);" shape=CIRCLE coords=263,233,25;>
    <area id=a23 onMouseOver="D(this.id,1);" onMouseOut="D(this.id);" onClick="L(this.id,1);" shape="poly" coords="349,78,366,109,428,75,416,46">
    <area id=t1  onmouseover="D(this.id,1);" onMouseOut="D(this.id);" onClick="L(this.id,1);" shape="poly" coords="348,140,372,180,433,138,419,127,377,120">
    This is my css:
    Code:
    IMG{
    	z-index: -1;
    	POSITION: relative;
    	LEFT: 0px; 
    	VISIBILITY: visible; 
    	WIDTH: 728Spx; 
    	TOP: 0px; 
    	HEIGHT: 728px;
    	background-color: transparant 
    
    }
    
    .end {
    	z-index: 4;
    	BACKGROUND-COLOR: #f00;
    	POSITION: absolute;
    	VISIBILITY: hidden;
    	
    }

  2. #2
    jonfanta Guest
    no one any idea?

Similar Threads

  1. PHP pro needed, Im stuck.
    By king10 in forum Client & Server Side Scripting (PHP, ASP, JavaScript)
    Replies: 1
    Last Post: 12 Feb 2010, 05:49 AM
  2. Slider stuck in load phase
    By CooKachoo in forum Client & Server Side Scripting (PHP, ASP, JavaScript)
    Replies: 0
    Last Post: 24 Aug 2009, 12:39 AM
  3. Imagemap rollover buttons using javascript not working right.
    By linuxllama22 in forum Client & Server Side Scripting (PHP, ASP, JavaScript)
    Replies: 1
    Last Post: 14 May 2008, 07:05 PM

Posting Permissions

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