Changing the title bar content of window.open

J

Jonathan

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)
 
J

Jonathan

David said:
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!
 
R

Randy Webb

Jonathan said the following on 8/8/2006 2:21 PM:
.... 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..
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,995
Messages
2,570,236
Members
46,822
Latest member
israfaceZa

Latest Threads

Top