Hi,
here a very simple example:
first declare the image, hidden at start (visible=false):
|
Source code
|
1
2
3
4
5
6
|
<layer name="image"
url="image.png"
align="center"
visible="false"
onclick="set(visible,false);"
/>
|
and then an other image as button to show it:
|
Source code
|
1
2
3
4
5
6
|
<layer name="button"
url="button.png"
align="bottom"
y="10"
onclick="set(layer[image].visible,true);"
/>
|
best regards,
Klaus