WebSiteBox slide effect  

Share your tips and tricks here or get help with any Panotour 2.0+ problem!
No bug reports (of any kind) in this forum!
no avatar
foxlarsson
New member
 
Topic author
Posts: 3
Likes: 0 post
Liked in: 0 post
Joined: Thu Aug 13, 2015 1:02 pm
Info

WebSiteBox slide effect

by foxlarsson » Thu Jun 28, 2018 9:08 am

Hi for all,
Is there any way to display the WebSiteBox through a slide effect (motion) to the right or left (top or bottom). I do not know the syntax of krPano well, that's why I'm asking this question. Maybe someone has a ready-made solution?

User avatar
bdd
Kolor Team
 
Posts: 2802
Likes: 14 posts
Liked in: 130 posts
Joined: Tue Jan 18, 2011 4:05 pm
Info

Re: WebSiteBox slide effect

by bdd » Mon Jul 02, 2018 10:02 am

This feature is not yet implemented on Website Box plugin.

This plugin is not handled by krpano player. So knowing krpano syntax will not help.
It's a plugin written in JavaScript displayed over the player.

Gérald

no avatar
davyk
Member
 
Posts: 11
Likes: 5 posts
Liked in: 0 post
Joined: Thu Aug 30, 2018 5:14 pm
Info

Re: WebSiteBox slide effect

by davyk » Sat Sep 01, 2018 12:30 am

So how can we do ?
is it possible to implement the same effects than the Description plugin ?

regards,
Victor

no avatar
davyk
Member
 
Posts: 11
Likes: 5 posts
Liked in: 0 post
Joined: Thu Aug 30, 2018 5:14 pm
Info

Re: WebSiteBox slide effect

by davyk » Sat Sep 01, 2018 1:58 am

Ok I found a solution :

1. Write whatever you want in the hotspot description let's say : "MY DESCRIPTION TO TRANSFORM"
1b. Setup your "Description" plugin to show "current spot" in the "Description to display" settings.
1c. You can select the animation you want il the Animation settings
2. Generate the tour
3. Open your language xml file for example if you're french and you named your project index.html it will be index_messages_fr.xml
4. In the file you find :
Code: Select all
<![CDATA[MY DESCRIPTION TO TRANSFORM]]>

5. You replace it by :
Code: Select all
<![CDATA[<iframe  sandbox="allow-same-origin allow-scripts allow-popups allow-forms"   style="position:absolute; border:0; padding:0;top:0;left:0;margin:0; width:100%; height:100%" src="YOUR LINK></iframe>]]>

6. Save your file.

REMEMBER : if you regenerate your project in panotour, your xml file will be overwritten so, you'll have to redo everything.


Regards,
Victor


Who is online

Users browsing this forum: No registered users and 3 guests