Hi DBear,
Thanks for your help above for only displaying an element if certain buttons were all clicked. Now I have another question I am hoping to get some help with. Using the same code above for scene load and button click, I would like something to display if a button is NOT clicked. this is what I have tried but without luck:
myButton1 = 0;
myButton2 = 0;
totalCheckAll = function(){
if(myButton1 = 0){
hypeDocument.getElementById('SomethingShows').style.display = "inline";
if(myButton2 = 0){ hypeDocument.getElementById('SomethingElseShows').style.display = "inline";
if(myButton1 > 0 && myButton2 > 0){
hypeDocument.getElementById('SomethingFinalShows').style.display = "inline"; }
}
}
Then on click for Button 1 or 2 I would have:
myButton1 += 1;
And on another button click I would run the function:
totalCheckAll();
Any idea how to get this to work?
Thanks!