On the page in the top frame:
Code:
<script type="text/javascript">
window.bottomFrameClicked = function() {
alert("Clicked!");
}
On the page in the bottom frame:
Code:
<body onclick="parent.top.bottomFrameClicked();">
However, from the look of the code you provided, you don't have access to the body of the second page. You might be able to do something like this:
Code:
<frame name="bottom" noresize="true" scrolling="yes" src="http://www.SiteThatIWantToKnowIfClickedOn.com" onclick="top.bottomFrameClicked();" />
However, I don't know if it'll work - it may be overridden by the body of the second page.
Bookmarks