Nimm jQuery - damit ist alles viel einfacher.
Und dann mit der ready() Function arbeiten statt onload.
Hi,
<a onload="linkgeben('rechts','photo_stilllife_5.htm')" href="photo_stilllife_5.htm" class="right"></a>
>
> > Fazit: onload funktioniert irgendwie nicht.
>
> Nein, nicht auf einem A-Element.
> Entweder als HTML-Attribut am body, oder direkt im Script per Zuweisung der Funktionsreferenz an window.onload.
>
>
> MfG ChrisB
>
>