Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

hide title for window.open

Posted on 2002-03-12
7
Medium Priority
?
1,097 Views
Last Modified: 2012-05-04
I'd like to use window.open("test1.asp") to open a
separate window.

Is there a way I can hide the topbar
contains(http:../../test1.asp and minimize button and
close button for window)?

I tried (toolbar=no, menubar=no),but still I can not
hide the top title bar.

Thanks in advance.
0
Comment
Question by:meimeius
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
7 Comments
 
LVL 23

Expert Comment

by:naveenkohli
ID: 6857565
I don't think that you can hide the title bar using window.open. You can try setting "titlebar" attribute to no.
but this attribute is ignored unless its an HTMLapplication(HTA) or a dialog box.

showModelessDialog canbe your best bet.

Naveen
0
 
LVL 29

Expert Comment

by:Göran Andersson
ID: 6857675
There is a trick to get a window without everything. Open a window in full-screen mode, then resize it and move it.
0
 

Author Comment

by:meimeius
ID: 6857705
Thank you for your suggestion.  I tried to use showModelessDialog, but still shows "Web Page Dialog" on the title.  Is possible I can hide the title?


Thanks.
0
Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
LVL 18

Accepted Solution

by:
bruno earned 200 total points
ID: 6859694
try GG suggestions....

fullscreen=yes

then resize it smaller.


you could also try a chromeless window.

http://www.dhtmlshock.com/window-scripts/Chromeless/default.asp


Good luck!

BRUNO
0
 
LVL 1

Expert Comment

by:loveneesh_bansal
ID: 6859784
use the following function

<SCRIPT LANGUAGE="javascript">
<!--
<!-- Hide this script from JavaScript impaired browsers
 function doit(htmfile) {
     popUpWin = window.open(htmfile,'smallWin','height=350,width=300,toolbar=0,location=0, directories=0,status=0,menubar=0,scrollbars=no,resizable=0,titlebar=no')
     if (navigator.appName == 'Netscape') {
          popUpWin.focus()
     }
 }
// Stop hiding now. All is clear !! -->
</Script>


now to open a new window call this function and pass the file name which you want to open

it will solve your problem
0
 

Author Comment

by:meimeius
ID: 6861483
Thank you very much!
0
 
LVL 18

Expert Comment

by:bruno
ID: 6862372
glad I could help!  thanks for the A.  :-)
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I have helped a lot of people on EE with their coding sources and have enjoyed near about every minute of it. Sometimes it can get a little tedious but it is always a challenge and the one thing that I always say is:   The Exchange of informatio…
I would like to start this tip/trick by saying Thank You, to all who said that this could not be done, as it forced me to make sure that it could be accomplished. :) To start, I want to make sure everyone understands the importance of utilizing p…
How to fix incompatible JVM issue while installing Eclipse While installing Eclipse in windows, got one error like above and unable to proceed with the installation. This video describes how to successfully install Eclipse. How to solve incompa…
We’ve all felt that sense of false security before—locking down external access to a database or component and feeling like we’ve done all we need to do to secure company data. But that feeling is fleeting. Attacks these days can happen in many w…

715 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question