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.

Netscape 6.x und Layerobjekt?

Empfohlene Antworten

Veröffentlicht

 function ie()

{

alert("DIV");

}


function nn()

{

window.alert("LAYER");

}


function seite()

{

alert("TEST");

document.write("<div></div>");

if (document.all){ ie(); }

document.write("<layer></layer>");

if (document.layers) { nn(); }

if ((!document.layers) || (!document.all)) {alert("keins");}

}

 

Hi

ich spiele gerade ein bischen mit dynamischer Seitengestaltung herum. Dazu teste ich auch mit Netscape in der Version 6.0 . Eigentlich wird doch bei Netscape ds Layerobjekt unterstützt und sollte laut obenstehenden Code "LAYER" ausgeben.

Habe gerade einen themenverwandten Thread gelesen. Fällt ab NN 6.x das Objekt weg, oder liegt der Fehler in meinem Code?

Hi!

Also, so mache ich das ganze. Einfach die folgende Function von überallher ereichbar machen und nicht mehr über den Browser nachdenken wenn es um Styles geht :-)

Konnte den Quelltext hier leider net einfügen, musst ihn dir selber holen: http://itgenie.multimania.com -> Download Section -> Java Scripts -> und das DivObjStyle Script saugen, ich benutze das mega oft auf meiner page...

Das wars hoffe es hat dir geholfen

Genie

Netscape 6 kennt das layer Objekt gar nicht mehr.

Genau,.. Netscape 6 hält isch nicht mehr an das Layer Prinzip, da der Browser nun endlich W3C-Konform ist!

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.