Ziggy Stardust
Neues Mitglied
Ich möchte in einem Fenster ein Wort plazieren, auf das man klicken muss, um das Fenster zu schließen. Welchen Quelltext muss ich dafür schreiben?
Vielen Dank für die Hilfe.
Vielen Dank für die Hilfe.
Follow along with the video below to see how to install our site as a web app on your home screen.
Anmerkung: This feature may not be available in some browsers.
<a href="javascript:window.close()">Fenster schließen</a>
Note: there is browser-specific differences with the above. If you opened the window with Javascript (via window.open()) then you are allowed to close the window with javascript. Firefox disallows you from closing other windows. I believe IE will ask the user for confirmation. Other browsers may vary.