weixin_33698043 2018-04-11 09:33 采纳率: 0%
浏览 17

路径在负载上不起作用

i have a folder were i drop all my emoji pictures. now what i noticed is, the emojis dont show until i use setinterval to load the function that gets this image. so lets say i set the interval to 5 seconds. the page will load but the emojis will still be in unicode until the next 5 seconds when the interval i set hits and the function is being run. what i want is for it to run on load but its not working. dont know what else to do

$(function(){

$('.emojione').Emoji({
        path:'plugins/lib/img/'
});
});
  • 写回答

0条回答 默认 最新

      报告相同问题?

      悬赏问题

      • ¥20 求各位能用我能理解的话回答超级简单的一些问题
      • ¥15 yolov5双目识别输出坐标代码报错
      • ¥15 这个代码有什么语法错误
      • ¥15 给予STM32按键中断与串口通信
      • ¥15 使用QT实现can通信
      • ¥15 关于sp验证的一些东西,求告知如何解决,
      • ¥35 关于#javascript#的问题:但是我写的只能接码数字和字符,帮我写一个解码JS问题
      • ¥15 prophet运行报错,如何解决?
      • ¥15 用GPU跑pytorch搭建的LSTM的时候出现了奇怪的报错
      • ¥20 前端数据是从session等作用域拿到的,如何取值继续传递后端呢