Das Forum der Foren
Würden Sie gerne auf diese Nachricht reagieren? Erstellen Sie einen Account in wenigen Klicks oder loggen Sie sich ein, um fortzufahren.

Verweis-sensitive Grafiken

2 verfasser

Nach unten

Erledigt Verweis-sensitive Grafiken

Beitrag von Mazacre Fr 14 Nov 2014 - 14:48

Hallo Community

Ich möchte in meinem Header von meiner Homepage einen bestimmten bereich per Verweis sensitive Grafiken verankern bzw Area Tag wenn man auf diesen Bereich von meinem Header (Banner) mit dem Curser drauf geht sollte der Name dieses Bereiches erscheinen und auch zugleich verlinkt werden.

Ich habe auch einen fertigen Code schon erstellt nur weiß ich nicht wo ich diesen Code einbauen kann bzw. geht das überhaupt hier ?

Das ist der Code

Code:
<map name="Teams">
        <area shape="RECT" coords="20,  10, 60,  37" href="/mof/team/BUF" target="_self" title="Bills">
        <area shape="RECT" coords="64,  10, 104, 37" href="/mof/team/MIA" target="_self" title="Dolphins">
        <area shape="RECT" coords="108, 10, 148, 37" href="/mof/team/NE" target="_self" title="Patriots">
        <area shape="RECT" coords="152, 10, 192, 37" href="/mof/team/NYJ" target="_self" title="Jets">
        <area shape="RECT" coords="203, 10, 243, 37" href="/mof/team/BAL" target="_self" title="Ravens">
        <area shape="RECT" coords="247, 10, 287, 37" href="/mof/team/CIN" target="_self" title="Bengals">
        <area shape="RECT" coords="291, 10, 331, 37" href="/mof/team/CLE" target="_self" title="Browns">
        <area shape="RECT" coords="335, 10, 375, 37" href="/mof/team/PIT" target="_self" title="Steelers">
        <area shape="RECT" coords="20,  44, 60,  71" href="/mof/team/HOU" target="_self" title="Texans">
        <area shape="RECT" coords="64,  44, 104, 71" href="/mof/team/IND" target="_self" title="Colts">
        <area shape="RECT" coords="108, 44, 148, 71" href="/mof/team/JAC" target="_self" title="Jaguars">
        <area shape="RECT" coords="152, 44, 192, 71" href="/mof/team/TEN" target="_self" title="Titans">
        <area shape="RECT" coords="203, 44, 243, 71" href="/mof/team/DEN" target="_self" title="Broncos">
        <area shape="RECT" coords="247, 44, 287, 71" href="/mof/team/KC" target="_self" title="Chiefs">
        <area shape="RECT" coords="291, 44, 331, 71" href="/mof/team/OAK" target="_self" title="Raiders">
        <area shape="RECT" coords="335, 44, 375, 71" href="/mof/team/SD" target="_self" title="Chargers">
        <area shape="RECT" coords="574, 10, 614, 37" href="/mof/team/DAL" target="_self" title="Cowboys">
        <area shape="RECT" coords="618, 10, 658, 37" href="/mof/team/NYG" target="_self" title="Giants">
        <area shape="RECT" coords="662, 10, 702, 37" href="/mof/team/PHI" target="_self" title="Eagles">
        <area shape="RECT" coords="706, 10, 746, 37" href="/mof/team/WAS" target="_self" title="Redskins">
        <area shape="RECT" coords="750, 10, 790, 37" href="/mof/team/CHI" target="_self" title="Bears">
        <area shape="RECT" coords="791, 10, 831, 37" href="/mof/team/DET" target="_self" title="Lions">
        <area shape="RECT" coords="835, 10, 875, 37" href="/mof/team/GB" target="_self" title="Packers">
        <area shape="RECT" coords="879, 10, 919, 37" href="/mof/team/MIN" target="_self" title="Vikings">
        <area shape="RECT" coords="574, 44, 614, 71" href="/mof/team/ATL" target="_self" title="Falcons">
        <area shape="RECT" coords="618, 44, 658, 71" href="/mof/team/CAR" target="_self" title="Panthers">
        <area shape="RECT" coords="662, 44, 702, 71" href="/mof/team/NO" target="_self" title="Saints">
        <area shape="RECT" coords="706, 44, 746, 71" href="/mof/team/TB" target="_self" title="Buccaneers">
        <area shape="RECT" coords="750, 44, 790, 71" href="/mof/team/ARI" target="_self" title="Cardinals">
        <area shape="RECT" coords="791, 44, 831, 71" href="/mof/team/SEA" target="_self" title="Seahawks">
        <area shape="RECT" coords="835, 44, 875, 71" href="/mof/team/SF" target="_self" title="49ers">
        <area shape="RECT" coords="879, 44, 919, 71" href="/mof/team/STL" target="_self" title="Rams">
</map>

Vielleicht könnt Ihr mir ja helfen


Zuletzt von Mazacre am Sa 15 Nov 2014 - 20:26 bearbeitet; insgesamt 1-mal bearbeitet
Mazacre
Mazacre
Lehrling
Lehrling

Männlich Anzahl der Beiträge : 109
Browser : Sonstige
Anmeldedatum : 12.12.12

Nach oben Nach unten

Erledigt Re: Verweis-sensitive Grafiken

Beitrag von #Frank Fr 14 Nov 2014 - 15:20

Du musst das in das Template "overall_header" einsetzen.
In einem unveränderten Template ist das die Zeile 252.
Dort ist dein Logo so angegeben:
Code:
<a href="{U_INDEX}" id="logo"><img src="{LOGO}" alt="{L_INDEX}" /></a>
Diese Zeile ersetzt du mit deinem Code.
Aber du musst über deinem Code noch das Bild angeben das hinter der Map liegen soll.
Hier findest du das Beispiel dazu:
http://de.selfhtml.org/html/grafiken/verweis_sensitive.htm


Edit:

Ich sehe gerade, das deine Links auf ein Verzeichnis in deinem Forum verweisen, das es aber so nicht gibt.
#Frank
#Frank
Administrator
Administrator

Männlich Anzahl der Beiträge : 33551
Hinweis : Never change a running system on Friday!

Browser : Firefox
Anmeldedatum : 13.08.08

Nach oben Nach unten

Erledigt Re: Verweis-sensitive Grafiken

Beitrag von Mazacre Sa 15 Nov 2014 - 1:35

Hallo Frank vielen dank für deine Hilfe.

Habe nun den Code so eingesetzt wie du es gesagt hast.
Hat auch alles funktioniert nur am Ende meines Banners werden zwei Bildflächen nicht verlinkt.
Sprich wenn ich mit der Maus auf diese zwei gewissen Bild-Flächen drauf gehe wird der Curser nicht zur Hand sprich dieser Bereich verlinkt sich nicht.

Das ist mein Code und das ist meine Seite www.maddenonlineleague.com

Code:
<img src="http://www11.pic-upload.de/15.11.14/o18stm9gsxvs.png" alt="" usemap="#Map" />
<map name="Map" id="Map">
    <area alt="" title="" href="#" shape="rect" coords="23,182,59,205" />
    <area alt="" title="" href="#" shape="rect" coords="66,182,102,205" />
    <area alt="" title="" href="#" shape="rect" coords="109,182,145,205" />
    <area alt="" title="" href="#" shape="rect" coords="153,181,188,205" />
    <area alt="" title="" href="#" shape="rect" coords="202,182,238,204" />
    <area alt="" title="" href="#" shape="rect" coords="245,182,281,205" />
    <area alt="" title="" href="#" shape="rect" coords="290,182,324,205" />
    <area alt="" title="" href="#" shape="rect" coords="332,182,367,204" />
    <area alt="" title="" href="#" shape="rect" coords="23,215,59,235" />
    <area alt="" title="" href="#" shape="rect" coords="65,214,103,238" />
    <area alt="" title="" href="#" shape="rect" coords="109,214,146,238" />
    <area alt="" title="" href="#" shape="rect" coords="152,212,188,238" />
    <area alt="" title="" href="#" shape="rect" coords="201,214,239,238" />
    <area alt="" title="" href="#" shape="rect" coords="246,215,280,237" />
    <area alt="" title="" href="#" shape="rect" coords="289,215,324,238" />
    <area alt="" title="" href="#" shape="rect" coords="332,214,368,237" />
    <area alt="" title="" href="#" shape="rect" coords="575,182,611,206" />
    <area alt="" title="" href="#" shape="rect" coords="619,182,654,204" />
    <area alt="" title="" href="#" shape="rect" coords="662,183,698,205" />
    <area alt="" title="" href="#" shape="rect" coords="705,182,740,204" />
    <area alt="" title="" href="#" shape="rect" coords="755,183,789,204" />
    <area alt="" title="" href="#" shape="rect" coords="796,181,833,205" />
    <area alt="" title="" href="#" shape="rect" coords="840,181,876,205" />
    <area alt="" title="" href="#" shape="rect" coords="882,182,919,205" />
    <area alt="" title="" href="#" shape="rect" coords="575,216,611,238" />
    <area alt="" title="" href="#" shape="rect" coords="619,216,653,235" />
    <area alt="" title="" href="#" shape="rect" coords="662,213,696,237" />
    <area alt="" title="" href="#" shape="rect" coords="704,215,741,238" />
    <area alt="" title="" href="#" shape="rect" coords="755,215,790,236" />
    <area alt="" title="" href="#" shape="rect" coords="797,216,833,239" />
    <area alt="" title="" href="#" shape="rect" coords="840,215,875,236" />
    <area alt="" title="" href="#" shape="rect" coords="884,216,919,237" />
    
</map>
Mazacre
Mazacre
Lehrling
Lehrling

Männlich Anzahl der Beiträge : 109
Browser : Sonstige
Anmeldedatum : 12.12.12

Nach oben Nach unten

Erledigt Re: Verweis-sensitive Grafiken

Beitrag von #Frank Sa 15 Nov 2014 - 10:08

Es wäre schön gewesen, wenn du es auch mal im Forum eingesetzt hättest. Dann hätte man es sich auch mal direkt ansehen können. aber leider hast du es ja wieder entfernt.
So kann man natürlich nichts sehen.

Edit:
Ich habe deinen Code mal etwas angepasst, damit man sieht, welcher teil noch fehlt.
Wenn du dir deinen Code mal anschaust, hast du in deinem Banner 32 Flaggen, aber nur 31 Verweise.
Zu dieser Flagge fehlt das entsprechende Feld:
Verweis-sensitive Grafiken 0112

Ich habe deinen Code mal etwas erweitert, damit man erst mal leichter sieht, welcher Teil zu welcher Flagge gehört.
Code:
<img src="http://www11.pic-upload.de/15.11.14/o18stm9gsxvs.png" alt="" usemap="#Map" />
    <map name="Map" id="Map">
        <area alt="1" title="1" href="#" shape="rect" coords="23,182,59,205" />
        <area alt="2" title="2" href="#" shape="rect" coords="66,182,102,205" />
        <area alt="3" title="3" href="#" shape="rect" coords="109,182,145,205" />
        <area alt="4" title="4" href="#" shape="rect" coords="153,181,188,205" />
        <area alt="5" title="5" href="#" shape="rect" coords="202,182,238,204" />
        <area alt="6" title="6" href="#" shape="rect" coords="245,182,281,205" />
        <area alt="7" title="7" href="#" shape="rect" coords="290,182,324,205" />
        <area alt="8" title="8" href="#" shape="rect" coords="332,182,367,204" />
        <area alt="9" title="9" href="#" shape="rect" coords="23,215,59,235" />
        <area alt="10" title="10" href="#" shape="rect" coords="65,214,103,238" />
        <area alt="11" title="11" href="#" shape="rect" coords="109,214,146,238" />
        <area alt="12" title="12" href="#" shape="rect" coords="152,212,188,238" />
        <area alt="13" title="13" href="#" shape="rect" coords="201,214,239,238" />
        <area alt="14" title="14" href="#" shape="rect" coords="246,215,280,237" />
        <area alt="15" title="15" href="#" shape="rect" coords="289,215,324,238" />
        <area alt="16" title="16" href="#" shape="rect" coords="332,214,368,237" />
        <area alt="17" title="17" href="#" shape="rect" coords="575,182,611,206" />
        <area alt="18" title="18" href="#" shape="rect" coords="619,182,654,204" />
        <area alt="19" title="19" href="#" shape="rect" coords="662,183,698,205" />
        <area alt="20" title="20" href="#" shape="rect" coords="705,182,740,204" />
        <area alt="21" title="21" href="#" shape="rect" coords="796,181,833,205" />
        <area alt="22" title="22" href="#" shape="rect" coords="840,181,876,205" />
        <area alt="23" title="23" href="#" shape="rect" coords="882,182,919,205" />
        <area alt="24" title="24" href="#" shape="rect" coords="575,216,611,238" />
        <area alt="25" title="25" href="#" shape="rect" coords="619,216,653,235" />
        <area alt="26" title="26" href="#" shape="rect" coords="662,213,696,237" />
        <area alt="27" title="27" href="#" shape="rect" coords="704,215,741,238" />
        <area alt="28" title="28" href="#" shape="rect" coords="755,215,790,236" />
        <area alt="29" title="29" href="#" shape="rect" coords="797,216,833,239" />
        <area alt="30" title="30" href="#" shape="rect" coords="840,215,875,236" />
        <area alt="31" title="31" href="#" shape="rect" coords="884,216,919,237" />
        
    </map>
Nun siehst du das es nur bis 31 geht und dir der 32 Teil fehlt.

noch mal Edit...

Und hier noch mal die Map mit allen 32 Feldern:
Code:
<map name="Map" id="Map">
        <area alt="1" title="1" href="#" shape="rect" coords="23,182,59,205" />
        <area alt="2" title="2" href="#" shape="rect" coords="66,182,102,205" />
        <area alt="3" title="3" href="#" shape="rect" coords="109,182,145,205" />
        <area alt="4" title="4" href="#" shape="rect" coords="153,181,188,205" />
        <area alt="5" title="5" href="#" shape="rect" coords="202,182,238,204" />
        <area alt="6" title="6" href="#" shape="rect" coords="245,182,281,205" />
        <area alt="7" title="7" href="#" shape="rect" coords="290,182,324,205" />
        <area alt="8" title="8" href="#" shape="rect" coords="332,182,367,204" />
        <area alt="9" title="9" href="#" shape="rect" coords="23,215,59,235" />
        <area alt="10" title="10" href="#" shape="rect" coords="65,214,103,238" />
        <area alt="11" title="11" href="#" shape="rect" coords="109,214,146,238" />
        <area alt="12" title="12" href="#" shape="rect" coords="152,212,188,238" />
        <area alt="13" title="13" href="#" shape="rect" coords="201,214,239,238" />
        <area alt="14" title="14" href="#" shape="rect" coords="246,215,280,237" />
        <area alt="15" title="15" href="#" shape="rect" coords="289,215,324,238" />
        <area alt="16" title="16" href="#" shape="rect" coords="332,214,368,237" />
        <area alt="17" title="17" href="#" shape="rect" coords="575,182,611,206" />
        <area alt="18" title="18" href="#" shape="rect" coords="619,182,654,204" />
        <area alt="19" title="19" href="#" shape="rect" coords="662,183,698,205" />
        <area alt="20" title="20" href="#" shape="rect" coords="705,182,740,204" />
        <area alt="21" title="21" href="#" shape="rect" coords="755,182,788,205" />
        <area alt="22" title="22" href="#" shape="rect" coords="796,181,833,205" />
        <area alt="23" title="23" href="#" shape="rect" coords="840,181,876,205" />
        <area alt="24" title="24" href="#" shape="rect" coords="882,182,919,205" />
        <area alt="25" title="25" href="#" shape="rect" coords="575,216,611,238" />
        <area alt="26" title="26" href="#" shape="rect" coords="619,216,653,235" />
        <area alt="27" title="27" href="#" shape="rect" coords="662,213,696,237" />
        <area alt="28" title="28" href="#" shape="rect" coords="704,215,741,238" />
        <area alt="29" title="29" href="#" shape="rect" coords="755,215,790,236" />
        <area alt="30" title="30" href="#" shape="rect" coords="797,216,833,239" />
        <area alt="31" title="31" href="#" shape="rect" coords="840,215,875,236" />
        <area alt="32" title="32" href="#" shape="rect" coords="884,216,919,237" />
       
    </map>

Wenn du nun noch die Titel und die Links änderst, sollte es alles funktionieren.
#Frank
#Frank
Administrator
Administrator

Männlich Anzahl der Beiträge : 33551
Hinweis : Never change a running system on Friday!

Browser : Firefox
Anmeldedatum : 13.08.08

Nach oben Nach unten

Erledigt Re: Verweis-sensitive Grafiken

Beitrag von Mazacre Sa 15 Nov 2014 - 20:25

Wow danke danke danke Frank sehr nett von Dir. Danke hat funktioniert.

Mazacre
Mazacre
Lehrling
Lehrling

Männlich Anzahl der Beiträge : 109
Browser : Sonstige
Anmeldedatum : 12.12.12

Nach oben Nach unten

Erledigt Re: Verweis-sensitive Grafiken

Beitrag von #Frank Sa 15 Nov 2014 - 21:24

Ja, so bin ich manchmal. Es hatte mich auch interessiert, wie du es umgesetzt hast und wo nun der Fehler liegt.
Du kannst ja auf diese weise auch noch andere Funktionen auf deinem Banner einsetzen.
Aber da stehen dir die möglichkeiten ja offen.

closed
#Frank
#Frank
Administrator
Administrator

Männlich Anzahl der Beiträge : 33551
Hinweis : Never change a running system on Friday!

Browser : Firefox
Anmeldedatum : 13.08.08

Nach oben Nach unten

Erledigt Re: Verweis-sensitive Grafiken

Beitrag von Gesponserte Inhalte


Gesponserte Inhalte


Nach oben Nach unten

Nach oben

- Ähnliche Themen

 
Befugnisse in diesem Forum
Sie können in diesem Forum nicht antworten