Solved

Simple frame question

Posted on 2002-07-14
6
155 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
6 Surprising Benefits of Threat Intelligence

All sorts of threat intelligence is available on the web. Intelligence you can learn from, and use to anticipate and prepare for future attacks.

 
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

Why You Should Analyze Threat Actor TTPs

After years of analyzing threat actor behavior, it’s become clear that at any given time there are specific tactics, techniques, and procedures (TTPs) that are particularly prevalent. By analyzing and understanding these TTPs, you can dramatically enhance your security program.

Join & Write a Comment

This is a PowerShell web interface I use to manage some task as a network administrator. Clicking an action button on the left frame will display a form in the middle frame to input some data in textboxes, process this data in PowerShell and display…
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.
In this Micro Tutorial viewers will learn how to create navigation buttons that change on rollover, using CSS (Continuation of the CSS Image Sprite tutorial) Create a parent ID for all the list items       - Specify position: absolute and display: block…
In this tutorial viewers will learn how to position overlapping items using z-index in CSS. They will also learn the restrictions on the z-index property.  Create a new HTML document with an internal stylesheet.: Create a div in CSS and name it Red.…

743 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

Need Help in Real-Time?

Connect with top rated Experts

9 Experts available now in Live!

Get 1:1 Help Now