Frames Redirect

I have a page with two frames (Content and Body) in the content frame I am running a tree script that performs many statements like this:<a href="home2.htm">League History</a>
Ho do I redirect the opening of the href to the opposit frame?


pinkstonmAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

HocamCommented:
You need to set the 'target'.
<base target="body"> where it says body replace it with the name of the frame you want it to open into.

Or
<a href="home2.htm" taget="???">
League History</a>
--------------
Example
--------------
<html>
<head>
<title>Link page</title>
<base target="body">
</head>
<body>
<a href="1.html">1</a>
<a href="2.html">2</a>
<a href="3.html">3</a>
</body>
</html>

Let me know if this helps, by the way what version of FP are you using?

Good luck,
-Serkan
0
morbiusxCommented:
<a href="home2.htm" target="body">League History</a>
0
compmaniaCommented:
Make sure the target="body" is refering to the main page (in your frameset make sure the opposite is body or change the target="" into what it is.)
0
Get your problem seen by more experts

Be seen. Boost your question’s priority for more expert views and faster solutions

estraussCommented:
If you edit the hyperlink in FP (at least in '98) it gives you a target option. Select the correct target is as described above, but you can do this using the edit hyperlink function in FrontPage if you don't want to muck with the HTML.
You can also set the default target from Page Properties. This way you only have to set it once and don't need to set each one individually. If you use this be sure that you change the target back to self if you want it to open in the same frame!
Ethan
0
compmaniaCommented:
"muck with the HTML" HTML is the fun part, using FP is cheating. More people should learn it because it is so easy.
0
estraussCommented:
I generally agree, but not everyone wants to try to get all the "<" and such in the right places.
0
compmaniaCommented:
Well pinkstonm?
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Web Development Software

From novice to tech pro — start learning today.