I'm making a hidden map quiz, and have some paths which aren't answers, but are still hidden to not 'give away' nearby ones. But I do want them to show up when the quiz ends. Any tips?
You need to use css styles to do this. Basically, JetPunk will add the class “post-quiz” to the svg-holder element. You’ll just need to do something like this:
< style >
.post-quiz .sample {
opacity: 1;
fill: red;
}
< /style >
Note the space between the class for the svg-holder and the class for your sample element (which in my example would have but should be what you use). This space must be there.
Oh, and get rid of the space between style and the < brackets.
< style >
.post-quiz .sample {
opacity: 1;
fill: red;
}
< /style >
Note the space between the class for the svg-holder and the class for your sample element (which in my example would have but should be what you use). This space must be there.
Oh, and get rid of the space between style and the < brackets.