#mapDiv_zoom_slider { opacity:0.5; filter:Alpha(Opacity=50); }
dojo.style(dojo.byId("mapDiv_zoom_slider"), "opacity", "0.5");
You could try either adding a style for the element with the map_zoom_slider id: #map_zoom_slider { opacity:0.5; filter:Alpha(Opacity=50); } Or...add the dojo.style(dojo.byId("map_zoom_slider"), "opacity", "0.5"); code inside of the "onLoad" callback for the map object (say around line 59 in the original sample).
#map_zoom_slider { opacity:0.5; filter:Alpha(Opacity=50); }
Try this: dojo.style(dojo.byId("map_zoom_slider"), "opacity", "0.5")
dojo.style(dojo.byId("map_zoom_slider"), "opacity", "0.5")
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.