
FAIR is a non-profit organization dedicated to providing well-documented answers to criticisms of the doctrine, practice, and history of The Church of Jesus Christ of Latter-day Saints.
MikeParker (talk | contribs) (Created page with "ββAny JavaScript here will be loaded for all users on every page load.: $(document).ready(function () { // Buscar cada bloque que define el collapse $(".collapsible-header").each(function () { var header = $(this); var content = header.next(".collapsible-content"); // SOLO el siguiente bloque // Si no hay contenido asociado, ignorar if (content.length === 0) return; // Asegurar que empiece cerrado co...") |
(No difference)
|
/* Any JavaScript here will be loaded for all users on every page load. */
$(document).ready(function () {
// Buscar cada bloque que define el collapse
$(".collapsible-header").each(function () {
var header = $(this);
var content = header.next(".collapsible-content"); // SOLO el siguiente bloque
// Si no hay contenido asociado, ignorar
if (content.length === 0) return;
// Asegurar que empiece cerrado
content.hide();
// Indicador visual
header.append(' <span class="collapse-toggle">[+]</span>');
// Hacer clickeable
header.css("cursor", "pointer");
// Evento de colapso
header.on("click", function () {
content.slideToggle(200);
// Cambiar indicador
var toggle = header.find(".collapse-toggle");
toggle.text(toggle.text() === "[+]" ? "[-]" : "[+]");
});
});
});

FAIR is a non-profit organization dedicated to providing well-documented answers to criticisms of the doctrine, practice, and history of The Church of Jesus Christ of Latter-day Saints.
We are a volunteer organization. We invite you to give back.
Donate Now