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.

on Load im Body

Empfohlene Antworten

Hi.

Ich habe folgendes Problem.

Im Body der Homepage habe ich 2 mal on Load stehen (java)

Einmal für nen PopUp Fenster einmal für eine Bannerrotation.

Es geht aber nur eines.

2 mal on Load im Body geht wohl nicht oder?

Danke

Guido

Hi Guido,

doch das geht. Ich habe es gerade extra nochmal getestet, weil ich nicht mehr genau wußte, wie es geht. du mußt im onload beide funktionen aufrufen. getrennt mit einem Komma. hier mal der body-tag, wie es aussehen sollte:

<body text="#000000" bgcolor="#FFFFFF" onload="popup(),test()">

Gruß Snopsy

Also so schaut der bisher aus:

<body onload="startbannerrot()" onLoad="NewWindow('http://www.silkenat.de/ouli/html/sound.html','musikup','180','200','center','front');">

Ohne die Definitionen von Farbe jetzt. Aber wie bekomm ich jetzt die beiden ein ein on Load??

Das mit dem NewWindows ist etwas komisch. :confused:

Komm ich net ganz mit klar.

Grüssle :rolleyes:

Ist doch ganz einfach! So sollte es gehen:


<body onload="startbannerrot(),NewWindow('http://www.silkenat.de/ouli/html/sound.html','musikup','180','200','center','front');">[/php]

PS: Du meinst eigentlich JavaScript und nicht Java, oder? ;)... - sind ja zwei Paar völlig unterschiedliche Schuhe...

Super. Danke. Geht.

Seid echt spitze.

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.