'js' => '
$("pr-question-main x-pad").prepend("<div class=clicktest></div>");
$("pr-question-main [rnum]").not($("[disall]").closest("[rnum]")).each(function() {
var id = ($(this).find(":checkbox").attr("id")) ? $(this).find(":checkbox").attr("id") : "none",
text = $(this).find("pr-row-title").html();
$(".clicktest").append("<label for=\"" + id + "\">" + text + "</label>");
$(this).css("display", "none");
});
$(":checkbox", ".pr-rows-group").on("change", function(){
var $this = $(this),
$label = $("[for=\""+$this.attr("id")+"\"]");
if ($label.length)
{
if ($this.is(":checked"))
{
$label.addClass("checked");
}
else
{
$label.removeClass("checked");
}
}
});
$("[disall]").on("change", function() {
if ($(this).prop("checked"))
$(".clicktest").css("pointer-events", "none").find("label").addClass("dis");
else
$(".clicktest").css("pointer-events", "").find("label").removeClass("dis");
})
',
'css' => '
.checked {background: #fffa70;}
.dis {background: none !important;}
.clicktest { padding: 10px; margin-top: 20px; line-height: 1.2; border: 1px solid grey; font-size: 120%;}
',