[Chameleon] layer manager

Naijun Zhou zhou_naijun at hotmail.com
Fri Oct 15 12:46:18 EDT 2004


Hi,

I'm adding the layer management buttons (up/down/delete) into the main 
viewer page instead of launching a new window. When a layer is selected from 
the radio button in the main page, I hope to catch the selected layer's name 
in another widget. But I cannot do this.

I think the radio button is defined in lengend_template.html:
    <td><input type="radio" name="my_legend" 
onclick="CWCSelectLayer('[leg_layer_name]', true)"[if name=selected value=1] 
CHECKED[/if] ></td>
...
    <td><a href="#" 
onclick="javascript:LegendTemplateLayerInfo('[leg_layer_name]');"><span 
class="label">[leg_layer_name]</span></a></td>

How can I get the selected layer name in another php widget? Are there 
hidden variables I missed?

Thank you very much!

N. Zhou

_________________________________________________________________
Express yourself instantly with MSN Messenger! Download today - it's FREE! 
http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/



More information about the Chameleon mailing list