I have a tour (v6) that opens content windows with iframes. In the iframe content are buttons that I'd like to control the skin. Here's what I have but the variable won't get updated. Using same domain so no cross traffic issues...any thoughts would be most helpful
Code: Select all
<script>
function myFunction() {
//alert("I am an alert box!");
parent.pano.setVariableValue('program_content', false);
};
</script>
<div class="action-button" onclick="myFunction()">See my lab in action</div>