Editing JavaScript 1 Event Handling
Jump to navigation
Jump to search
Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 355: | Line 355: | ||
*alle globalen Objekte, Funktionen und Variablen sind teil des Window-Objektes | *alle globalen Objekte, Funktionen und Variablen sind teil des Window-Objektes | ||
**auch das DOM (Document Object) ist eine Property des Window-Objektes | **auch das DOM (Document Object) ist eine Property des Window-Objektes | ||
**Verfügt über grundlegende Eigenschaften des | **Verfügt über grundlegende Eigenschaften des Fensters | ||
***Fenstergröße festlegen (window.innerHeight, window.innerWidth) | |||
***Ein Fenster öffnen '''window.open()''' | |||
***Ein Fenster schließen '''window.close()''' | |||
***Ein Fenster verschieben '''window.moveTo()''' | |||
***Die Fenstergröße verändern '''window.resizeTo()''' | |||
**alert()- und prompt()-Befehl gehören zum window-Objekt | **alert()- und prompt()-Befehl gehören zum window-Objekt | ||
**'''window-Objekt''' muss nicht ausdrücklich im Programm genannt werden ('''alert()''' ist eigentlich '''window.alert()''') | **'''window-Objekt''' muss nicht ausdrücklich im Programm genannt werden ('''alert()''' ist eigentlich '''window.alert()''') |