Hi,
Does anyone know how to hide scrollbar, locationbar etc in Javascript?
Basically I want to achieve the affect of
But define the settings on the page being called - not on the link to open it.
Non-working example of what I'm looking for:
Thanks in advance
"Just beacuse you're paranoid, don't mean they're not after you
Does anyone know how to hide scrollbar, locationbar etc in Javascript?
Basically I want to achieve the affect of
Code:
window.open(url,'name','toolbar=no,width='+screen.width-10+',height='+screen.height-30+',directories=no,status=no,menubar=no,scrollbars=no,resize=no,top=0,left=0);
But define the settings on the page being called - not on the link to open it.
Non-working example of what I'm looking for:
Code:
<head>
<script language = "JavaScript">
function setupWin() {
window.scrollbars = false;
window.locationbar = false;
}
</script>
</head>
<body onLoad="JavaScript:setupWin()">
'
'
'
</body>
Thanks in advance
"Just beacuse you're paranoid, don't mean they're not after you