Solved

hide status bar in new window (xp sp2)

Posted on 2004-09-24
2
1,402 Views
Last Modified: 2008-01-09
I have quite happily been using the following code to hide the status bar of a modal window in a web application -

ShowModalDialog(URL,winname,"center:yes;dialogheigh:100px;dialogwidth:100px;scroll:no;status:no;unadorned:yes")

But with the great and wonderful XP SP2 it seems that this now does not work!!! And I am now missing the bottoms off half of my modal windows.

I know I can increase the height of the modal window, but is there any way around this using javascript anymore?

thanks
0
Comment
Question by:carillian
[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
2 Comments
 
LVL 49

Accepted Solution

by:
Roonaan earned 500 total points
ID: 12141203
drop SP2. :-)
0
 
LVL 16

Expert Comment

by:ellandrd
ID: 12141908
there is how i create modal windows:

<html>
<head>
<title></title>
<script language="javascript">
<!--
function toggleNewWin() {
newWin =window.open("yourfile.html", 'MyNewWin', 'height=200px, width=200px, top=10px, left=10px,fullscreen=no,scrollbars=no, non-resizable, menubar=no, toolbar=no, location=no, directories=no, status=no');
}
//-->
</script>
</head>
<body>
<a href="javascript:toggleNewWin();">Create new window!</a>
</body>
</html>

user cannot see status bar...

hope this helps

Sean
0

Featured Post

Industry Leaders: 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

Suggested Solutions

Title # Comments Views Activity
How Close unsubmited attempts 10 46
Sending ASP to server side 8 32
Slush on text 2 11
How do I split a variable to newline 2 20
In my daily work (mainly using ASP.net), I need to write a lot of JavaScript code. One of the most repetitive tasks I do are the jQuery Ajax calls. You know: (CODE) I don't know if for you it's the same, but for me is soooo tedious to write the …
This article will give core knowledge of JavaScript and will head in to your first JavaScript program. I am Durvesh Naik and I am here to deal with this series of JavaScript. I will teach you JavaScript in part wise , as its quite boring to read big…
The viewer will learn the basics of jQuery, including how to invoke it on a web page. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery.: (CODE)
The viewer will learn the basics of jQuery including how to code hide show and toggles. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery…

726 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