Hi,
I have a page with this frameset:
<frameset cols="185,800*" frameborder="YES" border="2"
framespacing="2" rows="*" bordercolor="#FF0000">
<frame name="leftFrame" noresize src="SpagnoloLeftFrame.html">
<frame name="mainFrame" src="SpagnoloIntro.html">
in SpagnoloIntro.html I have put this javascript code (in the body):
<h5>
<center>
<script language="Javascript">
name = 'xxxx';
domain = 'mysite.com;
nuovo=document.open();
nuovo.document.write('<a href="MailTo:' + name + '@' + domain
+ '">' + name + '@' + domain +'</a>');
nuovo.document.close();
</script>
</center></h5>
'cos I don't want spammers to get my e-mail address.
The problem is, when I click on a link in the "leftFrame" frame, a new
window is open with the content of the link, instead of going to
target="mainFrame".
If I do not put the javascript code, the rightFrame gets the content
of the leftFrame link, exactly as I wish.
Could you please tell me why? I really can't come to a solution which
is driving me crazy.
Thanks!
John.