Wrox Home  
Search P2P Archive for: Go

  Return to Index  

javascript_howto thread: SV: RE: Please help: how to change text in Titlebar


Message #1 by "Robert Nyman" <robert.nyman@c...> on Wed, 25 Dec 2002 17:22:11 +0100
Try:

FunkyNewWindow =3D3D window.open
("http://www.yoursite.com/your/location.html",
 "Menu",'toolbar=3D3D0,location=3D3D0,directories=3D3D0,
 status=3D3D0,menubar=3D3D0,scrollbars=3D3D0,resizable=3D3D0,
 width=3D3D110,height=3D3D335');

FunkyNewWindow.document.title =3D "Your desired title";


/Robert


-----Ursprungligt meddelande-----
Fr=E5n: Omar Esquivel [mailto:omare@u...]
Skickat: den 23 december 2002 15:21
Till: JavaScript HowTo
=C4mne: [javascript_howto] RE: Please help: how to change text in 
Titlebar


Hi,

thanx for the help. About the <title> tag of the window, I'm not able to

manipulate it since the new window opens after a click on a submit
button,
it displays a PDF document, but the problem I have is that the browser
displays the whole URL in title bar, incluiding the http port I'm using,

which I find way too risky for my site. I'd like for the titlebar just
to
display a message about the document and nothing more.
Any ideas??
Thanx again


>
FunkyNewWindow =3D3D window.open
("http://www.yoursite.com/your/location.html",
 "Menu",'toolbar=3D3D0,location=3D3D0,directories=3D3D0,
 status=3D3D0,menubar=3D3D0,scrollbars=3D3D0,resizable=3D3D0,
 width=3D3D110,height=3D3D335');

Changing the title is a matter left to HTML inside the document you are
=3D opening.

<head>
<title> My specific title here </title>
</head>


Hope this helps.




  Return to Index