Sie sind nicht angemeldet.

Lieber Besucher, herzlich willkommen bei: krpano.com Forum. Falls dies Ihr erster Besuch auf dieser Seite ist, lesen Sie sich bitte die Hilfe durch. Dort wird Ihnen die Bedienung dieser Seite näher erläutert. Darüber hinaus sollten Sie sich registrieren, um alle Funktionen dieser Seite nutzen zu können. Benutzen Sie das Registrierungsformular, um sich zu registrieren oder informieren Sie sich ausführlich über den Registrierungsvorgang. Falls Sie sich bereits zu einem früheren Zeitpunkt registriert haben, können Sie sich hier anmelden.

1

Montag, 19. Juni 2023, 20:42

popup with iframe

I'm using the popup to show an iframe as with the example on krpano website.
onclick="popup('iframe', '../beach.php', 900, 700, false);"
I looked for the function of the "false" but can't find anywhere; is it for enabling/disabling scroll for the iframe?

kme

Fortgeschrittener

Beiträge: 310

Wohnort: Belgium

Beruf: Long time coder, product manager and 3D enthousiast

  • Nachricht senden

2

Montag, 19. Juni 2023, 21:16

Hi,

The action is defined as follows:

Quellcode

1
	<action name="popup" scope="private:POPUP" args="type, content, width, height, scrollbars, onclose_callback"><![CDATA[


Later, it copies that value of "scrollbars" to the .htmlscrollbars property of the plugin.
The plugin itself is encrypted and source code is not available.

But as for your question: yes, it enables/disables the scrollbars of the popup.

gr,
K.