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.

JavaScript Menü Positionieren ?

Empfohlene Antworten

Hallo !

Ich habe auf meiner Seite ein java Sript Menü eingebunden. Nun ist das Problem das dieses Menü einen absolute Position hat, das heißt ändert sich die Fenster größe so bleibt leider das Menü an der festen ausgangs position stehen und das sieht nicht so gut aus wenn die grafik nicht mit dem menü vom optischen her übereinstimmen. ist es nun möglich, das menü mit einer relativen position anzugeben ?

Desweiteren würde mich auch interresieren, wie ich den unterstich meines Menü-links zunächst wegbekomme und erst dann wenn man mit der Maus(mouseover) sich auf dem link befindet, das sich dann erst ein unterstrich unter den Menüpunt bildet.

kleiner auszug:

<div id="h1" style="position:absolute; left:230; top: 65; width:120; height:25;z-index:2; visibility: visible">

<p align="center"><b>

<font face="Gourmand">

<a href="#" onmouseover="menu(1)"><font color="silver">Band</font></a>

</div>

<div id="m1" style="position:absolute; left:230; top:90; width:120; height:100; z-index:3; visibility: hidden" >

<p align="center">

<a href="band.html" target="daten"><font color="#FFFFFF" size = -1>WE</font></a><br>

<a href="future.html" target="daten"><font color="#FFFFFF" size = -1>Biographie</font></a><br>

<a href="present.html" target="daten"><font color="#FFFFFF" size = -1>News</font></a><br>

</div>

Kann mir jemand weiterhelfen!!??

da mein menü waagerecht erscheinen soll, habe ich leider bei der eingabe von "relative" mein menü senkrecht untereinander stehen.

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.