Hi all,
I'm quite a newbie and I need some help with a very important uni project I'm working on.
Basically, I'm trying to build an e-reader with some extra animated content (illustrations, text animations etc.).
I've managed to get most of the effects working and I even managed to implement some things like GreenSock SplitText, but I'd really like to be able to get a big chunk of text (for example a short story) and divide it dynamically into prepared text boxes that I can use later to animate the book.
Right now I have the text divided into boxes manually and it doesn't look too good - every text block has a different number of lines (cause I figured I have to end the block with a complete sentence) and I'd really love to have a whole block filled with text then neatly continuing on the next one.
I have a feeling that I should be able to get the max number of lines that my box is able to show (box height vs height of the text in px) and somehow proceed to split/divide the rest of the text on to the next container/box.
I'd be really grateful if anyone could give me some insight into this matter.
Much obliged,
Z.