Ergebnis 1 bis 3 von 3

Thema: auf Gruppenfoto die Namen der einzelnen Personen bei mouseover anzeigen lassen

  1. #1
    TP-Junior
    Registriert seit
    Mar 2010
    Beiträge
    26

    Question auf Gruppenfoto die Namen der einzelnen Personen bei mouseover anzeigen lassen

    Hallo,

    eigentlich schon fast alles in der Überschrift gesagt: Ich habe ein Gruppenfoto und möchte beim mouseover über die einzelnen Personen, deren Namen eingeblendet haben.

    Wie bekomme ich das mit dw hin?
    Habe angefangen mit einem hotspot um eine Person kam aber dann leider nicht weiter. Versucht habe ich es mit verschiedenen Verhalten.

    Beste grüße

    Fossil

  2. #2
    TP-Special Mod TP-Sponsor Avatar von Thomas
    Registriert seit
    May 2001
    Ort
    Arnsberg - Sauerland
    Beiträge
    21.676
    Hi,

    da fallen mir zwei Varianten ein:

    entweder "sliced" du das Bild (in FW oder PS), so dass du jede Person quasi als einzelnes Bild hast und setzt das Bild in einer Tabelle dann wieder zusammen, dann kannst du jedem Einzelteil einen title-tag zuordnen

    oder du erstellst eine sog. "imagemap", such mal nach diesem Begriff hier im Forum oder per google

  3. #3
    TP-Junior
    Registriert seit
    Sep 2010
    Beiträge
    14
    kannst ja mal das hier probieren (hab ich geklaut :-) )

    HTML-Code:
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
    <html>
    <head>
    <title>CSS Image Map</title>
    	<style type="text/css">
    
    		#map {
    			margin:0;
    			padding:0;
    			width:400px;
    			height:250px;
    			background:url(map.jpg) top left no-repeat #fff;
    			font-family:arial, helvetica, sans-serif;
    			font-size:8pt;
    		}
    		
    		#map li {
    			margin:0;
    			padding:0;
    			list-style:none;
    		}
    		
    		#map li a {
    			position:absolute;
    			display:block;
       			text-decoration:none;
    			color:#000;
    		}
    		
    		#map li a span { display:none; }
    		
    		#map li a:hover span {
    			position: absolute;
    			display:block;
    			width:200px;
    			left:0px;
    			top:100px;
    			border:1px solid #000;
    			background:#fff;
    			padding:5px;
     			filter:alpha(opacity=80);
    			opacity:0.8;
      		}
    	
    		#map a.bunny {
    	top:42px;
    	left:73px;
    	width:80px;
    	height:90px;
    		}
    		
    		#map a.parrot {
    	top:17px;
    	left:288px;
    	width:50px;
    	height:50px;
    		}
    		
    		#map a.snail {
    	top:149px;
    	left:46px;
    	width:50px;
    	height:50px;
    		}
    		
    		#map a.dog {
    	top:117px;
    	left:152px;
    	width:115px;
    	height:95px;
    		}
    		
    		#map a.cat {
    	top:84px;
    	left:328px;
    	width:70px;
    	height:120px;
    		}
    	</style>
    </head>
    <body>
    
    
    <div id="map">
    <li><a class="bunny" href="#" title="Bunny"><span><b>Bunny Rabbit</b><br>
    		Cute and fuzzy, with long ears and a fluffy tail. this cuddly bunny 
      makes a great pet.</span></a></li>
    
    <li><a class="parrot" href="#" title="Parrot"><span><b>Parrot</b><br>
    		With a lifespan of up to 40 years, these bright, colorful birds 
    		are wonderful life-long pets. One of only a few birds
    		capable of learning to speak, parrots are intelilgent and
    		highly social animals.</span></a></li>
    		
    <li><a class="snail" href="#" title="Snail"><span><b>Snail</b><br>
    		Snails are a wonderful addition to any aquarium-- just make
    		sure that its tank-mates aren't going to eat it! Snails say
      "Meow."</span></a></li>
    		
    	<li><a class="dog" href="#" title="Dog"><span><b>Dog</b><br>
    		Man's best friend, a protector and commrade of humans for
    		centuries, dogs are faithful, loyal and loving companions.
      </span></a></li>
    
    		
    	<li><a class="cat" href="#" title="Cat"><span><b>Cat</b><br>
    		Another popular pet, these felines were once viewd as a
    		sacred creature amont the ancient Egyptians. Independant,
    		sociable, and with a rumbling purr, cats make wonderful
      pets.</span></a></li>
    </div>
    
    </body>
    </html>
    PS.: hier noch das passende Bild -->

Aktive Benutzer

Aktive Benutzer

Aktive Benutzer in diesem Thema: 1 (Registrierte Benutzer: 0, Gäste: 1)

Ähnliche Themen

  1. [DW CS4] Namen von eingeloggtem user anzeigen
    Von Nilix313 im Forum Dreamweaver & andere Webeditoren
    Antworten: 4
    Letzter Beitrag: 24.01.2010, 01:44
  2. Wie sind die einzelnen Personen am besten anzumelden
    Von Master_G im Forum Gründung & Selbstständigkeit
    Antworten: 1
    Letzter Beitrag: 16.06.2009, 16:05
  3. Personen altern lassen
    Von fahrenheide im Forum Photoshop
    Antworten: 28
    Letzter Beitrag: 05.05.2006, 22:41
  4. Namen schützen lassen
    Von Fahrenheit69 im Forum Business allgemein
    Antworten: 2
    Letzter Beitrag: 13.02.2006, 11:27
  5. Antworten: 6
    Letzter Beitrag: 06.04.2004, 11:54

Aktive Benutzer

Aktive Benutzer

Aktive Benutzer in diesem Thema: 1 (Registrierte Benutzer: 0, Gäste: 1)

     

Berechtigungen

  • Neue Themen erstellen: Nein
  • Themen beantworten: Nein
  • Anhänge hochladen: Nein
  • Beiträge bearbeiten: Nein
  •  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51