<div id="attribcent" dojotype="dijit.layout.ContentPane" region="right" style="display: none">
document.getElementById("attribcent").style.display = 'block';
I'd like a ContentPane to be hidden on page load, then make it visible dynamically when a particular event is triggered
dojo.connect(element, "event", function(evt) { document.getElementById("contentPaneId").style.display = 'block'; });
Membros conectados podem postar, seguir atualizações e mais. Novo aqui? Registre uma conta gratuita.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.