My Link is not working with multiple frames

liunx

Guest
I am inexperienced. I am using FrontPage 2002 on WinXPPro. On to the question:<br />
<br />
I found a solution to a problem I had, where I want a single link to load two frames. My page has three frames, and the links are in the left panel. I let FrontPage name my frames rtop, rbottom, and left.<br />
<br />
My link reads as follows:<br />
<br />
<p><span><br />
<a target="rbottom" href=http://www.htmlforums.com/archive/index.php/"Page2.htm" onClick="parent.frames[1].location.href='Page2Top.htm';">GotoPage2</a></span></p><br />
<br />
Result:<br />
rbottom: loads Page1 successfully.<br />
<br />
rTop: Page cannot be displayed.<br />
<br />
All pages are located in a single folder in the root of c:\. None of my actual page names have spaces, nor does the folder storing them.<br />
<br />
Why does the 2nd frame not load?<!--content-->Try this:<br />
<A href=http://www.htmlforums.com/archive/index.php/"#"<br />
onClick="document.frames.frame1name.location='http://whatever.com';<br />
document.frames.frame2name.location='http://whateverElse.com';">click<br />
here</a><br />
<br />
And using:<br />
parent.frames[1].location<br />
remember to count.....<br />
...... your frameset:<br />
firts frame is 0<br />
second is 1<br />
third = 2<br />
<br />
:rocker:<!--content-->:bash: You will think this is totally insane. But my original code works in Internet Explorer, but NOT the Preview pane of Front Page 2002. :bash: <br />
<br />
I am so angry right now that I'm leaving my desk for a long walk.<br />
<br />
Thanks for your help.<!--content-->
 
Back
Top