How to add the "showFloorplan" button in bootstrap   [SOLVED] - View the solution

This sub-forum is for discussing and reporting bugs on any content that is not available by default in Panotour, so this concerns custom HTML templates, extra plugins (both Kolor-provided and third-party), etc...

Ce sous-forum a été créé pour discuter et/ou rapporter des bugs sur tout contenu qui n'est pas disponible par défaut dans Panotour, donc cela concerne les templates HTML customisés, plugins supplémentaires, etc...
no avatar
Tonylujien
Member
 
Topic author
Posts: 12
Likes: 1 post
Liked in: 0 post
Joined: Thu Jul 25, 2013 11:08 am
Info

How to add the "showFloorplan" button in bootstrap

by Tonylujien » Tue Jan 17, 2017 10:55 am

Hello,
how can i call the "showFloorplan" and add it as a button in the navbar in bootstrap ?

thx in advance

Tony

no avatar
Tonylujien
Member
 
Topic author
Posts: 12
Likes: 1 post
Liked in: 0 post
Joined: Thu Jul 25, 2013 11:08 am
Info

Re: How to add the "showFloorplan" button in bootstrap

by Tonylujien » Wed Jan 18, 2017 10:35 am

<li><a href="#sshowFloorplan()" onclick="showFloorplan();" >Floor Plan</a></li>
I try that but its not working, is it an syntax error ?

User avatar
Annis
Kolor Team
 
Posts: 6062
Likes: 801 posts
Liked in: 444 posts
Joined: Mon Aug 12, 2013 12:47 pm
Location: France
Info

Re: How to add the "showFloorplan" button in bootstrap

by Annis » Wed Jan 18, 2017 10:57 am

Have a look here: viewtopic.php?f=91&t=34629&p=193159#p193159

Same steps and code except that you're looking to the close/show or toggle floorplan codes instead and you don't need to keep the dummy panorama/spot since it's not linked to a url or anything in the _messages.xml

Tonylujien likes this post.

no avatar
Tonylujien
Member
 
Topic author
Posts: 12
Likes: 1 post
Liked in: 0 post
Joined: Thu Jul 25, 2013 11:08 am
Info

Re: How to add the "showFloorplan" button in bootstrap  [SOLVED]

by Tonylujien » Wed Jan 18, 2017 2:30 pm

thx its solved

<li><a href="#sshowFloorplan()" onclick="getTourPlayer().call('showFloorPlan()')" >Floor Plan</a></li>


Who is online

Users browsing this forum: No registered users and 1 guest