Solved

hide title for window.open

Posted on 2002-03-12
7
1,083 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
How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

 
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

What Should I Do With This Threat Intelligence?

Are you wondering if you actually need threat intelligence? The answer is yes. We explain the basics for creating useful threat intelligence.

Join & Write a Comment

I recently decide that I needed a way to make my pages scream on the net.   While searching around how I can accomplish this I stumbled across a great article that stated "minimize the server requests." I got to thinking, hey, I use more than one…
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…
Here's a very brief overview of the methods PRTG Network Monitor (https://www.paessler.com/prtg) offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…
This video shows how to remove a single email address from the Outlook 2010 Auto Suggestion memory. NOTE: For Outlook 2016 and 2013 perform the exact same steps. Open a new email: Click the New email button in Outlook. Start typing the address: …

746 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

12 Experts available now in Live!

Get 1:1 Help Now