I am trying to get a div container to show when a specific layer is turned on and turn off a div once a new layer is selected.
Please see attached I am open to suggestions. Thanks.
Solved! Go to Solution.
Craig Linn you can use esri/domUtils hide and show methods to quickly hide and show a dom node. Here's a link to slightly modified version of your code that shows/hides the layer info depending on the toggled check-box.
Craig Linn you can use esri/domUtils hide and show methods to quickly hide and show a dom node. Here's a link to slightly modified version of your code that shows/hides the layer info depending on the toggled check-box.