Sie sind nicht angemeldet.

1

Dienstag, 19. Januar 2010, 16:03

parent / child

Hi there,

Could anyone let me know whether the parent / child features work as documented - I have tried them in all sorts of ways with no luck.

None of my posts have been replied to yet and I really need an answer to this one so I would be super grateful if anyone knows

Thanks
Tudor

2

Dienstag, 19. Januar 2010, 16:16

Hi wontfail99,
parent/child system:
  • parent attribute for all plugins/hotspots
  • usage:
    • parent="pluginname" or parent="plugin[pluginname]" or parent="hotspot[hotspotname]"
  • the aligment of a child refers then to the parent
  • can be changed dynamically
  • "scalechildren" attribute - to scale also child plugins on parent scaling, default="false"
Klaus has made an example: PARENT/CHILD EXAMPLE

SAlut.

3

Dienstag, 19. Januar 2010, 17:45

Hi,

Thanks for getting back - I have used that with no success
The child node is

<plugin name="closebutton" keep="true" visible="true" url="buttons/close.gif" parent="plugin[INFO-box]" zorder="99" align="righttop" x="1" y="2" rotate="0" crop="0|0|19|19" onovercrop="0|19|19|19" ondowncrop="0|38|19|19" ondown="action(flyback);" onup=""
/>

and it appears nowhere near the parent node!

any suggestions?
T

4

Dienstag, 19. Januar 2010, 21:32

parent="info-box"

try that, no need for the rest.

Ähnliche Themen