Minimize or Maximize Document Window Example (JS)

# Minimize or Maximize Document Window Example (JavaScript)

This example minimizes or maximizes the document window. Start DraftSight. Using the following form, minimize or maximize the document window by clicking Minimize or maximize window. Examine the document window. Minimize or maximize the document window again by repeating step 2. NOTES: Errors are printed to Output. To recreate this example: Right-click the topic and select to view the source. Save the file as an HTML file. Open the HTML file in your web browser. If using Windows Internet Explorer and running scripts is blocked, click the Information bar near the top of the webpage and select Allow Blocked Content.
### Output