daniel: text in layer für ns 6

Beitrag lesen

hallo ,habe ein problem mit ns 6,
möchte onmouseover den vordefinierten text in einen layer schreiben,
das klappt aber nicht beim neuen netscape, wer hat eine loesung?
----------------------------------------------------------------
tipp=new Array();
tipp[0]=" ";//default text that appears on mouse out
tipp[1]="KEINE EINTRÄGE";
tipp[2]="text firma nummer zwei, text texter texterei";
tipp[3]="diese firma ist mir unbekannt, aber klingt nicht schlecht ";
tipp[4]="hier gibt‚s gute aktienberatung ";
tipp[5]="firma fuenf , ebenfalls empfehlenswert ";
tipp[6]="firma sechst hat folgende vorzüge";

function notice(nummer) {
                   eval(ausgabe);
                   eval(ende);
                   }
if (document.layers){//NC
    ausgabe = "document.text2.document.write('<p style=" font-family: Arial; font-size:9pt ; text-align: left; margin-left: 2pt; margin-right: 0pt;">'+tipp[nummer]+'</p>')";
       ende = "document.text2.document.close()";
                   }
if (document.all){//IE
                   ausgabe = "text2.innerText=tipp[nummer]";
                   ende = "";
                   }
-----------------------------------------------------------------