2017-05-19, 12:40
Hi,
I have a question. I try to use template, it's working but I have problem with animations.
Before I used DefaultWidget to show widgets in my overrides.xml :
And used this to show my animations :
I used 'String.IsEqual(Container(9000).ListItem.Property(widget),$PARAM[id])' before, but now, what I need to use ?
I have a question. I try to use template, it's working but I have problem with animations.
Before I used DefaultWidget to show widgets in my overrides.xml :
Code:
<!-- Default Widgets -->
<widgetdefault labelID="disc">DiscWidget</widgetdefault>
<widgetdefault labelID="movies">MoviesWidget</widgetdefault>
<widgetdefault labelID="tvshows">TVShowsWidget</widgetdefault>
<widgetdefault labelID="music">MusicWidget</widgetdefault>
<widgetdefault labelID="musicvideos">MusicVideosWidget</widgetdefault>
<widgetdefault labelID="livetv">LiveTVWidget</widgetdefault>
<widgetdefault labelID="radio">RadioWidget</widgetdefault>
<widgetdefault labelID="games">GamesWidget</widgetdefault>
<widgetdefault labelID="addons">AddonsWidget</widgetdefault>
<widgetdefault labelID="pictures">PicturesWidget</widgetdefault>
<widgetdefault labelID="video">VideoWidget</widgetdefault>
<widgetdefault labelID="favorites">FavoritesWidget</widgetdefault>
<widgetdefault labelID="weather">WeatherWidget</widgetdefault>
And used this to show my animations :
Code:
<include content="Visible_Right_Delayed_Home">
<param name="id" value="MoviesWidget"/>
</include>
Code:
<include name="Visible_Right_Delayed_Home">
<include condition="Skin.HasSetting(no_slide_animations)">Visible_Fade</include>
<include content="Vis_FadeSlide_Right_Delayed_Home" condition="!Skin.HasSetting(no_slide_animations)">
<param name="id" value="$PARAM[id]" />
</include>
<include name="Vis_FadeSlide_Right_Delayed_Home">
<animation type="Conditional" condition="String.IsEqual(Container(9000).ListItem.Property(widget),$PARAM[id])">
<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 used 'String.IsEqual(Container(9000).ListItem.Property(widget),$PARAM[id])' before, but now, what I need to use ?