<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<META NAME="Generator" CONTENT="MS Exchange Server version 6.5.7654.12">
<TITLE>LayerSwitcher Event</TITLE>
</HEAD>
<BODY>
<!-- Converted from text/rtf format -->
<BR>
<P><FONT SIZE=2 FACE="Arial">Hello,</FONT>
</P>
<P><FONT SIZE=2 FACE="Arial">Today I try to realise a "trigger" for my LayerSwitcher. Something like "onLayerClick" or so.</FONT>
</P>
<P><FONT SIZE=2 FACE="Arial">I want to start a function if I select/unselect a layer in the Layerswitcher. In my Layerswitcher I have a Layer. If I select this Layer, then I want to set the opacity from all other layers to 50%. If I unselect the Layer the opacity should change again to not transparent.</FONT></P>
<P><FONT SIZE=2 FACE="Arial">I think I need a trigger function for that layer. If I select some Layer I would fire a function. I think it would be possible, but I don't know how to realise.</FONT></P>
<P><FONT SIZE=2 FACE="Arial">Perhaps somebody can help me. Or is there something like this already in OpenLayers what I have not found?</FONT>
</P>
<P><FONT SIZE=2 FACE="Arial">Thank you for your help.</FONT>
</P>
<P><FONT SIZE=2 FACE="Arial">Greetings</FONT>
<BR><FONT SIZE=2 FACE="Arial">Hanno Rahn</FONT>
</P>
<BR>
<P><FONT FACE="Arial"> </FONT>
<BR><FONT FACE="Arial"> </FONT>
</P>
</BODY>
</HTML>