window.scrollbars : Window Object : Window JAVASCRIPT TUTORIALS


JAVASCRIPT TUTORIALS » Window » Window Object »

 

window.scrollbars












Syntax








window.scrollbars.property



The scrollbars visible property determines if the scrollbars are visible.








window.scrollbars.visible



If they are visible, the property returns true.

It returns false if the bars are not visible.












<html>
    <script language="JavaScript">
    <!--
    document.writeln('Menu Bar: ' + window.menubar.visible + '<br>');

    document.writeln('Tool Bar: ' + window.toolbar.visible + '<br>');

    document.writeln('Location Bar: ' + window.locationbar.visible + '<br>');

    document.writeln('Personal Bar: ' + window.personalbar.visible + '<br>');

    document.writeln('Scroll Bars: ' + window.scrollbars.visible + '<br>');

    document.writeln('Status Bar: ' + window.statusbar.visible + '<br>');

    document.close();
    -->

    </script>
</html>







HTML code for linking to this page:

Follow Navioo On Twitter

JAVASCRIPT TUTORIALS

 Navioo Window
» Window Object