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.

Fenstergröße auf klick

Empfohlene Antworten

Veröffentlicht

Hi Leute!

Ich hab ein problem und zwar liegt im moment ein Link auf den bildern eine HP die ich grade erstelle nun will der chef aber, dass die Fenster die sich dann öffnen (target=_blank) eine bestimmte, vordefinierte größe haben ich hab keine plan wie ich das machen soll und hoffe auf hilfw!:confused:

ich würde es mal damit versuchen:

<a href="#" onClick="MM_openBrWindow('<!--hier die url vom bild-->, 

'gallery', 'scrollbars=no, width=500, height=600')">

@my head... : du musst dann natürlich auch die Funktion vom Dreamweaver mit hinschreiben, sonst öffnet sich da nix.

Oder man schreibt sich ein eigenes Javascript, also:

window.open("fenster.html","Fenster","width=300px, height=200px");

Alternativ kannst auch statt fenster.html gleich die url des Bildes reinhängen.

So müsste das funzen.

@ bohni: hast natürlich recht

@ bilke: sorry

müsste natürlich noch so aussehen:


<script language="JavaScript">

function MM_openBrWindow(theURL,winName,features) { 

    window.open(theURL,winName,features);

}

</csript>

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.