Solved

Simple frame question

Posted on 2002-07-14
6
158 Views
Last Modified: 2010-04-09
Hi,

I have a few frames on my website.

Top
Left (menu)
Main (content area)

my index page's title is always displayed on the title bar, regardless of which menu item and page is displayed.  Can I programmatically change the titlebar of IE when I click a menu item?

thanks,

knoxxx
0
Comment
Question by:JohnnyKnoxville
6 Comments
 

Accepted Solution

by:
RichBisset earned 50 total points
ID: 7153766
Put the following code in header of the menu item pages you are loading within the frameset. it will override the title defined by the frameset's parent:


<script language=javascript>
parent.document.title = "Title for Menu Item 1";
</script>

Rich.
0
 
LVL 12

Expert Comment

by:lexxwern
ID: 7154695
btw. frames are bad, dont use them unless you have to.. .
0
 
LVL 53

Expert Comment

by:COBOLdinosaur
ID: 7240661
This question has been abandoned. I will make a recommendation to the
moderators on its resolution in a week or two. I appreciate any comments
that would help me to make a recommendation.
<note>
   In the absence of responses, I may recommend DELETE unless it is clear
   to me that it has value as a PAQ.  Silence = you don't care
</note>

Cd&

0
Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

 
LVL 12

Expert Comment

by:lexxwern
ID: 7241357
points to RichBisset
0
 
LVL 53

Expert Comment

by:COBOLdinosaur
ID: 7270972
It is time to clean this abandoned question up.  

I am putting it on a clean up list for CS.

<recommendation>
points to RichBisset

</recommendation>

If anyone participating in the Q disagrees with the recommendation,
please leave a comment for the mods.

Cd&
0
 
LVL 5

Expert Comment

by:Netminder
ID: 7297710
Per recommendation, force-accepted.

Netminder
CS Moderator
0

Featured Post

Free Tool: Postgres Monitoring System

A PHP and Perl based system to collect and display usage statistics from PostgreSQL databases.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
align Linkedin sign to the right page 5 55
Javascript_Set_dropdown_value 7 40
multiple selects 23 48
simple html dom php accessing table/cell  values 4 21
Building a website can seem like a daunting task to the uninitiated but it really only requires knowledge of two basic languages: HTML and CSS.
This article discusses four methods for overlaying images in a container on a web page
In this tutorial viewers will learn how add a scalable full-width header using CSS3. Create a new HTML document with an internal stylesheet. Set a tiled background.:  Create a new div and name it Header. Position it with position:absolute at the top…
In this tutorial viewers will learn how to style transparent/translucent elements using alpha transparency in CSS Start with a normal styled element, such as a div.: Define its "background-color" property as "rgba (255, 255, 255, .5): The numbers in…

860 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question