Link to home
Start Free TrialLog in
Avatar of carillian
carillian

asked on

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
ASKER CERTIFIED SOLUTION
Avatar of Roonaan
Roonaan
Flag of Netherlands image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
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