PowderPython: Fusion Reaction Simulation

  • boxmein
    6th Jul 2012 Former Staff 0 Permalink
    With JQuery, it should be fairly easy to implement spoilers.

    $(".spoiler").click(function() {
    if($(this).data(content) != undefined) {
    $(this).html($(this).data(content));
    }
    }
    // Provided that $(".spoiler").data(content) contains the spoilered text