HTML DOM onLine Property
Complete Navigator Object Reference
Definition and Usage
The onLine property returns a Boolean value that specifies whether the system
is in offline mode.
Note: In IE 4+ the user can choose to work offline by selecting
File/Work Offline in the browser. When Work Offline is selected, the system
enters an offline state, and content is read from the cache.
Syntax
Example
<html>
<body>
<script type="text/javascript">
document.write("<p>OnLine: ")
document.write(navigator.onLine + "</p>")
</script>
</body>
</html>
|
Try-It-Yourself Demos
Detect the visitor's browser and browser version
More details about the visitor's browser
All details about the visitor's browser
Alert user, depending on browser
Complete Navigator Object Reference
Learn how your website performs under various load conditions
|
|
WAPT
is a load, stress and performance testing tool for websites and web-based applications.
In contrast to "800-pound gorilla" load testing tools, it is designed to minimize the learning
curve and give you an ability to create a heavy load from a regular workstation.
WAPT is able to generate up to 3000 simultaneously acting virtual users using standard hardware configuration.
Virtual users in each profile are fully customizable. Basic and NTLM authentication methods are supported.
Graphs and reports are shown in real-time at different levels of detail, thus helping to manage the testing process.
Download the free 30-day trial!
|
|