Buttons und Text
Verfasst: 24.05.2004 18:58
dies sind buttons die auf mouseover reagieren:
<html>
<head>
<title>navigation</title>
<meta name="author" content="simon">
<meta name="keywords" content="navigation, dj cannie">
<script type="text/javascript">
Normal1 = new Image();
Normal1.src = "http://julianlindenberg123istichbins.s4 ... lieder.gif";
Highlight1 = new Image();
Highlight1.src = "http://julianlindenberg123istichbins.s4 ... seover.gif";
Normal2 = new Image();
Normal2.src = "http://julianlindenberg123istichbins.s4 ... m/Home.gif";
Highlight2 = new Image();
Highlight2.src = "http://julianlindenberg123istichbins.s4 ... 20over.gif";
Normal3 = new Image();
Normal3.src = "http://julianlindenberg123istichbins.s4 ... com/PM.gif";
Highlight3 = new Image();
Highlight3.src = "http://julianlindenberg123istichbins.s4 ... SEOVER.gif";
Normal4 = new Image();
Normal4.src = "http://julianlindenberg123istichbins.s4 ... Profil.gif";
Highlight4 = new Image();
Highlight4.src = "http://julianlindenberg123istichbins.s4 ... seover.gif";
Normal5 = new Image();
Normal5.src = "http://julianlindenberg123istichbins.s4 ... SUCHEN.gif";
Highlight5 = new Image();
Highlight5.src = "http://julianlindenberg123istichbins.s4 ... SEOVER.gif";
Normal6 = new Image();
Normal6.src = "http://julianlindenberg123istichbins.s4 ... LOGGEN.gif";
Highlight6 = new Image();
Highlight6.src = "http://julianlindenberg123istichbins.s4 ... SEOVER.gif";
Normal7 = new Image();
Normal7.src = "http://julianlindenberg123istichbins.s4 ... teBuch.gif";
Highlight7 = new Image();
Highlight7.src = "http://julianlindenberg123istichbins.s4 ... seover.gif";
function Bildwechsel(Bildnr,Bildobjekt)
{window.document.images[Bildnr].src = Bildobjekt.src;}
</script>
</head>
<body bgproperties="fixed" link="#1ABEFD" alink="#11D516" vlink="#1ABEFD" bgcolor="FFFFFF">
<br>
<a target="main" href="-------------------"
onMouseOver="Bildwechsel(0,Highlight1)"
onMouseOut="Bildwechsel(0,Normal1)"><img src="http://julianlindenberg123istichbins.s4 ... lieder.gif" alt="Home" border="0"></a>
<a target="main" href="-----------------"
onMouseOver="Bildwechsel(1,Highlight2)"
onMouseOut="Bildwechsel(1,Normal2)"><img src="http://julianlindenberg123istichbins.s4 ... m/Home.gif" alt="Home" border="0"></a>
<a target="main" href="-------------------"
onMouseOver="Bildwechsel(2,Highlight3)"
onMouseOut="Bildwechsel(2,Normal3)">
<img src="http://julianlindenberg123istichbins.s4 ... com/PM.gif" alt="Private Masseges" border="0"></a>
<a target="main" href="-----------------------"
onMouseOver="Bildwechsel(3,Highlight4)"
onMouseOut="Bildwechsel(3,Normal4)">
<img src="http://julianlindenberg123istichbins.s4 ... Profil.gif" alt="Profil" border="0"></a>
<a target="main" href="---------------"
onMouseOver="Bildwechsel(4,Highlight5)"
onMouseOut="Bildwechsel(4,Normal5)">
<img src="http://julianlindenberg123istichbins.s4 ... SUCHEN.gif" alt="Suchen" border="0"></a>
<a target="main" href="-------------------"
onMouseOver="Bildwechsel(5,Highlight6)"
onMouseOut="Bildwechsel(5,Normal6)"><img src="http://julianlindenberg123istichbins.s4 ... LOGGEN.gif" alt="Ausloggen" border="0"></a>
<a target="main" href="---------"
onMouseOver="Bildwechsel(6,Highlight7)"
onMouseOut="Bildwechsel(6,Normal7)"><img src="http://julianlindenberg123istichbins.s4 ... teBuch.gif" alt="Geste Buch" border="0"></a>
</body>
</html>
Wenn sich aber statt einem Bild, der Text sich bei mouseover ändern soll was muss ich dann eingeben???
und im welchem verzeichnis finde ich die datei: common.php ??
<html>
<head>
<title>navigation</title>
<meta name="author" content="simon">
<meta name="keywords" content="navigation, dj cannie">
<script type="text/javascript">
Normal1 = new Image();
Normal1.src = "http://julianlindenberg123istichbins.s4 ... lieder.gif";
Highlight1 = new Image();
Highlight1.src = "http://julianlindenberg123istichbins.s4 ... seover.gif";
Normal2 = new Image();
Normal2.src = "http://julianlindenberg123istichbins.s4 ... m/Home.gif";
Highlight2 = new Image();
Highlight2.src = "http://julianlindenberg123istichbins.s4 ... 20over.gif";
Normal3 = new Image();
Normal3.src = "http://julianlindenberg123istichbins.s4 ... com/PM.gif";
Highlight3 = new Image();
Highlight3.src = "http://julianlindenberg123istichbins.s4 ... SEOVER.gif";
Normal4 = new Image();
Normal4.src = "http://julianlindenberg123istichbins.s4 ... Profil.gif";
Highlight4 = new Image();
Highlight4.src = "http://julianlindenberg123istichbins.s4 ... seover.gif";
Normal5 = new Image();
Normal5.src = "http://julianlindenberg123istichbins.s4 ... SUCHEN.gif";
Highlight5 = new Image();
Highlight5.src = "http://julianlindenberg123istichbins.s4 ... SEOVER.gif";
Normal6 = new Image();
Normal6.src = "http://julianlindenberg123istichbins.s4 ... LOGGEN.gif";
Highlight6 = new Image();
Highlight6.src = "http://julianlindenberg123istichbins.s4 ... SEOVER.gif";
Normal7 = new Image();
Normal7.src = "http://julianlindenberg123istichbins.s4 ... teBuch.gif";
Highlight7 = new Image();
Highlight7.src = "http://julianlindenberg123istichbins.s4 ... seover.gif";
function Bildwechsel(Bildnr,Bildobjekt)
{window.document.images[Bildnr].src = Bildobjekt.src;}
</script>
</head>
<body bgproperties="fixed" link="#1ABEFD" alink="#11D516" vlink="#1ABEFD" bgcolor="FFFFFF">
<br>
<a target="main" href="-------------------"
onMouseOver="Bildwechsel(0,Highlight1)"
onMouseOut="Bildwechsel(0,Normal1)"><img src="http://julianlindenberg123istichbins.s4 ... lieder.gif" alt="Home" border="0"></a>
<a target="main" href="-----------------"
onMouseOver="Bildwechsel(1,Highlight2)"
onMouseOut="Bildwechsel(1,Normal2)"><img src="http://julianlindenberg123istichbins.s4 ... m/Home.gif" alt="Home" border="0"></a>
<a target="main" href="-------------------"
onMouseOver="Bildwechsel(2,Highlight3)"
onMouseOut="Bildwechsel(2,Normal3)">
<img src="http://julianlindenberg123istichbins.s4 ... com/PM.gif" alt="Private Masseges" border="0"></a>
<a target="main" href="-----------------------"
onMouseOver="Bildwechsel(3,Highlight4)"
onMouseOut="Bildwechsel(3,Normal4)">
<img src="http://julianlindenberg123istichbins.s4 ... Profil.gif" alt="Profil" border="0"></a>
<a target="main" href="---------------"
onMouseOver="Bildwechsel(4,Highlight5)"
onMouseOut="Bildwechsel(4,Normal5)">
<img src="http://julianlindenberg123istichbins.s4 ... SUCHEN.gif" alt="Suchen" border="0"></a>
<a target="main" href="-------------------"
onMouseOver="Bildwechsel(5,Highlight6)"
onMouseOut="Bildwechsel(5,Normal6)"><img src="http://julianlindenberg123istichbins.s4 ... LOGGEN.gif" alt="Ausloggen" border="0"></a>
<a target="main" href="---------"
onMouseOver="Bildwechsel(6,Highlight7)"
onMouseOut="Bildwechsel(6,Normal7)"><img src="http://julianlindenberg123istichbins.s4 ... teBuch.gif" alt="Geste Buch" border="0"></a>
</body>
</html>
Wenn sich aber statt einem Bild, der Text sich bei mouseover ändern soll was muss ich dann eingeben???
und im welchem verzeichnis finde ich die datei: common.php ??