0
In short: I want an algorithm similar to the subtitle transition but without audio or video, just a text transition with delay and fade.
Setting:
I have a array jagged with 20 arrays, each array is composed of 2 values: first containing the string of the legend and the according to containing the delay in milliseconds.
ps: The reason for this structure is to facilitate maintenance through JSON.
Example:
var arrLegendas = [
["legenda 1, blablalba", 2000],
["legenda 2, blablalbaaldaldald", 4000],
["legenda 3, bla", 1000],
["legenda 4, blablalbaasdasd", 3000],
]
I tried that and almost succeeded. It works perfectly if you take out the Fades (only the transition of the texts 'solida'). With the Fades, after the tenth transition (approximately), the texts begin to be placed after the fade I don’t know why.
see if this helps you http://jsfiddle.net/W47QV/4/
– kabstergo
@kabstergo Each legend has to have its own time of duration. I tried to adapt but it didn’t work http://jsfiddle.net/W47QV/286/
– ropbla9