Hi an ALLE,
mein Problem habe ich immer noch. Buttons werden nur von Netscape angezeigt und Explorer weigert sich! Wieso????
Code
<HTML>
<HEAD>
<script language="JavaScript">
<!--
function newImage(arg) {
if (document.images) {
rslt = new Image();
rslt.src = arg;
return rslt;
}
}
function changeImages() {
if (document.images && (preloadFlag == true)) {
for (var i=0; i<changeImages.arguments.length; i+=2) {
document[changeImages.arguments[i]].src = changeImages.arguments[i+1];
}
}
}
var preloadFlag = false;
function preloadImages() {
if (document.images) {
b1_over = newImage("homeover.jpg");
b2_over = newImage("werover.jpg");
b3_over = newImage("aktuellesover.gif");
b4_over = newImage("adressenover.gif");
b5_over = newImage("forschungover.gif");
b6_over = newImage("literaturover.gif");
b7_over = newImage("infoover.gif");
preloadFlag = true;
}
}
// -->
</script>
</HEAD>
<BODY ONLOAD="preloadImages();" bgcolor="#663366">
<P ONMOUSEOVER="changeImages('b1', 'homeover.jpg'); return true;"
ONMOUSEOUT="changeImages('b1', 'homebutton.jpg'); return true;">
[img]homebutton.jpg[/img]</P>
<P ONMOUSEOVER="changeImages('b2', 'werover.jpg'); return true;"
ONMOUSEOUT="changeImages('b2', 'werbutton.jpg'); return true;">
[img]werbutton.jpg[/img]</P>
<P ONMOUSEOVER="changeImages('b3', 'aktuellesover.jpg'); return true;"
ONMOUSEOUT="changeImages('b3', 'aktuellesbutton.jpg'); return true;">
[img]aktuellesbutton.jpg[/img]</P>
<P ONMOUSEOVER="changeImages('b4', 'adressenover.jpg'); return true;"
ONMOUSEOUT="changeImages('b4', 'adressenbutton.jpg'); return true;">
[img]adressenbutton.jpg[/img]</P>
<P ONMOUSEOVER="changeImages('b5', 'forschungover.jpg'); return true;"
ONMOUSEOUT="changeImages('b5', 'forschungbutton.jpg'); return true;">
[img]forschungbutton.jpg[/img]</P>
<P ONMOUSEOVER="changeImages('b6', 'literaturover.jpg'); return true;"
ONMOUSEOUT="changeImages('b6', 'literaturbutton.jpg'); return true;">
[img]literaturbutton.jpg[/img]</P>
<P ONMOUSEOVER="changeImages('b7', 'infoover.jpg'); return true;"
ONMOUSEOUT="changeImages('b7', 'infobutton.jpg'); return true;">
[img]infobutton.jpg[/img]</P>
</BODY>
</HTML>
Alles anzeigen
Liegt es vielleicht daran, dass ich die Buttons von buttongenerator.com hab??