<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Tahoma
}
--></style></head>
<body class='hmmessage'><div dir='ltr'>
<div>Hi all,</div><div><br></div><div>If I have a group layer definition such as the following :</div><div><br></div><div>var Test = new OpenLayers.Layer.WMS(</div><div> "Group Layer", mapserverUrl,</div><div> {</div><div> map: "C:/Users/Administrator/map.map",</div><div> layers: [</div><div> "First",</div><div> "Second",</div><div> "Third"</div><div> ],</div><div> format: "image/png",</div><div> transparent: "true"</div><div> <span style="font-size: 10pt; "> }</span></div><div> ,</div><div> { </div><div> isBaseLayer: false,</div><div> visibility: false,</div><div> opacity: opa</div><div> }</div><div> );</div><div><br></div><div>Is there a way I could change the opacity of just one of the layers belonging to the group layer?</div><div>Before adding a group layer I was using jquery to add a slider and a drop down menu to select a layer to change the opacity.</div><div>I am not sure if the layer opacity slider provided by GeoExt will make this easier or if there is a way to access a particular layer in the group layer by doing something like Test.layers[0]</div><div><br></div><div>Any ideas?</div><div><br></div><div>Thanks in advance </div>                                            </div></body>
</html>