<DIV>Hi list,</DIV>
<DIV> </DIV>
<DIV>I tried to customize LegendTemplate in order to expand/collapse group of layer legend ; This works well ;</DIV>
<DIV>My problem now is to select/unselect a group of layer by a checkbox for the group like in XmlThemeLegend</DIV>
<DIV>I have this code </DIV>
<DIV> </DIV>
<DIV> <input type="checkbox" name="legendgroupname[]" <BR> value="[leg_group_name]"<BR> [if name=layer_status oper=eq value=1]CHECKED[/if]<BR> [if name=layer_status oper=eq value=2]CHECKED[/if]<BR> ></DIV>
<DIV> </DIV>
<DIV>I need an Onclick=checkAll() event in the input tag but i don't know how to get variables for group_status as a result of its layer_status ?</DIV>
<DIV> </DIV>
<DIV>Any hints ?</DIV>
<DIV> </DIV>
<DIV>Thanks</DIV><p><br><hr size=1>Post your free ad now! <a href="http://ca.personals.yahoo.com/"><b>Yahoo! Canada Personals</b></a><br>