Hi All,
after seen the plugins and the tween actions, i have a problem with keeping a plugin visible,
here is my code:
|
Source code
|
1
2
3
|
<!-- plugins --> <plugin name="ces" url="%FIRSTXML%/graphics/menus/ces.png" distorted="false" align="top left" scale="1.0" zorder="200" x="0.75%" y="1%" onover="set(plugin[ces_over].visible,true); tween(plugin[ces_over].alpha,1,0,default);" onover="set(plugin[cad].visible,true); tween(plugin[cad].alpha,1,0,default);" onout="tween(plugin[ces_over].alpha,0,0,default, set(plugin[ces_over].visible,false);" onout="tween(plugin[cad].alpha,0,0,default, set(plugin[cad].visible,false);" onclick="" />
<plugin name="ces_over" url="%FIRSTXML%/graphics/menus/ces_onover.png" distorted="false" align="top left" scale="1.0" zorder="201" x="0.75%" y="1%" visible="false" enabled="false" alpha="0" />
<plugin name="cad" url="%FIRSTXML%/graphics/menus/cad.png" distorted="false" align="topleft" scale="1.0" zorder="100" x="0" y="6%" visible="false" enabled="false" alpha="1" onover="set(plugin[cad].visible,true); tween(plugin[cad].alpha,1,0,default);" />
|
and i have two things who don't work:
-first, the on over of "ces" doesn't work
-second i would like to keep visible the cad-plugin when on over of himself.
I somebody have an xml example of what i'm looking for ( keep a plugin visible when onover - this plugin himself will be visible when a other plugin is on over ) if you want to see an example, it's here :
[url]http://www.gabrielacoca.fr/dernierpdg/mercredi/[/url], wait a little bit to complete loading, and then go to the button " chambres et suites". Thank for your help.