[Webinar] Streamline your web hosting managementRegister Today

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1101
  • Last Modified:

hide title for window.open

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
meimeius
Asked:
meimeius
1 Solution
 
naveenkohliCommented:
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
 
Göran AnderssonCommented:
There is a trick to get a window without everything. Open a window in full-screen mode, then resize it and move it.
0
 
meimeiusAuthor Commented:
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
Never miss a deadline with monday.com

The revolutionary project management tool is here!   Plan visually with a single glance and make sure your projects get done.

 
brunoCommented:
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
 
loveneesh_bansalCommented:
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
 
meimeiusAuthor Commented:
Thank you very much!
0
 
brunoCommented:
glad I could help!  thanks for the A.  :-)
0

Featured Post

Learn to develop an Android App

Want to increase your earning potential in 2018? Pad your resume with app building experience. Learn how with this hands-on course.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now