473,385 Members | 1,927 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,385 software developers and data experts.

Changing the title bar content of window.open

Hi everyone,

I've got a link that launches a little AJAX application in a window.
Like this:

function launchListener()
{
var newWindow = window.open("listener.php", "newWindow",
"width=300,height=150");
}

Ideally, once this window is loaded, it will sit in the background and
wait for stuff to happen. I would like to then change the title bar to
denote changes. Simple enough, right?

Anyway, problem is: When the new window launches, its title is not
exactly what I assign it in "listener.php" (for instance, "Listener"),
but rather "http://155.55.55.55 - Listener" (or whatever). This means
that while sitting the taskbar, generally all the user is going to see
is a domain name and some dots, rather than what I want them to see.

So! I would like to know if there is anyway to NOT show the
"http://etc" part of the title in an opened window.

Thanks a lot, hope that makes sense.

- Jonathan

(PS. It would be even better if I could just make the button flash in
the taskbar, but from what I read, that is both nigh-impossible and
sketchy)

Aug 8 '06 #1
3 4289
Jonathan wrote:
So! I would like to know if there is anyway to NOT show the
"http://etc" part of the title in an opened window.
Open it with a location bar.

--
David Dorward <http://blog.dorward.me.uk/ <http://dorward.me.uk/>
Home is where the ~/.bashrc is
Aug 8 '06 #2

David Dorward wrote:
Open it with a location bar.
.... Ahh yes, I see. Little ugly but it does the trick. And so it will
have to do.

Thanks for the quick reply!

Aug 8 '06 #3
Jonathan said the following on 8/8/2006 2:21 PM:
David Dorward wrote:
>Open it with a location bar.

.... Ahh yes, I see. Little ugly but it does the trick. And so it will
have to do.

Thanks for the quick reply!
A little ugly maybe (I don't think it is) but try opening a new window
in IE7 without the location bar and you may be in for a surprise..

--
Randy
comp.lang.javascript FAQ - http://jibbering.com/faq & newsgroup weekly
Javascript Best Practices - http://www.JavascriptToolbox.com/bestpractices/
Aug 8 '06 #4

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

Similar topics

1
by: Raymond Dunton | last post by:
I am new to Javascript programming. I have a page with four small pictures. I want to click on a picture and have it open up larger in a popup window. this is what I am currently using to do...
3
by: Luis | last post by:
Hello I'm opening a window with a SWF inside (no HTML, just the SWF) but in the title bar appears something like http://www.server.com/myDir/myWeb/Flash/myFlash.swf i'd like to write...
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...
31
by: Greg Scharlemann | last post by:
Given some recent success on a simple form validation (mainly due to the kind folks in this forum), I've tried to tackle something a bit more difficult. I'm pulling data down from a database and...
0
by: google | last post by:
I know this topic has been discussed many times all over the web but in my case although i can make it work in a normal window but it falls flat working in a window where i generate a PDF from a...
4
by: Benton | last post by:
Hi there, I have a child webform (with a ASP.NET calendar control) that opens in a javascript popup window when I click a button in the caller form. Child page has a <title> tag, and javascript...
2
by: prash.marne | last post by:
hi guys, i have simple problem with my pop up window my code is .... <html> <head> <script type="text/javascript> function open_window(){...
4
by: gubbachchi | last post by:
Hi all, Please anybody help me solve this problem. I am stuck up with this from past 2 weeks. I am developing an application where, when the user selects date from javascript datepicker and enters...
4
by: jrod11 | last post by:
I have an RSS reader that I have been using, but the only problem i have is that I want the target to be "_blank" rather than the parent window. Anyone know where I should add the _blank? ...
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: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
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...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
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...
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...

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.