IT Community - Software Programming, Web Development and Technical Support

How do I change another window's title, that is, the content of title bar at the top

This is a discussion on How do I change another window's title, that is, the content of title bar at the top within the HTML, CSS and Javascript Coding Techniques forums, part of the Web Development category; Hi all....... How do I change another window's title, that is, the content of title bar at the top ...


Go Back   IT Community - Software Programming, Web Development and Technical Support > Web Development > HTML, CSS and Javascript Coding Techniques

Register FAQ Members List Calendar Mark Forums Read
  #1 (permalink)  
Old 09-13-2007, 02:02 AM
itbarota itbarota is offline
D-Web Architect
 
Join Date: Jun 2007
Posts: 547
itbarota is on a distinguished road
Default How do I change another window's title, that is, the content of title bar at the top

Hi all.......

How do I change another window's title, that is, the content of title bar at the top of the window?

Thanks & Regards
itbarota....
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 09-13-2007, 03:02 AM
Pvinothkumar Pvinothkumar is offline
D-Web Analyst
 
Join Date: Sep 2007
Posts: 237
Pvinothkumar is on a distinguished road
Default Re: How do I change another window's title, that is, the content of title bar at the

Hi all.....

To change another window's title, your script can write to that window a string beginning with the following code:

'<html><head><title>Your new title here</title></head>'

Note that rewriting the other window's content will erase everything previously displayed in that window. Therefore, if you want the window's content to stay, then, after changing the window title, you'll have to write the old content to that window once again. (If your script does not know what the old content was, you'd rather not change the window title either!)

For more information on writing script-generated content to another window, see Writing to a Window.
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
how can i disable the title bar in JInternalFrame saravanan Java Programming 7 03-28-2008 06:33 AM
How to give bug title & bug description fo ODD division? devarajan.v Quality Engineering and Methodologies 1 07-27-2007 12:14 AM
How to Dynamically Setting the Page's Title in ASP.NET 2.0? Archer C# Programming 1 07-24-2007 12:35 AM
Title Tag Optimization Tips vadivelanvaidyanathan Search Engine Optimization 0 03-30-2007 02:58 AM
SEO Optimization - Page Title drecko Search Engine Optimization 2 02-19-2007 01:28 AM


All times are GMT -7. The time now is 12:52 PM.


Copyright ©2004 - 2007, DiscussWeb. All Rights Reserved.

SEO by vBSEO 3.0.0