NCA
01-21-2006, 05:48 PM
Would it be possible to have javascript detect if anything is clicked within a frame in a 2 frame window?
Such as this example:
Have a window open that is divided into 2 frames, a top and bottom. Would it be possible for the top frame to contain a script to know if anything has been clicked within the bottom frame's contents?
or I could have have a page open a new window and report back to the first page if anything has been clicked within the new window?
I am running a page exchange and would like to implement the feature of knowing if a member actually clicks on any links within the page that is being displayed.
Any thoughts are GREATLY appreciated. :)
Here is my example frame window:
<html>
<head><title>Site</title></head>
<frameset rows="45,*" framespacing="0" border="0" frameborder="0">
<frame name="top" scrolling="no" noresize src="topframe.php">
<frame name="bottom" noresize SCROLLING="yes" src="http://www.SiteThatIWantToKnowIfClickedOn.com">
<noframes>
<body><p>This page uses frames and your browser does not support them.</p></body>
</noframes>
</frameset>
</html>
Such as this example:
Have a window open that is divided into 2 frames, a top and bottom. Would it be possible for the top frame to contain a script to know if anything has been clicked within the bottom frame's contents?
or I could have have a page open a new window and report back to the first page if anything has been clicked within the new window?
I am running a page exchange and would like to implement the feature of knowing if a member actually clicks on any links within the page that is being displayed.
Any thoughts are GREATLY appreciated. :)
Here is my example frame window:
<html>
<head><title>Site</title></head>
<frameset rows="45,*" framespacing="0" border="0" frameborder="0">
<frame name="top" scrolling="no" noresize src="topframe.php">
<frame name="bottom" noresize SCROLLING="yes" src="http://www.SiteThatIWantToKnowIfClickedOn.com">
<noframes>
<body><p>This page uses frames and your browser does not support them.</p></body>
</noframes>
</frameset>
</html>