[英]I am trying to use Textillate on a WordPress.org website. I can't get it to work
Perhaps you can help me. 也许你可以帮我。 I have a wordpress.org blog and I am trying to use Textillate animation from here: http://jschr.github.io/textillate/ .
我有一个wordpress.org博客,我正在尝试从此处使用Textillate动画: http ://jschr.github.io/textillate/。 I downloaded all the files and put them onto my server, followed the instructions, and added a header element and multiple unordered list elements as it says on the instruction page.
我下载了所有文件并将它们放到服务器上,按照说明进行操作,并按照说明页面上的说明添加了标头元素和多个无序列表元素。 I added the files to the head section of my webpages including the animate, fittest, textilliate, lettering, and jquery.
我将文件添加到了网页的顶部,包括动画,适体,textilliate,字母和jquery。 I cannot get it to work right.
我无法使其正常工作。
I went to JS Fiddle and put all my information on their website for the HTML, CSS, and JavaScript and I got it working on that site. 我去了JS Fiddle,将我所有的信息都放在HTML,CSS和JavaScript的网站上,然后在该网站上运行了。 But when I copy the exact same thing over into my own website, it doesn't do the animation.
但是,当我将完全相同的内容复制到我自己的网站中时,它不会进行动画处理。 Right now, I'm just trying to get the animation to fade in and out three different list items but all it does is show them all at once one.
现在,我只是想让动画淡入和淡出三个不同的列表项,但它所做的只是一次显示它们。
The code at JS Fiddle can be found here: http://jsfiddle.net/amandamays/Rvu9N/69/ JS Fiddle上的代码可以在这里找到: http : //jsfiddle.net/amandamays/Rvu9N/69/
<div class="black-bar">
<h2 class="tlt">
<ul class="texts">
<li>Stressed out?</li>
<li>Deadlines looming?</li>
<li>Writer's block?</li>
</ul>
</h2>
</div>
h2.tlt {
color: #59bce3;
}
.black-bar {
color: rgb(255, 255, 255);
background-color: rgb(68, 68, 68);
border: .133em solid rgb(68, 68, 68);
border-radius: .333em;
max-width: 100%;
padding: .3em .5em;
margin-top: .5em;
margin-bottom: .5em;
text-align: center;
}
ul {
list-style: none;
}
$('.tlt').textillate({ in : {
effect: 'fadeIn'
},
out: {
effect: 'fadeOut',
sync: true
},
loop: true
});
Any suggestions? 有什么建议么?
Amanda Mays 阿曼达·梅斯(Amanda Mays)
Can you fix it, using and download the wordpress plugin wp-textillate . 您能使用并下载wordpress插件wp-textillate来修复它吗 ?
On admin backend go to WP Textillate, in the left, and add all your text and animation. 在管理后端,转到左侧的WP Textillate,然后添加所有文本和动画。 After it, can you put it intro content with shortcode or using widgets.
之后,您可以使用简码或小部件将其介绍性内容吗?
I hope help you. 希望对您有帮助。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.