Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Garbled handling #6

Open
aethant opened this issue Mar 23, 2013 · 5 comments
Open

Garbled handling #6

aethant opened this issue Mar 23, 2013 · 5 comments

Comments

@aethant
Copy link

aethant commented Mar 23, 2013

Perhaps I'm missing it on the demo/desc page, but is this plugin not capable of handling li tags with div's and the like nested inside them? I use animate.css, and I know, for example, it will work with images and so on, so perhaps I'm just doing something wrong.

I have an unordered list with various list items, inside of which are a div with a span and p tag. When the page first displays, it shows all the text, unformatted, in one massive paragraph. It applies the animation, and brings back -2- of that paragraph. Animation, and now it shows single lines, but, again, without any formatting applied.

Again, perhaps I'm doing something wrong. I can see in the console that the script is doing it's thing, and at the paragraph phase, it seems that multiple lines are wrapping in the word classed spans the script uses.

Admittedly, I'm using the initialization and passing parameters; I've yet to try the markup and see if makes a difference.

Any suggestions would be greatly appreciated. Thank you!

@jschr
Copy link
Owner

jschr commented Mar 23, 2013

Right now the plugin is only expecting text or a list of texts as input. If you have other html elements inside them, I could see it causing unexpected results.

It's something I've definitely been thinking about how to support nicely however. I hope to have something in the new version.

@aethant
Copy link
Author

aethant commented Mar 24, 2013

Great. I'll look forward to it!

Thank you.

@jacksnap13
Copy link

Perhaps a related subject or perhaps I'm just ignorant... I'm unable to define custom effects in the texts class (li). It seems to just default to the default. I did see your jsbin re: the 'tlt' class but can't reproduce this in the 'texts' class.

You can see my experiment here. Waterfall sounds ahead beware!

http://paulclarkphoto.com/dukesCreek/

Thanks so much for this. I love it!

@jschr
Copy link
Owner

jschr commented Apr 2, 2013

Seems to be unrelated to this but looks like it could be an issue.

#8

@Sazed71
Copy link

Sazed71 commented May 20, 2014

I use two 'p' tag and the problem is solved. The screen shots are here....
screenshot from 2014-05-20 08 32 32

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants