';
$nextStep.addClass('noClick');
if (that.printNumeroStep) {
htmlUX += '
' + that.fraseNumeroStep + ' ' + (that.step + 1) + '/' + (that.maxStep + 1) + '';
}
if (that.loadingBar) {
htmlUX += '
';
}
$.each(that.arrayDomande, function (index, value) {
var domanda = value[0],
value = value.slice(1),
display = '';
if ($body.hasClass('background') && !$body.hasClass('pl_carrier') && index < (that.maxStep - that.carrierStep)) {
// Se non devo stampare la domanda, devo comunque contare le occorrenze dello sprite.
if (that.useSprite) {
$.each(value, function (i) {
that.nSprite++;
});
}
return true;
}
if ((index > 0 && (!$body.hasClass('background') || $body.hasClass('pl_carrier'))) || $body.hasClass('background') && index > (that.maxStep - that.carrierStep)) {
display = "style='display: none;'";
}
htmlUX += '
' + domanda + '
';
if (that.printImg) {
htmlUX += '
| ';
}
htmlUX += '';
$.each(value, function (i, v) {
var nRisp = value.length,
risposta = value[i],
rispostaClear = risposta.toLowerCase().replace(/ /g, "_"),
//classAnswer = rispostaClear,
classAnswer = '',
data_point = "[0,1,2,3]";
if (i >= (nRisp - 1)) {
classAnswer += " lastQuestionAnswer";
}
htmlUX += '';
if (that.useSprite) {
htmlUX += ' | ';
classAnswer += ' sprite';
that.nSprite++;
}
htmlUX += '';
htmlUX += '' + risposta + '';
htmlUX += '';
htmlUX += ' | ';
});
htmlUX += ' ';
if (that.printImg) {
htmlUX += ' |
';
}
htmlUX += '
';
});
htmlUX += '