[Chameleon] JSTreeView

Edith TAKI edithaki at yahoo.ca
Thu May 26 08:39:05 EDT 2005


Skipped content of type multipart/alternative-------------- next part --------------

<!-- LEGEND-->
 [leg_group_html]
</div> 
<div id="[leg_group_name]">

    <div class="groupLabel">
 
  <input type="checkbox" name="legendgroupname[]" 
               value="[leg_group_name]"
        [if name=layer_status oper=eq  value=1]CHECKED[/if]
        [if name=layer_status oper=eq value=2]CHECKED[/if]
        onclick="checkAll();">

          <a href="javascript:void(0);" onclick="toggleLayer('[leg_group_name]_layer');">[leg_group_name] </a>
    </div> <!-- GroupLabel-->

</div>
<div id="[leg_group_name]_layer" style="display:none">   
 [/leg_group_html]

[leg_layer_html order=ascending opt_flag=15]

  <div>
    [if name=SHOWINLEGEND  oper=isnull]
      <span class="layerTitle">
        <input type="checkbox" name="legendlayername[]" 
               value="[leg_layer_name]"
        [if name=layer_status oper=eq  value=1]CHECKED[/if]
        [if name=layer_status oper=eq value=2]CHECKED[/if]>
        
     </span>
      
      <span>
        <img src=[leg_icon]>
      </span>
     
      
        [if name=wms_title oper=isnull]
          <span class="layerLabel"> [leg_layer_name] </span>
        [/if]

        [if name=wms_title oper=isset]
           <span class="layerLabel"> [metadata name=WMS_TITLE]  </span>
        [/if]
      
   
    [/if]

      [if name=SHOWINLEGEND oper=isset]
         <input type="hidden" name="legendlayername[]" value="[leg_layer_name]">
      [/if]
   </div>
[/leg_layer_html]

<script language="javascript">

function checkAll()
{

}

</script>


More information about the Chameleon mailing list