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!

Displaying a Title in the Browser of another page in the Frameset 1

Status
Not open for further replies.

powahusr

Technical User
Jan 22, 2001
240
US
When working with frames, is it possible to display in the Browser, the “Title” of any one of the other Pages within the frameset, instead of the name of the title of the main frame itself?

If you can, how do I do it?

Thanks in advance
 
This may be possible using some JavaScript. I would post this in the JavaScript forum. Let us know what they say though! Mike Barone
FREE CGI/Perl Scripts & JavaScript Generators
Ace PopUp Generator Software - Totally FREE
 
Try creating a file called title.js with the contents of :-
parent.frames.document.title=document.title // change the frames title

Then set the document title in the header of the page as normal and call the external title.js script.

Cheers

John
 
hie
powahusr, i dont understand jkmitchell's post, so, i'll tell u how i wuld do that:
in the document that is in frame:
Top.title=top.frames.framename.title

sorry if it wont work, just a guess.. Victor
 
Dude,

Try something like this:

<head>
<script language=&quot;JavaScript&quot;>
self.title == <framename>.document.title;
</script>
Everyone has a right to my opinion.
E-mail me at cwcon@programmer.net
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top