frameset target

liunx

Guest
I am having difficulty targeting a frame within a frameset. The lower frameset named "bottom"<br />
will not target the upper frameset named "body". The target for the href in the lower frame<br />
src was set to target="body" however it was not targeting it but rather opening a new window.<br />
As such I have set all targets in the lower framse source to _parent which takes over the whole<br />
frameset. I would prefer it to target the upper frame src. Can anyone help?<br />
<br />
The website is titled <br />
<!-- w --><a class="postlink" href="http://www.classicdate.com">www.classicdate.com</a><!-- w --><br />
<br />
andy<!--content-->it is not working.....<br />
treied everything......<br />
This is wrong:<br />
<br />
<script language="javascript" TYPE="TEXT/JAVASCRIPT"><br />
<br />
<br />
<br />
window.name="topwin";<br />
<br />
function dojoin(){<br />
<br />
window.location = "http://banner.date.com/js/ClickCounter?trackid=000000010025&action=mail&site=register";<br />
<br />
}<br />
<br />
function popPas(){<br />
<br />
t = window.open("http://www.date.com/pas_page.html", "password",<br />
<br />
"height=318,width=510,resizable,scrollbars");<br />
<br />
}<br />
<br />
<br />
<br />
</script><br />
--------<br />
Delete this script in the body.html, and the links are working.<br />
This way target: <a href=http://www.htmlforums.com/archive/index.php/"privacy.html" target="main"><br />
;)<!--content-->hi andy,<br />
the top frame is actually called "main".<br />
the bottom links (advertising, legal, privacy etc.) opened in the top ("main") frame.<br />
try using quotes around the target name<br />
ie.<br />
target="main"<br />
<br />
also, most of the image links down the bottom are <br />
target="_blank", which will always open a new window....<br />
<br />
finally, try using this in the <head></head> section of your frameset page:<br />
<BASE TARGET="main"><br />
this will direct links into the main frame unless you target them somewhere else...<br />
<br />
hope this helps<br />
:)<!--content-->
 
Back
Top