Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

window.open does not remove staus bar

Status
Not open for further replies.

mlohmac

MIS
Oct 28, 2002
10
0
0
Hello, I am trying to get a pop-up window to launch without the status bar. Below, is the snippet of code that is in-line in my HTML. The pop-up contains an ASP.NET calander control that retutrns a date value to a text box. Everything is working correctly, but no mater what I have tried the status bar is still visible. Any idea what could be wrong? I am using IE 6.

-Cameron


<a href="javascript:calendar_window=window.open('Calendar.aspx?formname=Form1.txtPMDate','calendar_window','status=no,width=165,height=165,top=300,left=150');calendar_window.focus()">
<IMG src="images/calendar.gif" border="0">
</a>
 
this works fine for me in IE 6.0.2800

Code:
<a href="#" onclick="window.open('[URL unfurl="true"]http://www.google.com/',[/URL] 'w', 'left=150,top=150,height=300,width=300'); return false;">

*cLFlaVA
----------------------------
[tt]your mom goes to college[/tt]
[URL unfurl="true"]http://www.coryarthus.com/[/url]
[banghead]
 
What browser are you testing this script with?

Grx21
 
Oh O.K., I didn't see that he was using IE 6. The script worked fine for me too in IE 6.

grx21
 
My problem is that the status bar is visible even with the status set to no. My script works fine and correctly returns a value to the proper ASP.NET text box. But I would like the little pop-up calendar window to not have a status bar. Does the status=no only work in browsers other then IE 6? Even better would be to use the dialog=yes parameter but that does not seem to work either.

Thanks for the replies.

-Cameron
 
you did not specify that you were most likely using SP2. You cannot control the status bar in IE 6 SP2 (I'm almost certain) and you cannot control the status bar in FireFox either.

*cLFlaVA
----------------------------
[tt]your mom goes to college[/tt]
[URL unfurl="true"]http://www.coryarthus.com/[/url]
[banghead]
 
I am using IE6 with Windows SP2, good to know. Thanks for the info!

-Cameron
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top