Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

link from one frameset to new frameset passing variable string

Status
Not open for further replies.

gal

Programmer
Mar 5, 2002
25
US
A frameset page has three (hierarchial frameset) frames; each containing a separate page--Banner, Sidebar and Content. Upon clicking on an image map link on the Content page, I want appropriate new pages to replace all the original pages in the frames, and display data based on passed variables which will become session variables. Two pages are ASP pages (which use variable strings passed in the link)--the new Banner will display the Office Title; the Sidebar will display a list of employees in that Office. The third (Content) page will just be an html page.
I chose to make separate frameset pages because multiple pages are being replaced with one link. The session variables were developed to be passed to the new frameset pages.
I want to replace the old frameset page with a new frameset in the same format. When I click on a link, a new, smaller window opens on top of the first window. When I open a link from the second window, the third level opens into the original window. How can I ensure only one window is open? Thank You!
 
Probably you need to use in your links in content.html file
target="_top". This will replace all in the current window.
<a href=&quot;changeframeset.html&quot; target=&quot;_top&quot;>Click here to go to other office</a>
 
Thank you for your quick response! Since I am using an image map, the type of link you listed will not work. However, what did work was the following line between the <head> and </head> tags of the same page:
<base target=&quot;_top&quot;>
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top