Heike: der richtige Aufruf für einen parent

Beitrag lesen

Hallo,
ich habe einen Link, der einen iframe über DIV-Container aufruft. Da dieser DIV-Container dynamisch alle meinen Links zugeordnet werden soll, ist es notwendig, die Inhalte des aufgerufenen iframes dynamisch zu wechseln. Ich habe versucht, mit (this).parent.href die src aus dem A-Tag aufzurufen, aber das funktioniert nicht. Wie muß der Aufruf für die src lauten? Hier der Ausschnitt mit dem href und dem DIV:

<td style="border:1px solid #010101;" width="159"><p class="tablebodytext"><strong class="blau-fett"><a id="h6594" class="popuponhovertemplate" title="AV" href="6224.htm">AV</a></strong></p>
<div id="window" onclick=window["hasFocus"]=true>
<div id="windowTop">
    <div id="windowTopContent" onclick=window["hasFocus"]=true ></div>
<img src="images/window_min.jpg" id="windowMin" />
    <img src="images/window_max.jpg" id="windowMax" />
    <img src="images/window_close.jpg" id="windowClose" />
</div>
<div id="windowBottom" onclick=window["hasFocus"]=true><div id="windowBottomContent">&nbsp;</div></div>
<div id="windowContent" style="overflow:auto">
  <iframe onclick="if (window.parent && window.parent.autoIframe) {window.parent.autoIframe('iframe');}" height="900px" width="900px" src="javascript:window.parent.href" value="this.parent.href" align="top" frameborder="0" marginwidth="5px" marginheight="5px" onclick=window["hasFocus"]=true class="bodytext"></iframe>
  </div>
<img src="images/window_resize.gif" id="windowResize" />
</div>
</td>
Kann mir jemand bitte helfen?
Gruß
Heike