|
-
Nov 29th, 2000, 08:57 AM
#1
Thread Starter
Junior Member
Dear Reader,
I have an ASP page which is divided into two frames vertically. The left frame name is "left" and the right frame name is "right".
In the "left" frame i have a .htm file which contains a hyperlink to another .htm file named "newfile.htm". This "newfile.htm" is again a file which is subdivided into two frames. The problem i am facing is that when i click on the link in the link in the "left" frame the "newfile.htm" opens in the "left" frame itself. What i want is that
1) The "newfile.htm" should occupy the whole window.
2) Also what if i want to load the "newfile.htm" file in a new window.
Any Code would be of great help.
Thanks for reading.
-
Nov 29th, 2000, 09:43 AM
#2
Sure thing.
1. In order for you to open a link in the right frame, you have to specify the target attribute of the <A tag, i.e:
<A HREF=MyFile.htm target=right>Link to my file</A>
2. If you want to open your link in a new window, then again you'll have to specify a target for it:
<A HREF=MyFile.htm target=_new>Link to my file</A>
-
Nov 30th, 2000, 12:54 AM
#3
Thread Starter
Junior Member
Help?
The problem is not that i want to open the page in the right window but the new page called should occupy the whole window i.e. replace the existing window containing the frames.
-
Nov 30th, 2000, 06:20 AM
#4
Try one of these:
<A HREF=MyFile.htm target=_Top>Link to my file</A>
<A HREF=MyFile.htm target=_Self>Link to my file</A>
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|