IPB

Willkommen, Gast ( Anmelden | Registrierung )

> Onmouseover-text In Css
Gast_Apeman_*
Beitrag 15.06.2004 - 16:44
Beitrag #1





Gäste






Hallo,

ich habe feststellen müssen, das der Firefox verschiedene Sachen nicht anzeigt, so z.B. einen onMouseover-Textwandel nach diesem Beispiel.

QUELLTEXT
<div id="Test">&nbsp;</div>

<map name="bedienung">
<area shape="circle" coords="60,45,15" title="Green Power" onMouseover="document.all.Test.innerText='Die Green-Power-Taste'" onMouseout="document.all.Test.innerText=''">


Da ich auch nicht unbedingt ein Freund von JavaScript bin, ist meine Frage: Gibt es eine Möglichkeit mittels CSS einen onMouseover- Effekt so hin zukriegen, das sich im HTML-Dokumnet kein Text dynamisch ändert?

Wenn ja, hat jemand eine Idee wie? Bitte ein Beispiel, ich will dazulernen.

Danke sehr
Go to the top of the page
 
+Quote Post
 
Start new topic
Antworten
i.b.g
Beitrag 17.06.2004 - 6:39
Beitrag #2


Weiss zuviel!!
Gruppensymbol

Gruppe: Mods
Beiträge: 668
Mitglied seit: 19.04.2002
Wohnort: Grimmen
Mitglieds-Nr.: 385



Hallo,

in den W3C-Recomandations habe ich folgendes gefunden:

QUELLTEXT
Client-side image map examples

In the following example, we create a client-side image map for the OBJECT element. We do not want to render the image map's contents when the OBJECT is rendered, so we "hide" the MAP element within the OBJECT element's content. Consequently, the MAP element's contents will only be rendered if the OBJECT cannot be rendered.

<HTML>
  <HEAD>
     <TITLE>The cool site!</TITLE>
  </HEAD>
  <BODY>
    <P><OBJECT data="navbar1.gif" type="image/gif" usemap="#map1">
    <MAP name="map1">
      <P>Navigate the site:
      <A href="guide.html" shape="rect" coords="0,0,118,28">Access Guide</a> |
      <A href="shortcut.html" shape="rect" coords="118,0,184,28">Go</A> |
      <A href="search.html" shape="circle" coords="184,200,60">Search</A> |
      <A href="top10.html" shape="poly" coords="276,0,276,28,100,200,50,50,276,0">Top Ten</A>
    </MAP>
    </OBJECT>
  </BODY>
</HTML>


Vielleicht hilft es Dir, mal reinzuschauen und alles zu lesen.
Ich denke das wäre eine Lösung!?


[edit]
Ich vergaß: 13.6.1 Client-side image maps: the MAP and AREA elements
[/edit]

Der Beitrag wurde von i.b.g bearbeitet: 17.06.2004 - 6:41
Go to the top of the page
 
+Quote Post

Beiträge in diesem Thema


Reply to this topicStart new topic
4 Besucher lesen dieses Thema (Gäste: 4 | Anonyme Besucher: 0)
0 Mitglieder:

 



RSS Vereinfachte Darstellung Aktuelles Datum: 13.05.2025 - 4:43

taschenkalender
expertise-panel IPS Driver Error

IPS Driver Error

There appears to be an error with the database.
You can try to refresh the page by clicking here