Hello,
wie kann ich herausfinden welche src in einem frame ist?
Theoretisch? Ganz einfach:
window.frames[0].location.href
^^^^^^^ oder top, oder parent, oder wie auch immer du an das Dokument rankommst, in dem das Frameset definiert ist.
Praktisch: jetzt wirds spannend: Kommen die Frameinhalte und das Script, das die URL prüfen soll, vom selben Server? Wenn nein, dann wirst du an der same-origin-policy scheitern, die dir den Zugriff auf diese Information versagt; und nein, es gibt nichts, was du dagegen tun kannst.
MfG
Rouven
--
-------------------
When the only tool you've got is a hammer, all problems start to look like nails.
-------------------
When the only tool you've got is a hammer, all problems start to look like nails.