Ich hab hier eine Homepage mit nem kleinen JavaScript Menü ( nicht von mir erstellt
). Leider funktioniert das Menü nur beim Internet Explorer. Wisst ihr zufällig warum bzw. was ich machen könnte das es auch beim FF klappt?
Code:
var content=new Array()
/*You may change the content listed below, keep the six links or as many as you need.*/
content[0]='<IMG height=18 src="bilder/coin4.gif" width=126 border=0><A href="uberuns.htm"><IMG height=18 src="bilder/menu0.gif" width=189 border=0></A><br><img src="bilder/photo4.jpg" height="262" width="315">'
content[1]='<IMG height=18 src="bilder/coin3.gif" width=126 border=0><A href="uberuns.htm"><IMG height=18 src="bilder/menu0.gif" width=189 border=0></A><br><img src="bilder/photo3.jpg" height="262" width="315">'
content[2]='<IMG height=18 src="bilder/coin2.gif" width=126 border=0><A href="uberuns.htm"><IMG height=18 src="bilder/menu0.gif" width=189 border=0></A><br><img src="bilder/photo2.jpg" height="262" width="315">'
content[3]='<IMG height=18 src="bilder/coin6.gif" width=126 border=0><A href="uberuns.htm"><IMG height=18 src="bilder/menu0.gif" width=189 border=0></A><br><img src="bilder/photo6.jpg" height="262" width="315">'
content[4]='<IMG height=18 src="bilder/coin.gif" width=126 border=0><A href="uberuns.htm"><IMG height=18 src="bilder/menu0.gif" width=189 border=0></A><br><img src="bilder/photo.jpg" height="262" width="315">'
content[5]='<table bgcolor="cfc363" width="129" border="1"><tr><td class="menu"><a href="sites.htm">Sand- & Kieswerke</a></td></tr><tr><td class="menu"><a href="erdbau.htm">Erdbau</a></td></tr><tr><td class="menu"><a href="deponie.htm">Deponie</a></td></tr></table></a><br>'
content[6]='<table bgcolor="cfc363" width="200" border="1"><tr><td class="menu"><a href="produkte.htm">Produkte</a></td></tr><tr><td class="menu"><a href="standorte.htm">Werk- und Grubenstandorte</a></td></tr></table></a><br>'
function regenerate(){
window.location.reload()
}
function regenerate2(){
if (document.layers)
setTimeout("window.onresize=regenerate",450)
}
function changetext(whichcontent){
if (document.all)
descriptions.innerHTML='<font face="Verdana"><small>'+whichcontent+'<font></small>'
else if (document.layers){
document.d1.document.d2.document.write('<font face="Verdana"><small>'+whichcontent+'</small></font>')
document.d1.document.d2.document.close()
}
}
function changemenu(whichcontent){
document.all.descriptions2.style.visibility="visible";
if (document.all)
descriptions2.innerHTML='<font face="Verdana"><small>'+whichcontent+'<font></small>'
else if (document.layers){
document.d1.document.d2.document.write('<font face="Verdana"><small>'+whichcontent+'</small></font>')
document.d1.document.d2.document.close()
}
}
function cache()
{document.all.descriptions2.style.visibility="hidden";}
function montre()
{document.all.descriptions2.style.visibility="visible";}