Solved

hide status bar in new window (xp sp2)

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

Why You Should Analyze Threat Actor TTPs

After years of analyzing threat actor behavior, it’s become clear that at any given time there are specific tactics, techniques, and procedures (TTPs) that are particularly prevalent. By analyzing and understanding these TTPs, you can dramatically enhance your security program.

Join & Write a Comment

This article discusses the difference between strict equality operator and equality operator in JavaScript. The Need: Because JavaScript performs an implicit type conversion when performing comparisons, we have to take this into account when wri…
This article demonstrates how to create a simple responsive confirmation dialog with Ok and Cancel buttons using HTML, CSS, jQuery and Promises
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…

760 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

21 Experts available now in Live!

Get 1:1 Help Now