首页 文章
  • 0 votes
     answers
     views

    typed.js无法在IE上运行

    我在本网站上使用typed.js作为文本动画:https://howareyoudoing.today/ 它适用于Chrome和Firefox . 但是在IE上,它不想初始化并且它阻止了我的脚本 . 有解决方案吗
  • 1 votes
     answers
     views

    Typed.js无效

    我启动typed.js但是没有工作,控制台中没有显示错误 $(function(){ $('.animate-text').typed({ strings:[ "Muhammad Saim", "Programmer", "Web...
  • 0 votes
     answers
     views

    Typed.js用现有文本初始化然后循环它

    我正在使用typed.js来输入一些单词 . 我想在页面加载并从那里开始循环时显示第一个单词 . 为了得到这个结果,我只是在span标签之间放置了“nice”,这就是诀窍 . 但是......在查看下面的代码集时,您可以看到第一个循环是正确的 . 当第二个循环开始时,第一个单词(nice)没有被输入但只是出现并快速消失 . 我真的可以用一些帮助解决这个问题 . 有什么想法吗? var typewr...
  • 0 votes
     answers
     views

    从typed.js添加和删除功能

    I'm using the typed.js plugin to add some typing text to a site I'm working on. 我的问题是: 在typed.js中,有一个名为“humanize”的函数,它为文本的输出方式添加了一个随机元素 . var humanize = Math.round(Math.random() * (100 - 30)) + this.t...
  • 0 votes
     answers
     views

    如何使用angular2 / 4安装或集成typed.js?

    我试图将typed.js集成到角度两个但它不起作用 . 文字显得不错,但没有动画 . 我已经安装了jQuery和typed.js但是动画仍然无法正常工作 . import { Component } from '@angular/core'; import { Typed } from 'typed.js'; import * as $ from 'jquery/dist/jquery.min.j...
  • 1 votes
     answers
     views

    Typed.js退格文本字符串

    我正在尝试使用typed.js对h1元素进行输入效果 . 我希望能够在键入新元素之前“退格”h1中的当前字符串 . $(function(){ $("#hello").typed({ strings: ["Hello Connor."], typeSpeed: 100 }); }); $('#categories h3').clic...
  • 0 votes
     answers
     views

    Typed.js文本未显示

    我正在尝试实现Typed.js的新ES6模块版本(不是jQuery版本),但文本不是't appearing - only the cursor (which remains stationary and doesn' t闪烁 . ) 我通过NPM安装了没有问题的库,并且正在使用Webpack进行编译 . 当我检查我编译的 app.js 时,该库出现了 . app.js 正在正确加载页面,我在...
  • -1 votes
     answers
     views

    typed.js问题

    尝试将typed.js实现为我的基本网页中的一项功能,但是,我遇到了一些问题 . 我已将typed.js文件移动到我的文件结构中 - js/typed.js . 我确信这是一个非常简单的问题,我根本无法弄清楚 . 向正确的方向点头表示赞赏 . HTML <h1 id="mainTitle">Hello World</h1> <p id=&qu...
  • 1 votes
     answers
     views

    使用typed.js产生毛刺效果

    在我的网站上使用typed.js时,循环后有一个小故障 . 此外,如果showCursor属性为true,则光标出现在下一行而不是文本 . var typed = new Typed("#typed-text", { strings: ["I am a Web Developer.", "I am an Engineer.", &qu...
  • 0 votes
     answers
     views

    sweetalert仅在遵循typed.js时才有效

    除非先在同一页面上运行typed.js,否则我能够让它工作 . 我是js的新手,所以我非常感谢你理解为什么这么做 . 我的 banner.js 文件是: import Typed from 'typed.js'; import swal from 'sweetalert'; function loadDynamicBannerText() { new Typed('#banner-typed...

热门问题