Also ich hab nach langem suchen gefunden was erweitert werden muss:
Hier ist der Code aus der Javascript.js:
Nicht erschrecken. Hihi.
/** Jeder Link wird in der Statusbar formatiert *******/
/** Start *******/
var AllA = document.getElementsByTagName("a");
for (var i=0; i < AllA.length; i++) {
var boolcheck = true;
if(AllA[i].href == "" && AllA[i].name == "" && currentSiteName != "I\_Glossar.htm")
boolcheck = makeLink(AllA[i]);
var Link = decodeURI(AllA[i].href);
var LastIndex = Link.lastIndexOf("/");
var HTMLAdress = Link.slice(LastIndex).slice(1);
var HTMLAdressName = AllA[i].innerText != undefined ? AllA[i].innerText : AllA[i].textContent;
var currentSiteLink = decodeURI(window.location.href).split("#")[0];
var Text;
var currentSiteName = currentSiteLink.slice(currentSiteLink.lastIndexOf("/")).slice(1);
if(HTMLAdressName!="Input" && HTMLAdressName!="Output" && boolcheck) {
if(HTMLAdressName.length <=0){
if(Link.search(/SelectPhase/) != -1) {
var LinkSplit = Link.split("'");
Text = "Markieren: " + LinkSplit[1] ;
} else {
if(typeof Phasen[HTMLAdress.slice(7,8)] == "string") {
Text = "GoTo: " + Phasen[HTMLAdress.slice(7,8)] + " ( " + HTMLAdress + " )";
} else {
if(AllA[i].getElementsByTagName("img")[0])
Text = "GoTo: " + AllA[i].getElementsByTagName("img")[0].alt + " ( " + HTMLAdress + " )";
}
}
} else if((Link.search(currentSiteLink)!=-1) || HTMLAdress.length <= 0){
if(HTMLAdressName < 10)
Text = "GoTo: DR " + HTMLAdressName + " ( " + HTMLAdress + " )";
else
Text = "GoTo: " + HTMLAdressName;
} else {
if(HTMLAdressName < 10)
Text = "GoTo: DR " + HTMLAdressName + " ( " + HTMLAdress + " )";
else
Text = "GoTo: " + HTMLAdressName + " ( " + HTMLAdress + " )";
}
if(AllA[i].name.length > 0){
Text = "GoTo: " + AllA[i].name;
}
AllA[i].name = Text;
AllA[i].onmouseover = function(e){
return statusbarcheck(this.name);
}
//AllA[i].outerHTML = "<A onmouseover=\"return statusbarcheck('" + Text + "')\" " + AllA[i].outerHTML.slice(2);
}
}
/\*\* Ende \*\*\*\*\*\*\*/
Hier müsste ich jetzt quasi anstelle von getElementsByTagName("a"); alles auf "area" referieren wenn ich mich nicht täusche oder?
LG