Page 1 of 1

How to add the "showFloorplan" button in bootstrap

PostPosted: Tue Jan 17, 2017 10:55 am
by Tonylujien
Hello,
how can i call the "showFloorplan" and add it as a button in the navbar in bootstrap ?

thx in advance

Tony

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

PostPosted: Wed Jan 18, 2017 10:35 am
by Tonylujien
<li><a href="#sshowFloorplan()" onclick="showFloorplan();" >Floor Plan</a></li>
I try that but its not working, is it an syntax error ?

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

PostPosted: Wed Jan 18, 2017 10:57 am
by Annis
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

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

PostPosted: Wed Jan 18, 2017 2:30 pm
by Tonylujien
thx its solved

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