
November 20th, 2000, 08:35 PM
|
|
Junior Member
|
|
Join Date: Nov 2000
Posts: 1
Time spent in forums: < 1 sec
Reputation Power: 0
|
|
|
I have a site which has 2 frames, a top frame and a bottom frame. When a user clicks on a HREF to a second related web sight (which is a sigle frame site) the HREF includes a target="_top". This works fine when the user goes straight to the first site and then follows the link to the second.
The problem is that there is now parent referring site which MUST have its frames display around the original sites at all times. When the user clicks on the link to go from the 2 frame site to the related single frame site, the target="_top" closes all the frames, including the parent referring site's frames. Is there anyway using javascript to just close just my site's frames and not the referring sites? This is probably a simple question for the pro's.
|