Разработка экспертной системы
Курсовой проект - Компьютеры, программирование
Другие курсовые по предмету Компьютеры, программирование
="2" /> Нет
Файл views/results.php:
Оптимальным видом спорта для вас будет
бобслей;}
$result .= ;
Файл views/style.css:, body {:auto;top:5px;
}
#main {:auto;:5px;:400px;:1px solid gray;align:left;color:#fff8eb;
}
#title {:auto;bottom:10px;:5px;:400px;:1px solid gray;align:center;color:#fff8eb;
}
.question {
display:none;
margin:5px;
padding:5px;
background-color:#e7f0f5;
border:1px solid #84ccf5;
}
#submit {:none;
}
#buttons {:auto;align:center;
}
#back {:none;
}[type=radio] {top:5px;
}
.result {
margin:5px;
padding:5px;
background-color:#e7f0f5;
border:1px solid #84ccf5;
}{decoration: none;transform: lowercase;: #666666;
}
Файл js/main-script.js:currQuestion = 1;
$(document).ready(function() {
$("#main, #title").corner("8 px");
$(".question, .result").corner("8 px");
$("#question1").show();
$("#next").click(function() {(currQuestion < 11) {
$("#question" + currQuestion).hide();++;
$("#question" + currQuestion).show();
$("#back").show();
}else {
$("#submit").show();
$(this).hide();
}
});
$("#back").click(function() {(currQuestion > 1) {
$("#question" + currQuestion).hide();-;
$("#question" + currQuestion).show();
$("#next").show();
$("#submit").hide();
}else {
$(this).hide();
}
});
})