textillate
textillate copied to clipboard
html data api
Hello, sorry for my english,your work is very good,congratulations! I have a question,Is it possible using "data" attribute, (data like this)
h1 class=“title” data-in-effect="flash" data-in-duration ? data-in-loop? >My First flash Example
and to put "shuffle" attribute , "loop" attribute, "sync", duration and more etc etc
there is just data-in-effect and data-out-effect ? or there are other attributes ? can I have a list please? I prefer to use "data-" instead of jQuery to choose loop and shuffle etc..and I found nowhere a list on wiki or other
thanks a lot
Regards
any of the options you see in the document should be able to be used with the html data api as well. So yes, data-in-shuffle="true" or data-in-sync="true" should also work.
ok thank you a lot for your quick answer! your work is very great,thank you a lot for all that,thank you!
hello,I manage for all except for the loop attribute, I already try data-in-loop="true" and data-loop="true", but it doesn't work,an idea ? thanks a lot except this, everything is running good,thanks! it is not a problem if you have no the time,I can do with jQuery instead,just for this, Thanks Regards, Laurent
There was a small bug with the data-api and top level options such as loop. Grab the latest version (0.3.2) and let me know if that is fixed.
Thanks
ok so I grab the latest version, thanks "data-loop" is ok but add a out effect(hinge I think) with the default script (possible to disable the out effect ? just to know)
jQuery(function () { jQuery('.tilt').textillate(); })
==========="data-in-loop" not working============
in this other script if you put "data-loop" in html data "data-loop:false"
jQuery('.tlt').textillate({ in: {effect: 'fadeIn'}, out: { effect: 'fadeOut', shuffle: true }, loop: true });
it is not working, perhaps is normal because there is "loop:true" inside jQuery (just to show you)
so data-loop is working but add a second effect(hinge) with the default script(perhaps normal because looping so people perhaps need to disable the out effect I don t know) data-in-loop, not working if you have a loop pramater in jQuery ,html data api is not working (data-loop) jQuery is stronger. for "data-out-loop" i don't know yet. sorry for my english Jschr, I try to explain. So maybe everything is working normal now, thank you a lot! if you need, tell me what you want me to do, I can send you a link of my test site if you want.
Thanks a lot