|
|
 |

|

 |

| Community » Suchanfragen für Scripts/Programmierung |
|
Highlight Scripts
|
Seitenanfang |
Hallo, Ich habe folgendes Problem. Ich möchte meine Menuführung verbessern und "Mouseover-Effekt" einsetzen. Leider wird es daraus ganz was anderes. Kann jemand vielleicht ein Fehler erkennen? <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <HTML> <HEAD> <meta http-equiv="Content-Language" content="en-us"> ………………………………… …………………………………… <script type="text/javascript"> Normal1 = new Image(); Normal1.src = "images/homebutt.jpg"; Highlight1 = new Image(); Highlight1.src = "images/homebutta.jpg"; function Bildwechsel(Bildnr,Bildobjekt) { window.document.images[Bildnr].src = Bildobjekt.src; } </script> </HEAD> <BODY> ……………………………………….. <td><a href="index.html" onMouseOver="Bildwechsel(0,Highlight1)" onMouseOut="Bildwechsel(0,Normal1)"> <img src="images/homebutt.jpg" width="170" height="30" border="0" alt="websites"></a></td> …………………………………….. </BODY> </HTML> Danke, Julia
Datum: 23.11.2005-13:22

|
re: Highlight Scripts
|
Seitenanfang |
Hi, also ich hab das bei mir mal mit Firefox/Linux, sowie mit IE/W2k probiert und es funktioniert problemlos.Ich musste allerdings die ........... entfernen. Was genau geht denn nicht? svenXY
Datum: 23.11.2005-15:14

|
re: Highlight Scripts
|
Seitenanfang |
| Das Problem ist, dass das neue Bild nicht nur den richtigen Buttons ersetzt, sondern auch das Bild, welches oben auf der Seite ist. Ich weiss nicht, ob ich hier meine Seite nennen soll oder nicht. Wäre ja besser, dann kan man genau sehen, was los ist. danke
Datum: 23.11.2005-15:52

|
|

|

|

|
 |

|

|
|