|
JavaScript Tutorial - 8
Try pressing "ready" without entering a name. So all we have left is the popup window. Here is the JavaScript to create a new window and, if you click on it, I'll tell you all about it: var win=window.open("","","width=450,height=180") Task 22: A button which produces a popup window saying "Hello World!". Check. Task 23: Improve the look of the popup window in Task 22. Check. Task 24: Same as Task 21 but the message is to appear in a popup window instead of an alert box. Check. Challenge 8: Create your own version of the fun form at the top. Maybe you can come up with a different idea. |
| HOME | Table of Contents | Previous | Next |