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.

per JS IFrame vergrößern

Empfohlene Antworten

Hallo Webianer,

ist es überhaupt möglich ein IFRAME


<iframe width="697" frameborder="0" height="600" name="main_frame" src="main.html">

Iframes werden nicht unterstützt.

</iframe>
[/PHP]

beim laden der seite main.html - also als onload event - die größe des iframes zu verändern ?

das zb. Height = "1000" ist oder so ??

geht das ??

und wenn ja wie ??

danke für hilfe

paule

ob es bei einem iframe auch geht kann ich dir nicht sagen aber ich verwende eine von mir selbst geschriebene mini funktion namens framesetResize und damit kann ich die rows des framesets ändern.

mit cols geht das natürlich ebenfalls aber dafür hab ich keine funktion da ich dies nicht benötige. die umstellung von rows auf cols is ja = 0 :)

also meine function:


function framesetResize( oFrameset, sSize)

{

   if ( oFrameset.rows != sSize )

   {

      oFrameset.rows = sSize;

   }

}


gleiche für cols:


function framesetResize( oFrameset, sSize)

{

   if ( oFrameset.cols != sSize )

   {

      oFrameset.cols = sSize;

   }

}

du musst also deinem frameset nen namen geben und das objekt dann mit der größe übergeben

viele grüsse

kills

Hallo Kills,

danke erstmal für deinen code

allerdings ist es mit iframes etwas anders - glaube ich

da gibts nur die parameter "height" und "weight"

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.