How to change image of layer and set text on the image

  • Hi,


    I need to change the layer's image when I clicked on that image. Then how I should have a text on that layer ie. on the image.


    <layer name="skin_thumbs_container1" type="container" align="righttop" width="100%" height="10%" y="-130" visible="true" >
    <layer name="va" url="images/theme.png" align="lefttop" x="10" y="-40" scale="1.5" enabled="true" visible="true" keep="true" onclick="skin_showthumbs1();" />
    <layer name="ds" url="images/contemp.png" align="lefttop" x="10" y="0" scale="1.5" enabled="true" keep="true" onclick="load_comtemp" />
    </layer>

    <action name="load_comtemp">
    js(themeChanger('new_home_contemporary.xml'));
    </action>


    Thanks.

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!