[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1409
  • Last Modified:

hide status bar in new window (xp sp2)

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
carillian
Asked:
carillian
1 Solution
 
RoonaanCommented:
drop SP2. :-)
0
 
ellandrdCommented:
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

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now