You are not logged in.

Dear visitor, welcome to Forum. If this is your first visit here, please read the Help. It explains in detail how this page works. To use all features of this page, you should consider registering. Please use the registration form, to register here or read more information about the registration process. If you are already registered, please login here.


Monday, April 6th 2009, 12:09pm

Setting cookies or similar?

I'd like to show a banner within a pano when someone first arrives - the usual "this is an interactive image" thing - but I'd also like to make sure that it isn't shown again once they've dismissed it, even when they look at a different pano in the site.

If this was regular web page stuff I'd be poking some PHP into setting and getting cookies. Is there any way of achieving a similar result from within KRPano's XML? This isn't within a single tour, it is for any of a number of different panos on different pages within the same overall site.




Posts: 358

Location: Paris

  • Send private message


Monday, April 6th 2009, 2:06pm

This thing could be really interesting !
VideoStitch, a video stitching engine / blog sur les visites virtuelles ( french ).


Tuesday, April 7th 2009, 11:10pm


this could by done by javascript for example,
call a javascript function from krpano that loads or save some settings,

or pass a variable (with an dynamic value from php) on the flash embedding
and check this variable in krpano,

Source code

var so = SWFObject(....);



Source code

<krpano onstart="if(showbanner == yes, action(show_a_banner) );">

best regards,


Monday, February 22nd 2010, 11:34am


Just like thatkeith, i would like to open an help box info within a pano when someone first arrives. I have 7 panos, each one stored in a xml file.
I'd like to open this help box when someone arrives on the first pano, and avoid to open it in the others panos (and if the visitor come back on the first pano)....just like cookies

So i tried what Klaus explained (by javascript), and it worked.
But when i use Kprotect to embedd all my xml files in one swf file, it doesn't work anymore (the box is not showing).

Can somebody explain me why this doesn't work anymore and if there's a way to fix it ?

Thanks for your reply *smile*

This post has been edited 1 times, last edit by "MissZougou" (Feb 22nd 2010, 2:16pm)


Monday, February 22nd 2010, 11:54am

But when i use Kprotect to embedd all my xml files in one swf file, it doesn't work anymore (the box is not showing).
make sure that the "Disable External Parameters" box is not checked in the kprotect tool,
this would disable all kind of external parameters (like the JS addVariable())

best regards,


Monday, February 22nd 2010, 2:15pm

Thanks a lot Klaus !

I forgot to check the kprotect parameters...thanks again !
I would have a another question for you, but it's about the combobox plugin, so i'll find another topic.

Best regards