使用IE时Jssor滑块不起作用 [英] Jssor slider doesn't work when using IE

查看:106
本文介绍了使用IE时Jssor滑块不起作用的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我目前正在网站上,并且在首页上使用过jssor滑块.它在Chrome& Firefox,但在IE中查看时不会显示图像.那里有html元素(基于更改为的光标),但未显示.当我在控制台中查看错误日志时,会看到此消息(IE 9向上):

I'm currently working on a website and I used jssor slider on the front page. It works perfectly fine in Chrome & Firefox, but when viewed in IE the images are not displayed. The html elements are there (based on cursor which changes to ) but it's not shown. And when I view the error log in the console I see this (IE 9 up):

我尝试使用兼容性视图.图像显示出来,但仍然无法正常工作,并显示在错误日志中(IE 8处于关闭状态):

I've tried using compatibility view. The images shows up but still it's not working, and on the error log (IE 8 down):

这个问题与脚本本身有关吗?我的html代码是从jssor的全角滑块上的演示中复制而来的.当我在IE上尝试使用它时,它也无法正常工作,有人知道如何在IE上实现此功能吗?

Does this problem have to do with the script itself? My html codes where just copied from the demo on jssor's full-width slider. And when I tried it with IE it didn't work also, does anybody know on how to make this work on IE?

推荐答案

我遇到了这个问题,只是发现开发人员3天前发布了修复程序.下载并替换jssor.js和jssor.slider.js,并确保您的外部滑块容器具有像素尺寸,例如. 900px(不是百分比).希望这会有所帮助.

I had this very issue only to find out that the developer release a fix 3 days ago. Downloaded and replace jssor.js and jssor.slider.js and and ensure your outer slider container has a pixel dimension eg. 900px (not percentage). Hope this helps.

这篇关于使用IE时Jssor滑块不起作用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆