Sie sind nicht angemeldet.

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.