2011-01-19, 15:21
Here's the set-up -
Vertical main list with Horizontal conditional lists based on what's currently selected from the main list.
Each Horizontal list has two conditional animations depending on whether the main list is scrolling up or down (OnPrevious, OnNext) to give it the effect it's moving with the main list.
The problem is when I scroll down fast and then scroll up the Horizontal list animation starts (slide and fade conditions at their respective 'start' values) but they never finish - they're stuck at the start until I scroll through the main list once.
This is the animation code -
Note: Scrolling up and then down works fine but if I reverse the order the animations appear in the code this way then fails and the other way works.
If you need the whole code let me know.
Thanks.
Vertical main list with Horizontal conditional lists based on what's currently selected from the main list.
Each Horizontal list has two conditional animations depending on whether the main list is scrolling up or down (OnPrevious, OnNext) to give it the effect it's moving with the main list.
The problem is when I scroll down fast and then scroll up the Horizontal list animation starts (slide and fade conditions at their respective 'start' values) but they never finish - they're stuck at the start until I scroll through the main list once.
This is the animation code -
PHP Code:
<animation type="Visible" condition="Container(300).OnNext">
<effect type="slide" start="0,26" end="0,0" time="160" />
<effect type="fade" start="60" end="100" time="200" />
</animation>
<animation type="Visible" condition="Container(300).OnPrevious">
<effect type="slide" start="0,-26" end="0,0" time="160" />
<effect type="fade" start="60" end="100" time="200" />
</animation>
Note: Scrolling up and then down works fine but if I reverse the order the animations appear in the code this way then fails and the other way works.
If you need the whole code let me know.
Thanks.