473,785 Members | 2,249 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Setting Window Title On New Window

Why will the following code not change the window title of the new window?

window.open "Default.ht m" ,"YO"
Nov 17 '05 #1
4 6264
Is "YO" not being put in the title of the browswer. It should be with the
IE setting title name appended to it.

Unless there is a broswer setting that is preventing it, syntaxtically that
is correct.

bill

"Daniel Morrissey" <da**********@c fl.rr.com> wrote in message
news:OP******** *****@TK2MSFTNG P10.phx.gbl...
Why will the following code not change the window title of the new window?

window.open "Default.ht m" ,"YO"

Nov 17 '05 #2
Is "YO" not being put in the title of the browswer. It should be with the
IE setting title name appended to it.

Unless there is a broswer setting that is preventing it, syntaxtically that
is correct.

bill

"Daniel Morrissey" <da**********@c fl.rr.com> wrote in message
news:OP******** *****@TK2MSFTNG P10.phx.gbl...
Why will the following code not change the window title of the new window?

window.open "Default.ht m" ,"YO"

Nov 17 '05 #3
No, "YO" is not showing up in the browser title. Also, if the variable that
I pass to the title argument of the open method contains a space, I get an
error in the browser's status panel.

"William F. Robertson, Jr." <wf*********@kp mg.com> wrote in message
news:Ot******** ******@TK2MSFTN GP10.phx.gbl...
Is "YO" not being put in the title of the browswer. It should be with the
IE setting title name appended to it.

Unless there is a broswer setting that is preventing it, syntaxtically that is correct.

bill

"Daniel Morrissey" <da**********@c fl.rr.com> wrote in message
news:OP******** *****@TK2MSFTNG P10.phx.gbl...
Why will the following code not change the window title of the new window?
window.open "Default.ht m" ,"YO"


Nov 17 '05 #4
Hi

This is the name of the window not the title
<title>MyWindow </title>
So you have to set the title....

Probably you can do this in the child
document.write( "<title>" + window.name + "</title>");

--
Best Regards
Vidar Petursson
=============== ===============
Microsoft Internet Client & Controls MVP
=============== ===============
"Daniel Morrissey" <da**********@c fl.rr.com> wrote in message
news:Oz******** ******@TK2MSFTN GP12.phx.gbl...
No, "YO" is not showing up in the browser title. Also, if the variable that I pass to the title argument of the open method contains a space, I get an
error in the browser's status panel.

"William F. Robertson, Jr." <wf*********@kp mg.com> wrote in message
news:Ot******** ******@TK2MSFTN GP10.phx.gbl...
Is "YO" not being put in the title of the browswer. It should be with the
IE setting title name appended to it.

Unless there is a broswer setting that is preventing it, syntaxtically

that
is correct.

bill

"Daniel Morrissey" <da**********@c fl.rr.com> wrote in message
news:OP******** *****@TK2MSFTNG P10.phx.gbl...
Why will the following code not change the window title of the new

window?
window.open "Default.ht m" ,"YO"



Nov 17 '05 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

9
10988
by: runes | last post by:
Hi, I'm trying to set the title of the console window (CMD.EXE) in Windows. I want it set to the basename of the current directory and it should stay after the script has finished. Now, the console title is easily set with the DOS-command 'title NewTitle'. But I'd like to do this from a Python script. os.system('title NewTitle') will not do, because it spawns a new process.
2
11129
by: Hasan Ammar | last post by:
Is it possible to set up hotkeys using onkeypress? I know it can be done with the usual alphanumeric keys, but what about function keys? or using ctrl/alt combinations? Does anybody have a tutorial/guide?
3
8133
by: Russell | last post by:
I have a quirky issue that I believe involves timing and only 2 hairs left to pull. I have a modal dialog that is an IFrame. The IFrame contains another window - which contains the appropriate title. I am trying to change the title of the IFrame window to be that of the contained window title. If I uncomment the alert statement below - the title change works. Comment out the alert - and - no title change.
7
1435
by: danny | last post by:
Hello everyone, How can I go about setting a number of variables using a table which will have the variable names to be declared in one table. The data to be assigned will reside in another. As an example, I know this assignment works: var nam0 = tab var nam1 = tab var nam2 = tab ..
21
3991
by: Michael Bierman | last post by:
Please forgive the simplicy of this question. I have the following code which attempts to determine the color of some text and set other text to match that color. It works fine in Firefox, but does nothing in IE. I'd be greatful for any assistance. Also, if I will have problems the code on Opera or Safari, I'd appreciate any pointers--I don't have a Mac to test Safari. THanks very much, Michael
14
11097
by: D. Alvarado | last post by:
Hello, I am trying to open a window containing an image and I would like the image to be flush against the window -- i.e. have no padding or border. Can I make this happen with a single call to a window.open function? I would prefer not to create a separate HTML page. So far all I have is the basic var cwin = window.open('images/KJV-THANKS.gif', 'Thanks', 'width=243,height=420,'); cwin.focus();
0
986
by: Daniel Morrissey | last post by:
Why will the following code not change the window title of the new window? window.open "Default.htm" ,"YO"
6
4906
by: vijai.kalyan | last post by:
Hello, I wrote a trivial program to set the console title in a console application. Here is the code:- namespace myns { class SetTitle { static void Main ( string args )
3
4335
by: nitinmukesh123 | last post by:
Hi I am facing a problem with setting the modal window title.. source of 1.html <html> <head> <script language="javascript"> function openNewWin() { window.showModalDialog("2.html", self, "status: Yes;dialogWidth:500px;dialogHeight:400px"); }
0
9485
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10356
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10161
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
9958
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
8986
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7506
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6743
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
1
4058
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
3
2890
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.