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 Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

targeting appropriate frame

Status
Not open for further replies.

bugg

Programmer
Joined
Jun 20, 2001
Messages
62
Location
US
I am working on an installation where a user can navigate the internet freely but a set of frames surrounding the primary navigable frame remain constant, it seems to work, but from time to time the page linked to breaks out and overrides my frameset. What I'm wondering is whether or not there is some javascript I can write that when a link (to site A, for instance) is clicked within my frameset that reloads my frameset with site A inserted within a target frame? I have read somewhere about an html command one can insert within the header of a html page that indicates a "base target". Does this do what I want? It seems to me that a script ought to be able to recognize when a link is clicked, and perhaps instead of going there it might be able to take the address as a variable and load that into the specified frame, but I don't know, it is kinda important to resolve this issue as the project relies on the primary frameset existing.
thanks in advance
bugg
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top