function show_miniatura(){ document.getElementById("MIN_info").style.display = "block"; document.getElementById("MISU_info").style.display = "none"; document.getElementById("MANU_info").style.display = "none"; } function show_manoscritto(){ document.getElementById("MANU_info").style.display = "block"; document.getElementById("MISU_info").style.display = "none"; document.getElementById("MIN_info").style.display = "none"; } function show_misurazione(){ document.getElementById("MISU_info").style.display = "block"; document.getElementById("MANU_info").style.display = "none"; document.getElementById("MIN_info").style.display = "none"; } var img_nl = [{ type: "image", url: "https://fitzmuseum.cam.ac.uk/illuminated/media/w1400h1400/folio_original/marlay-cutting-it-13a.jpg" }]; var img_el = [{ type: "image", url: "img/Pb-L.png" }]; var img_sid = [{ type: "image", url: "img/spettro.jpeg" }]; runOpenseadragon(img_nl); function clearViewer() { var div = document.getElementById("contentDiv"); while(div.firstChild) { div.removeChild(div.firstChild); } } function show_riproduzione(){ clearViewer(); runOpenseadragon(img_nl); } function show_materiale(){ clearViewer(); runOpenseadragon(img_el); } function show_spettro(){ clearViewer(); runOpenseadragon(img_sid); }