Wrox Home  
Search P2P Archive for: Go

  Return to Index  

javascript thread: SV: How to manipulate the titlebar's text on a new window


Message #1 by "Robert Nyman" <robert.nyman@c...> on Wed, 25 Dec 2002 17:23:17 +0100
See reply in the JavaScript HowTo list.

/Robert


-----Ursprungligt meddelande-----
Fr=E5n: Omar Esquivel [mailto:omare@u...]
Skickat: den 23 december 2002 16:18
Till: javascript
=C4mne: [javascript] How to manipulate the titlebar's text on a new 
window



Hi,

I=B4m using a form's submit button to open a new window that displays a
PDF
document. The new window has no status bar nor an address bar, but the
problem I have is that it displays the whole URL in the Title bar,
incluiding the http port, which is exactly the thing I don't want the
user
to have access to.

So I need to display this pdf in a new window, with no status, addres
bar
and most of all not to display the whole URL in the title bar. How can I
change the titlebar's text to display a message that I want? I
can't do it with HTML tags since the window is displaying a pdf.

here's the code I have so far:

win =3D window.open(url, "pdfpage","menubar,toolbar,resizable");

Any help to solve this problem will be greatly appreciated.

Thank you in advance
Omare



  Return to Index