Load two frame pages from one hyperlink

  • Thread starter Thread starter jon spivey
  • Start date Start date
J

jon spivey

Hi Paul,
you'd need a little script -
<a href="javascript:;" onclick="parent.Frame1.location.href='page1.htm';
parent.Frame2.location.href='page2.htm'; return false;">Link</a>
 
I have a frameset built on the "Banner and Contents" template. I have
an initial contents page with Content-Topic hyperlinks, like SBS2003
Stuff, ISA Stuff, ... When I click on one of these topic hyperlinks,
it brings up another content page with a category control, which lists
all the pages that have been categorized for that topic. When I click
on one of those hyperlinks, it loads the page in the main window. I
want to be able to load a appropriate page in the main window when I
bring up a category page. How do I load two pages with one hyperlink
button?

Hollis D. Paul [MVP - Outlook] Using FP2003 on a Win2K workstation
Using Virtual Access 4.52 build 277 (32-bit), Windows 2000 build 2195
Mukilteo, WA USA
http://search.support.microsoft.com/kb/c.asp?FR=0&SD=TECH&LN=EN-US
 
you'd need a little script -
<a href="javascript:;" onclick="parent.Frame1.location.href='page1.htm';
parent.Frame2.location.href='page2.htm'; return false;">Link</a>
I don't know enough javascript to map this into the available variables.
The VBScript is using target= with the choices of "_self","_contents",
"_parent", or "_blank". But
onclick="'_parent'.'_self'.location.href='0frame_left5'; ...>SBS Stuff</a>
doesn't seem to compile, and doesn't even set "SBS Stuff" as a hyperlink.

Is this set up as code in the root of the web?

Hollis D. Paul [MVP - Outlook] Using FP2000 on a Win2K workstation
Using Virtual Access 4.52 build 277 (32-bit), Windows 2000 build 2195
Mukilteo, WA USA
http://search.support.microsoft.com/kb/c.asp?FR=0&SD=TECH&LN=EN-US
 
Back
Top