CC aplicado
This commit is contained in:
+10
-10
@@ -159,19 +159,19 @@
|
||||
<div class="col-12">
|
||||
<div class="d-flex flex-row justify-content-center align-items-center gap-3">
|
||||
<div class="object-btn text-center d-inline-block animate__animated animate__pulse animate__infinite" data-obj="0">
|
||||
<img src="img/07.0.png" class="img-fluid">
|
||||
<img src="img/07.4.png" class="img-fluid">
|
||||
</div>
|
||||
<div class="object-btn text-center d-inline-block animate__animated animate__pulse animate__infinite" data-obj="1">
|
||||
<img src="img/07.1.png" class="img-fluid">
|
||||
<img src="img/07.3.png" class="img-fluid">
|
||||
</div>
|
||||
<div class="object-btn text-center d-inline-block animate__animated animate__pulse animate__infinite" data-obj="2">
|
||||
<img src="img/07.2.png" class="img-fluid">
|
||||
</div>
|
||||
<div class="object-btn text-center d-inline-block animate__animated animate__pulse animate__infinite" data-obj="3">
|
||||
<img src="img/07.3.png" class="img-fluid">
|
||||
<img src="img/07.1.png" class="img-fluid">
|
||||
</div>
|
||||
<div class="object-btn text-center d-inline-block animate__animated animate__pulse animate__infinite" data-obj="4">
|
||||
<img src="img/07.4.png" class="img-fluid">
|
||||
<img src="img/07.0.png" class="img-fluid">
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@@ -223,7 +223,7 @@
|
||||
const bad = CourseNav.createSound('audio/feedback-incorrect.mpeg');
|
||||
const good = CourseNav.createSound('audio/feedback-correct.mpeg');
|
||||
|
||||
const urlExcelFile = 'verdadero_falso.xlsx';
|
||||
const urlExcelFile = 'Actividades_Rotafolio_Vantive.xlsx';
|
||||
|
||||
function readExcelFile(url, callback) {
|
||||
var xhr = new XMLHttpRequest();
|
||||
@@ -274,8 +274,8 @@
|
||||
|
||||
// Cargar preguntas al inicio
|
||||
readExcelFile(urlExcelFile, function(data) {
|
||||
const sheetData = data[Object.keys(data)[0]];
|
||||
questions = procesarPreguntas(sheetData);
|
||||
const hojaDatos = data["Diapositiva 7"];
|
||||
questions = procesarPreguntas(hojaDatos);
|
||||
});
|
||||
|
||||
$('.object-btn').click(function (e) {
|
||||
@@ -289,9 +289,9 @@
|
||||
});
|
||||
|
||||
function showRandomQuestion() {
|
||||
// Seleccionar pregunta aleatoria
|
||||
const randomIndex = Math.floor(Math.random() * questions.length);
|
||||
currentQuestion = questions[randomIndex];
|
||||
// Seleccionar pregunta en orden secuencial
|
||||
currentQuestion = questions[currentQuestionIndex];
|
||||
currentQuestionIndex = (currentQuestionIndex + 1) % questions.length;
|
||||
|
||||
const html = $("#pops-questions").html();
|
||||
Swal.fire({
|
||||
|
||||
Reference in New Issue
Block a user