Solved

hide title for window.open

Posted on 2002-03-12
7
1,085 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
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
Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

 
LVL 18

Accepted Solution

by:
bruno earned 50 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Have you ever needed to get an ASP script to wait for a while? I have, just to let something else happen. Or in my case, to allow other stuff to happen while I was murdering my MySQL database with an update. The Original Issue This was written…
This demonstration started out as a follow up to some recently posted questions on the subject of logging in: http://www.experts-exchange.com/Programming/Languages/Scripting/JavaScript/Q_28634665.html and http://www.experts-exchange.com/Programming/…
This video demonstrates how to create an example email signature rule for a department in a company using CodeTwo Exchange Rules. The signature will be inserted beneath users' latest emails in conversations and will be displayed in users' Sent Items…
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …

947 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

Need Help in Real-Time?

Connect with top rated Experts

22 Experts available now in Live!

Get 1:1 Help Now