• I’m creating a quiz blog that asks people questions. The answer to every question is going to be in a picture file like a jpg.

    I want to somehow hide the thumbnail photo on the same page as the question, and only when they click on “show me the answer” will the thumbnail photo appear.

    is there something out there that can do something similar to this?

Viewing 1 replies (of 1 total)
  • You can actually do this with some Javascript if you really want to. For example, if your answer is called “answer-1,” the following scripts will work.

    <img src="whatever.jpg" id="answer-1" style="visibility:hidden;" />
    <p><a href="#" onclick="document.getElementById("answer-1").visibility='visible';">Show me the answer</a></p>

    When you click the link, it will fire the Javascript code that will tell the img to change its visibility from “hidden” to “visible.” This saves on plug-in development …

Viewing 1 replies (of 1 total)

The topic ‘does a plugin like this exist?’ is closed to new replies.