Show Description when click button Show Controls  

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
Toni Fong
Member
 
Posts: 17
Joined: Thu Jul 11, 2013 2:40 pm

Show Description when click button Show Controls

by Toni Fong » Wed Mar 12, 2014 12:25 am

Hello,

I'm starting my virtual tour with all controls hidden.
How can I show description text together with all the buttons when I click the "show controls" button ?

My client doesn't want to click "show controls" and then "show information".
They want just one click to show everything, even the description text.

Probably it's just a simple XML code, but I've already tried almost everything and didn't discovered yet. I'd greatly appreciate any help !

Thank you
Toni

no avatar
Spelican
Member
 
Posts: 16
Joined: Sun Aug 28, 2011 6:21 pm

Re: Show Description when click button Show Controls

by Spelican » Wed Mar 12, 2014 9:33 am

Hi, you need modify xml code, i can help you, just send me xml.

--
Alex.

User avatar
benji33
Kolor Team
 
Posts: 2768
Joined: Tue Apr 09, 2013 10:59 am
Location: France

Re: Show Description when click button Show Controls

by benji33 » Wed Mar 12, 2014 3:09 pm

Into your_project_skin.xml file change :
Code: Select all
<action name="showTourControls">set(tour_displaycontrols, true); events.dispatch(showtourcontrols);</action>

into
Code: Select all
<action name="showTourControls">set(tour_displaycontrols, true); events.dispatch(showtourcontrols); showTourInfo();</action>


The description plugin selector must be on "current panorama" and it must "Respond to show/hide controls requests"

no avatar
Toni Fong
Member
 
Posts: 17
Joined: Thu Jul 11, 2013 2:40 pm

Re: Show Description when click button Show Controls

by Toni Fong » Wed Mar 12, 2014 4:33 pm

Perfect. Thank you Alex and Benjamim !


Return to Using Panotour / Panotour Pro

Who is online

Users browsing this forum: No registered users and 2 guests