Dunninger

Joseph Dunninger, known professionally as Dunninger, was an American mentalist who peaked in popularity during the 1930s and 1940s. He performed numerous feats of mentalism and hypnosis on stage and on radio programs. Dunninger’s signature tricks involved identifying hidden objects and prediciting headlines in newspapers. He insisted his abilities were genuine psychic powers.

var accordions = document.getElementsByClassName("accordion"); var i; for (i = 0; i < accordions.length; i++) { accordions[i].addEventListener("click", function() { this.classList.toggle("active"); var panel = this.nextElementSibling; if (panel.style.maxHeight){ panel.style.maxHeight = null; } else { panel.style.maxHeight = panel.scrollHeight + "px"; // Adjust maxHeight of all ancestor panels var parentPanel = panel.parentElement; while (parentPanel.className === "panel") { parentPanel.style.maxHeight = parentPanel.scrollHeight + panel.scrollHeight + "px"; parentPanel = parentPanel.parentElement; } } }); }