This blog describes how to automatically turn ON or OFF layers by turning ON or OFF just one layer.
You must first add javascript code into your Geo Web Site. This code must be loaded at the beginning with all other objects in your site. To do so, open…