(2017-05-19, 23:40)BobCratchett Wrote: [ -> ]@Guilouz - If you're using <skinshortcuts>visibility</skinshortcuts> in the template to automatically generate the visibility conditions, then you don't need to use anything - just a type="Visible" animation.
I have try this and it's not working :
Code:
<include name="Vis_FadeSlide_Right_Delayed_Home">
<animation type="Visible">
<effect type="fade" start="0" end="100" time="300" tween="sine" delay="300" easing="out" />
<effect type="slide" start="320" end="0" time="400" delay="300" tween="cubic" easing="out" />
</animation>
<animation type="Hidden">
<effect type="fade" start="100" end="0" time="300" tween="sine" easing="out" />
<effect type="slide" start="0" end="320" time="300" tween="cubic" easing="out" />
</animation>
</include>
I use template only for personalized widgets. If user choose personalized widget (with SendClick(312)), he have access to define widgets or he can choose preconfigured widgets and all widgets are already configured and can't be change.
Animations doesn't work in some conditions :
This configuration is OK ->
Main menu
- Movie -> Personalized widget <visible>String.IsEqual(Container(9000).ListItem.Property(widget),PersonalWidget)</visible>
- TV Show -> Preconfigured widget <visible>String.IsEqual(Container(9000).ListItem.Property(widget),TVShowWidget)</visible>
- Music -> Personalized widget <visible>String.IsEqual(Container(9000).ListItem.Property(widget),PersonalWidget)</visible>
- Music video -> Preconfigured widget <visible>String.IsEqual(Container(9000).ListItem.Property(widget),MusicVideoWidget)</visible>
This configuration is OK ->
Main menu
- Movie -> Preconfigured widget <visible>String.IsEqual(Container(9000).ListItem.Property(widget),MoviesWidget)</visible>
- TV Show -> Preconfigured widget <visible>String.IsEqual(Container(9000).ListItem.Property(widget),TVShowWidget)</visible>
- Music -> Preconfigured widget <visible>String.IsEqual(Container(9000).ListItem.Property(widget),MusicWidget)</visible>
- Music video -> Preconfigured widget <visible>String.IsEqual(Container(9000).ListItem.Property(widget),MusicVideoWidget)</visible>
This configuration doesn't work, animations do not work when personalized widgets are configured on 2 consecutive menu items ->
Main menu
- Movie -> Personalized widget <visible>String.IsEqual(Container(9000).ListItem.Property(widget),PersonalWidget)</visible>
- TV Show -> Personalized widget <visible>String.IsEqual(Container(9000).ListItem.Property(widget),PersonalWidget)</visible>
- Music -> Preconfigured widget <visible>String.IsEqual(Container(9000).ListItem.Property(widget),MusicWidget)</visible>
- Music video -> Preconfigured widget <visible>String.IsEqual(Container(9000).ListItem.Property(widget),MusicVideoWidget)</visible>