Try window.open(url, "pdfpage", "menubar=3Dno, scrollbars=3Dyes,
resizable=3Dyes");
-----Original Message-----
From: Omar Esquivel [mailto:omare@u...]
Sent: Monday, December 23, 2002 8:18 AM
To: javascript
Subject: [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