link to frame

liunx

Guest
I am trying to figure out how to link to my website from a place where it is referenced and show my frameset (index.htm) with a certain file (file.htm) in the main frame, other than the default. Any suggestions would be greatly appreciated!<!--content-->Add target="NameOfYourFrame" in the link code.<!--content-->The place I am linking from is someone else's website, not within my own code. If the link is 'www.file.htm' it will open up only that file. If I put 'www.index.htm' as the link it will open the frameset but not with 'file.htm' in the main frame. Is there something I need to add to the link of 'www.index.htm' to get it to show the main frame with the file 'file.htm' in it?<!--content-->can you post your index.htm code<!--content--><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN" "http://www.w3.org/TR/html4/frameset.dtd"><br />
<html><br />
<head><br />
<title>Albany, NY Department of Public Safety</title><br />
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"><br />
<script language="JavaScript" type="text/JavaScript"><br />
<!--<br />
function MM_reloadPage(init) { //reloads the window if Nav4 resized<br />
if (init==true) with (navigator) {if ((appName=="Netscape")&&(parseInt(appVersion)==4)) {<br />
document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; onresize=MM_reloadPage; }}<br />
else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH) location.reload();<br />
}<br />
MM_reloadPage(true);<br />
//--><br />
</script><br />
</head><br />
<br />
<frameset rows="160,*" cols="*" frameborder="NO" border="0" framespacing="0"><br />
<frameset rows="*" cols="180,*" framespacing="0" frameborder="NO" border="0"><br />
<frame src=http://www.webdeveloper.com/forum/archive/index.php/"corner.htm" name="topFrame1" scrolling="NO" noresize ><br />
<frame src=http://www.webdeveloper.com/forum/archive/index.php/"top.htm" name="topFrame" scrolling="NO" noresize ><br />
</frameset><br />
<frameset rows="*" cols="180,*" framespacing="0" frameborder="NO" border="0"><br />
<frame src=http://www.webdeveloper.com/forum/archive/index.php/"left.htm" name="leftFrame" scrolling="yes" noresize><br />
<frame src=http://www.webdeveloper.com/forum/archive/index.php/"main.htm" name="mainFrame"><br />
</frameset><br />
</frameset><br />
<noframes><br />
<body leftmargin="0" topmargin="0" marginwidth="0" marginheight="0"><br />
</body></noframes><br />
</html><!--content-->
 
Back
Top