473,404 Members | 2,114 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,404 software developers and data experts.

Setting Window Title On New Window

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

window.open "Default.htm" ,"YO"
Nov 17 '05 #1
4 6226
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**********@cfl.rr.com> wrote in message
news:OP*************@TK2MSFTNGP10.phx.gbl...
Why will the following code not change the window title of the new window?

window.open "Default.htm" ,"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**********@cfl.rr.com> wrote in message
news:OP*************@TK2MSFTNGP10.phx.gbl...
Why will the following code not change the window title of the new window?

window.open "Default.htm" ,"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*********@kpmg.com> wrote in message
news:Ot**************@TK2MSFTNGP10.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**********@cfl.rr.com> wrote in message
news:OP*************@TK2MSFTNGP10.phx.gbl...
Why will the following code not change the window title of the new window?
window.open "Default.htm" ,"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**********@cfl.rr.com> wrote in message
news:Oz**************@TK2MSFTNGP12.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*********@kpmg.com> wrote in message
news:Ot**************@TK2MSFTNGP10.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**********@cfl.rr.com> wrote in message
news:OP*************@TK2MSFTNGP10.phx.gbl...
Why will the following code not change the window title of the new

window?
window.open "Default.htm" ,"YO"



Nov 17 '05 #5

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

Similar topics

9
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...
2
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...
3
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...
7
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...
21
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...
14
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...
0
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
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
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() {...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
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,...
0
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...
0
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...
0
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,...

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.