I need a little help on custom scripts and was hoping someone has already worked on them
*caution* from some reason if your object is named with a capitol in it then custom scripts will not work on it - For example Rectangle1 will not work in custom scripts but rectangle1 will.
I am trying to customize text based on other parameters on page - For example if I ask a question of the user and they select wrong I could explain why it is wrong, if they are correct then I can let them know that. Right now it takes 3 slides to accomplish this
Here is what I have so far
xplain.animateTo('#rectangle2', 1, {backgroundColor:182100074 , fontSize:20,textAlign:"center", textContent:"Correct!"}, 0);
textContent, innerText and innerHTML are all destructive and whatever the containing object is, it is destroyed and we are left with just the text.
Is there a way to change the text without destroying the object and formatting?
Also is there a way to vertically align the text to middle?