I want to disable the title bar, status bar and address bar of a
window, but I couldn't find the syntax. I tried the following but not
working. any ideas??
window.document .statusbar.enab le = false;
window.document .titlebar.enabl e = false;
window.document .addressbar.ena ble = false;
<html>
<title>hey</title>
<script type="text/javascript">
function changetitle()
{
alert(window.do cument.title);
window.document .title = "heyhey";
window.document .statusbar.enab le = false;
alert(window.do cument.title);
}
</script>
<body onload="changet itle()">
</body>
</html>
window, but I couldn't find the syntax. I tried the following but not
working. any ideas??
window.document .statusbar.enab le = false;
window.document .titlebar.enabl e = false;
window.document .addressbar.ena ble = false;
<html>
<title>hey</title>
<script type="text/javascript">
function changetitle()
{
alert(window.do cument.title);
window.document .title = "heyhey";
window.document .statusbar.enab le = false;
alert(window.do cument.title);
}
</script>
<body onload="changet itle()">
</body>
</html>
Comment