Hi
Here is my problem : https://www.kreaction.com/App/test/Appli_test/
I create a container with a button inside (i mean it's his child).
When i put my mouse onover the button must change his url, it's work fine.
But when i scale the container the onover action not working !!!
Here my code :
Code
<krpano version="1.20.9" bgcolor="0xFFFFFF" showlog="true" showerrors="true" logkey="true" >
<layer name="mycontainer" type="container" scalechildren="true" bgalpha="1" bgcolor="0x5a5a5a" align="center" x="-100" width="100" height="100" scale="1" >
<layer name="my_bt" url="%HTMLPATH%/medias/ui/bt_droite_off.png" align="center"
onover="set(url,%HTMLPATH%/medias/ui/bt_droite_on.png)"
onout="set(url,%HTMLPATH%/medias/ui/bt_droite_off.png)" />
</layer>
<layer name="mytext" type="text" html="scale container" bgalpha="1" bgcolor="0x5a5a5a" align="center" x="100" css="font-family:Arial; font-size:16px; color:#FFFFFF;"
onclick="switch(layer[mycontainer].scale, 0.8, 1);" />
</krpano>
Alles anzeigen