Tutorial: Using a Variable to set Text Button Styles

Special forum to share and discuss skins for Pano2VR and Object2VR
Post Reply
User avatar
Posts: 999
Joined: Mon Feb 15, 2010 6:54 am
Location: Adelaide, South Australia

Fri Feb 07, 2020 6:20 am


In response to this post, viewtopic.php?f=6&t=14221, by Mattmatt21 asking if he could change the font on "Variable Changed" event, I've created this "Little Bits" tutorial.

hvb_preview.jpg (523.8 KiB) Viewed 3214 times

Here's the finished project https://p2vrtutorials.s3-ap-southeast-2 ... index.html

You can find the tutorial at https://tonyredhead.com/pano2vr-little- ... s-variable

The tutorial comes with a basic skin, local fonts and a CSS file.

In the tutorial we will modify the skin by;
  • Reviewing the elements that make up the CSS file
  • Adding a Variable
  • Setting up the CSS buttons
  • Adding Actions to change the Variable value
  • Integrating the images
  • Activating the Close button and screen tint
Once again feedback and comments welcomed.


Tony Redhead | Panoramic Photographer | mobile: +61438501002 | website: http://tonyredhead.com - http://redsquare.com | roundme: http://round.me/@tonyredhead | instagram: https://www.instagram.com/tonyredhead/
Post Reply