Frank Fuqua
05-29-2004, 11:58 PM
I am trying to program a single link click to load a new page into each of two frames. Half of it works, but the other half does not. My code is:
<A HREF="javascript:location='Modified_Contents.html'
;parent.mainpage.location=’Bracelets.html'
;parent.contents.location=’Modified_Contents.html'"> Bracelets</A>
One frame is labeled “Contents”, and the other is labeled “Mainpage”.
The table of contents which initially opens in the “Contents” frame includes a “Bracelets” link. When this link is activated, the Bracelets page is to appear in the “Mainpage” frame and, simultaneously, a new (and somewhat different) table of contents is to be loaded into the Contents frame.
When the Bracelets link is clicked, the new table of contents loads fine, but the Bracelets page does not load.
It is probably obvious that I have no idea what I am doing. Any help in solving this misfire will be appreciated.
Thanks in advance,
Frank
<A HREF="javascript:location='Modified_Contents.html'
;parent.mainpage.location=’Bracelets.html'
;parent.contents.location=’Modified_Contents.html'"> Bracelets</A>
One frame is labeled “Contents”, and the other is labeled “Mainpage”.
The table of contents which initially opens in the “Contents” frame includes a “Bracelets” link. When this link is activated, the Bracelets page is to appear in the “Mainpage” frame and, simultaneously, a new (and somewhat different) table of contents is to be loaded into the Contents frame.
When the Bracelets link is clicked, the new table of contents loads fine, but the Bracelets page does not load.
It is probably obvious that I have no idea what I am doing. Any help in solving this misfire will be appreciated.
Thanks in advance,
Frank