Andi: Verschachtelte Funktionen

Beitrag lesen

Hola Folks,

folgendes Problem:

listText+="<tr onclick='AutoMove=true;map.SetCenterAndZoom(new VELatLong(" + columns[1] + "," + columns[2] + "), 14);ShowPin("" + pinID + "", "" + columns[1] + "", "" + columns[2] + "");' style='cursor:hand; background-color:" + bgColor + ";' onmouseover='this.style.backgroundColor="#AFCFE3";' onmouseout='this.style.backgroundColor="" + bgColor + "";'>"

Das ist die Zeile um die es geht.. ich muss um die Funktion "ShowPin" noch die Funktion window.setTimeout legen, dafür muss ich allerdings wieerum den Aufruf in Anführungszeichen packen.

Ich blick nicht mehr ganz durch, wie kann ich eine Dreitiefen Ebene mit Anführungszeichen benutzen?
Stufe 1 = listText ""
Stufe 2 = window.setTimeout ""
Stufe 3 = ShowPin ?? ??

Cheers,
Andi