Solved

hide status bar in new window (xp sp2)

Posted on 2004-09-24
2
1,401 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
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

3 Use Cases for Connected Systems

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, testing some more, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us.

Question has a verified solution.

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

Introduction HTML checkboxes provide the perfect way for a web developer to receive client input when the client's options might be none, one or many.  But the PHP code for processing the checkboxes can be confusing at first.  What if a checkbox is…
International Data Corporation (IDC) prognosticates that before the current the year gets over disbursing on IT framework products to be sent in cloud environs will be $37.1B.
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…

770 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