<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'; });
Angemeldete Mitglieder können Beiträge verfassen, Updates folgen und mehr. Neu hier? Registriere ein kostenloses Konto.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.