benji33 wrote:You're right the only way to do it at this time is the use of multiples Website Box plugins so the first one is able to close the second one etc ... So you need at least one Website Box plugin and also at least one hotspot style with a "open website box plugin" action by spot into a single scene.
<action name="openWebsite_websiteViewer">
ifnot(ptplugin[websiteViewer].isOpen,
if(ptplugin[websiteViewer].doNotDeleteMe,
set(ptplugin[websiteViewer].currentCall, false);
set(ptplugin[websiteViewer].isOpen, true);
set(ptplugin[websiteViewer].doNotDeleteMe, false);
getmessage(boxurl, %1);
txtadd(boxurl, ?iframe=true);
pauseautorotation(forceplugin);
js(invokePluginFunction(websiteViewer, loadSingleArrayItem, get(boxurl), %2));
,
set(ptplugin[websiteViewer].currentCall, true);
set(ptplugin[websiteViewer].doNotDeleteMe, true);
events.dispatch(onremovedisplayedobject);
delayedcall(0.3,openWebsite_websiteViewer(%1,%2););
);
,
closeKolorBox_websiteViewer();
delayedcall(0.3,openWebsite_websiteViewer(%1,%2););
);
</action>
Users browsing this forum: No registered users and 2 guests