$spec_rating4 = (object)[];
$spec_rating4->css = '
row-title-transp {font-size:min(5vw, 25px)!important;}
.pr-rows-group {table-layout: fixed; width: 90%;}
pr-question-main {margin-top:20px;}
pr-elem-reminder {text-align:center; font-size:min(2.3vw, 18px); margin:auto; padding:10px;}
pr-question-main x-pad {text-align:center;}
.pr-row-body:not(:only-child):hover, .pr-row-xtra:hover {background: white;}
.pr-rows-group td {transition:0.3s;padding:5px;}
.ch {background: #b9deff!important;}
.pr-rows-group [cnum]:hover {background: #b9deff;cursor:pointer;user-select:none;}
@media(max-width:820px) {
pr-elem-reminder {padding:0;}
.pr-rows-group {table-layout: fixed; width: 100%;}
.pr-rows-group {width: 100%;font-size:80%;}
.pr-cell-head {width: 25%;}
}';
$spec_rating4->js = '
$(function() {
$(".pr-cell-body").removeClass("none");
$(".pr-row-head").remove();
$("pr-elem").css({display:"none"});
$(":radio").on("change", function() {
if( $(this).is(":checked") ) {
$(this).closest("td").addClass("ch");
} else {
$(this).closest("td").removeClass("ch");
}
});
});
$(function()
{
var arr = {};
$("[rnum]").each(function()
{
arr[$(this).attr("rnum")] = $(this).find("pr-row-title").html();
});
$(".pr-cell-head").remove();
$("pr-question-header").after("<row-title-transp style=\"padding:0 25px;margin-top:50px;font-weight:bolder;font-size:160%;text-align:center;display:block;line-height:1.5em;user-select:none;\"><x-pad></x-pad></row-title-transp>");
var _check_title_js = function() {
$("[rnum]").each(function()
{
if( $(this)[0].offsetHeight != 0 )
if( $("row-title-transp").html() != arr[$(this).attr("rnum")] )
$("row-title-transp").html( arr[$(this).attr("rnum")] );
});
}
_check_title_js();
var _int = setInterval(function() {
_check_title_js();
}, 150);
});
';
'cols' => [
1 => 'Совершенно НЕ согласен(а)',
2 => 'Скорее НЕ согласен(а)',
3 => 'Отчасти согласен(а), отчасти нет',
4 => 'Скорее согласен(а)',
5 => 'Полностью согласен(а)',
99 => 'Затрудняюсь ответить',
],
'vtext' => [
'r*c1' => 'Совершенно НЕ согласен(а)',
'r*c2' => 'Скорее НЕ согласен(а)',
'r*c3' => 'Отчасти согласен(а), отчасти нет',
'r*c4' => 'Скорее согласен(а)',
'r*c5' => 'Полностью согласен(а)',
'r*c99' => 'Затрудняюсь ответить',
],
'rshuffle' => true,
'fadein' => 2,
'js' => $spec_rating4->js.$gG->js->title_js,
'css' => $spec_rating4->css.'row-title-transp {margin-top:15px!important;}',
'crepeat' => 100,