I am trying to display a list of names and have them appear one line at a time in my slider.
I used line breaks in my text item in order to achieve this and it looks good in the static preview window, But when I preview the layer or the slide or view the slider on an actual web page all the text appears on a single line.
My text looks like the following:
Sunshine <br> Blossom <br> Princess <br> Pie
I would like to use the opening text transition effect animated by lines descending which I believe requires the use of text type content. Please let me know if there is a way to make this display correctly.
The code and method you have used is correct and would work in normal circumstances. However the BR tags are removed since it is a layer transition. We are using a 3rd party library for the 3D text transitions which removes these tags and this behavior cannot be changed unfortunately.
As a workaround you can set up a really small width for the layer, lets say 10px, remove the BR tags, and then enable the word-wrap option in the layer settings. This should automatically break your lines.
It does work, but not with manual line breaks (BR tags). The option was meant to be used for long texts that are automatically divided into multiple lines.
As I've mentioned we are using a 3rd party library for the 3D text transitions which removes these tags and unfortunately it cannot be changed since it is an external source.
In any case, the workaround I have suggested in my last reply is viable and can be used as an alternate solution for this.
I was not able to get the animate by lines descending working correctly with the workaround. I was able to get the text displaying correctly but not the animation
I am trying to display a list of names and have them appear one line at a time in my slider.
I used line breaks in my text item in order to achieve this and it looks good in the static preview window, But when I preview the layer or the slide or view the slider on an actual web page all the text appears on a single line.
My text looks like the following:
Sunshine <br>
Blossom <br>
Princess <br>
Pie
I would like to use the opening text transition effect animated by lines descending which I believe requires the use of text type content. Please let me know if there is a way to make this display correctly.
Hey ADHDassassin,
The code and method you have used is correct and would work in normal circumstances. However the BR tags are removed since it is a layer transition. We are using a 3rd party library for the 3D text transitions which removes these tags and this behavior cannot be changed unfortunately.
As a workaround you can set up a really small width for the layer, lets say 10px, remove the BR tags, and then enable the word-wrap option in the layer settings. This should automatically break your lines.
So does the text opening transition animate by lines descending no longer work?
It does work, but not with manual line breaks (BR tags). The option was meant to be used for long texts that are automatically divided into multiple lines.
As I've mentioned we are using a 3rd party library for the 3D text transitions which removes these tags and unfortunately it cannot be changed since it is an external source.
In any case, the workaround I have suggested in my last reply is viable and can be used as an alternate solution for this.
I was not able to get the animate by lines descending working correctly with the workaround. I was able to get the text displaying correctly but not the animation
Please show us your site or a test page where we can check on this.
Oh I guess I had it set so fast I didn't notice that effect was working. Thanks!