How to hide the Title bar without "fullscreen=yes" when use window.open?

i want to open one new window with window.open,
but i don't want to see the title bar, and i can set the left, top, width, and height, etc.

how to do ?

thanks.
kanelklAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

kanelklAuthor Commented:
i use "titlebar=no", but can't hide the titlebar.
0
mvan01Commented:
Hi kanelkl,

should be:

Netscape Navigator (4 & newer):
  window.open("url", "windowName", "titlebar=false");
IE (5 & newer):
  window.open("url", "windowName", "title=false");

This feature, in Navigator 4+, requires a signed script.

mvan
0
kanelklAuthor Commented:
mvan:
thanks very much.

i used "title=false", but the title bar is showing.

i use windows and ie5,ie6.
0
The Ultimate Tool Kit for Technolgy Solution Provi

Broken down into practical pointers and step-by-step instructions, the IT Service Excellence Tool Kit delivers expert advice for technology solution providers. Get your free copy for valuable how-to assets including sample agreements, checklists, flowcharts, and more!

kanelklAuthor Commented:
here i have a way.

var o = window.open("","","");
o.moveTo(0,-24);
o.resizeTo(1024,788);

if you have any other better ways, please tell me .

thanks.
0
Michel PlungjanIT ExpertCommented:
You cannot turn off the title bar unless you
1. sign the script in gecko based browsers
2. use HTA in IE

Michel
0
mvan01Commented:
kanelkl,

Michel is right.  My "title=false" was old info.  HTA is the way to go.

http://msdn.microsoft.com/library/default.asp?url=/workshop/author/dhtml/reference/methods/open_0.asp

Here's some code.  Save it in a file named with an extension of .hta to give it access to the special HTA features.

mvan

<HEAD>
  <TITLE>My Monster Application</TITLE>
  <HTA:APPLICATION ID="oMyApp"
    APPLICATIONNAME="monster"
    BORDER="none"
    CAPTION="no"
    ICON="/graphics/creature.ico"
    SINGLEINSTANCE="yes"
    WINDOWSTATE="maximize">
</HEAD>
<BODY>
CAPTION="no" is the key to no title bar<br>
<br>
Press [Alt]+[F4] to end (no Minimize, Maximize, nor Close buttons!).
</BODY>
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
mvan01Commented:
This doesn't actually open a new window, it simply changes the window into which it is opened.  There are warnings and restrictions if HTA files are run from a server.

mvan
0
mvan01Commented:
Send that filename.hta as a url in window.open("url").  If you leave out WINDOWSTATE="maximize", it need not be fullscreen.  You also don't need ICON="/graphics/creature.ico" - of course.  Then you have an essentially floating window, without borders, titles, etc.  If you sized it right and had the .hta load a graphic image, it could look very similar to a 'splash screen' of the major software folks.  You'd want to be sure to window.close() it from the JavaScript that opened it - I doubt the average user would guess [Alt]+[F4].

As noted, there are warnings and restrictions, even if you run the thing from your own local drive.

Peace and joy.  mvan
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
JavaScript

From novice to tech pro — start learning today.