Hey,
I have a pop up window but I want to turn off the status bar at the bottom but I can't figure it out. Here is the code:
Code:
<script language="javascript">
var win = null;
function NewWindow(mypage,myname,w,h,scroll){
LeftPosition = (screen.width) ? (screen.width-w)/2 : 0;
TopPosition = (screen.height) ? (screen.height-h)/2 : 0;
settings =
'height='+h+',width='+w+',top='+TopPosition+',left='+LeftPosition+''
win = window.open(mypage,myname,settings)
}
</script>
and here is the link trigger:
Code:
<a style="border:none" href="http://www.mylink.com" onclick="NewWindow(this.href,'name','546','380','yes');return false"><img src="ltbutton.gif" border="0" /></a>
How do I turn the status bar off please
Hope you can help
Thanks
|