Zum Inhalt springen
View in the app

A better way to browse. Learn more.

Fachinformatiker.de

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Laufzeitfehler in javascript window.open()

Empfohlene Antworten

Hallo!

Ich habe ein Problem, dessen Lösung ich in immer weitere Ferne rücken sehe.

beim Aufruf folgenden Scriptes erhalte ich immer einen Laufzeitfehler in Zeile 4 (nur bei IE; Opera und Co. machen keine Probleme):

<html><head><title></title>

<script type="text/javascript">

<!--

function NeuFenster() {

MeinFenster =

window.open("index2.htm", "neue seite 1", "width=600,height=400,scrollbars");

MeinFenster.focus();

}

//-->

</script>

</head><body>

<a href="javascript:NeuFenster()"><font align="center">Klick</font></a>

</body></html>

Kann mir jemand helfen??

Danke schon mal im Voraus.

PS.: Ich bin ein javascript greenhorn, habe z.Z. kein Buch bei der Hand, und habe selfhtml auch schon durchstöbert.

Hab das Problem selber in den Griff bekommen.

Du könntest dennoch deine Lösung des Problems hier Posten... wenn mal jemand bei der Suche auf diesen Thread stösst wird der sich vielleicht für dich freuen, aber keinen Schritt weiter kommen ;)

Ich hab es gestern abend mal probiert... irgendwie scheint der IE ja mit der zu öffnenden Datei Probleme gehabt zu haben...

Archiv

Dieses Thema wurde archiviert und kann nicht mehr beantwortet werden.

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.