enabled="false" dont work if layer is parent of any layer?

  • Hi

    i have this situation:

    Code
    <layer name="a4_soba1" url="library/a4_soba1.jpg" keep="true" visible="false" alpha="0" align="center" onclick="close_popup(get(name));" >
    			<layer name="krizec1" keep="true" enabled="false" url="skin/krizec.png" align="righttop" x="-12" y="-12" visible="true" handcursor="false" />
    		</layer>

    Layer 'a4_soba1' is one of many popup windows i use in tour and are called by a user (changing visible and alpha).

    Problem is that the layer 'krizec1' isnt disabled. Onclick action on layer 'a4_soba1' doesnt work where layer 'krizec1' is visible. Handcursor of layer 'krizec1' also isnt disabled.

    Is that normal or am i doing smth wrong?

    I want to be layer 'krizec1' visible over layer 'a4_soba1' but mouse onclick action is defined with layer 'a4_soba1'

    If i move 'krizec1' up one level so that it doesnt have parent, then the 'enabled' function is working properly

Jetzt mitmachen!

Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!