简体   繁体   English

我正在尝试在WordPress.org网站上使用Textillate。 我无法正常工作

[英]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.

相关问题 我试图用 Node.js 抓取一个网站,但我被网站屏蔽了。 我该如何解决这个问题? - I am trying to scrape a website with Node.js, but I got blocked from the website. How can I solve this? 我正在尝试将JSON格式的API数据获取到我的网站。 如何获取所需的信息并将其发送到html页面中的div? - I am trying to get API data in JSON format to my website. How can I take the required info and send it to a div in the html page? 为什么除了简单的滑入效果之外,我无法让任何 textillate.js 动画工作? - Why am I unable to get any of the textillate.js animations to work except for the simple slide-in effect? 我在网站上添加了不好的js。 现在它不会完全加载,我无法找到管理员删除它 - I added bad js to my website. Now it won't load completely and I can't get to the admin to remove it 我正在尝试从网站中完全删除一个元素。 Chrome扩展程序 - I am trying to completely remove an element from a website. Chrome Extension 我试图让一个jquery插件在我的wordpress网站上工作 - I am trying to get a jquery plug in to work on my wordpress site 我刚开始学习 javascript,我正在尝试制作一个计算器网站,但无法让它工作 - i just started learning javascript and i'm trying to make a calculator website but can't get it to work 我正在尝试制作一个程序来锁定一个网站,但我无法让它工作 - I'm trying to make a program to lock a website, but I can't get it to work 我目前正在尝试使用 discord.js 编写一个船舶代码,但我无法让它工作 - I am currently trying to write a ship code with discord.js but i can't get it to work 我正在尝试使用javascript更改表单元格的属性,并且找到了我的建议,但似乎无法使它们正常工作 - I am trying to change the properties of a table cell with javascript and have found my suggestions but I can't seem to get them to work
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM