Histórico da Página
...
Las matrículas bloqueadas también se pueden eliminar, es decir, al alumno con la matrícula bloqueada se le puede retirar su matrícula al grupo efectivamente. En este caso, pierde todo el progreso en el grupo, como ocurre en el retiro de las matrículas.
Estado | ||||
---|---|---|---|---|
|
HTML |
---|
<a id="toggleAll" href="#" >Expandir/ocultar informaciones complementarias. </a>
<script type="text/javascript">
var abertos = 0;
var fechados = 0;
function contador() {
abertos = 0;
fechados = 0;
jQuery(".expand-control").each( function() {
if (document.getElementById(this.id).children[0].className != "expand-control-icon icon expanded") {
fechados++;
} else {
abertos++;
}
});
}
AJS.toInit(function() {
contador();
var soma = abertos + fechados;
$("#toggleAll").html('Expandir/ocultar ' + soma + ' informaciones complementarias.');
AJS.$('#toggleAll').click(function() {
contador();
if (abertos >= fechados) {
jQuery(".expand-control").each(
function() {
if (document.getElementById(this.id).children[0].className == "expand-control-icon icon expanded") {
jQuery(this).trigger("click");
}
}
)
} else {
jQuery(".expand-control").each(
function() {
if (document.getElementById(this.id).children[0].className != "expand-control-icon icon expanded") {
jQuery(this).trigger("click");
}
}
)
}
});
});
</script> |
Ruta Básica
01. En el menú principal, accionar Aprendizaje.
...
Visão Geral
Import HTML Content
Conteúdo das Ferramentas
Tarefas