如何才能让响应式幻灯片在Internet Explorer中工作
How can one get a ResponsiveSlides slideshow to work in Internet Explorer?
我正在使用Responsive Slides.js(http://responsive-slides.viljamis.com/)在我正在处理的网站上显示幻灯片。它在Opera,Chrome和Firefox中完美运行,但IE显示的图像比它们应该大得多。下面是一个示例(http://www.brooklynlutheran.com/ie-maxwidth-test.asp)。响应式幻灯片.js提供的演示代码工作正常,我看不出任何区别。谁能告诉我我做错了什么?
谢谢。
很可能最大宽度:400px可能是问题所在,因为IE可能无法识别它。我没有做过研究,因为我即将下班回家,但是......这样说:
<li><div style="width:400px;">[rest of code inside<li></li>]</div></li>
这可能不会自动调整其中的图像大小,但至少它应该受到限制。然后,您可能需要一些额外的代码来减小它们的大小。希望对您有所帮助。如果我回家时没有人帮助你,我会尽力解决这个问题,而不仅仅是给出提示。祝你好运:)
编辑:
<li id="rslides1_s0" style="display: none; float: none; position: absolute; " class=""><div style="width:400px;"><img src="./IE Maxwidth Test_files/test-pic1.jpg" alt=""></div></li>
使列表项看起来像这些(注意添加的)做,它在IE中是固定的:)
相关文章:
- 视频HTML没有'无法在Internet Explorer 11上工作
- Internet Explorer缺少占位符支持,特别是密码字段
- Internet Explorer中的文本换行错误
- 为什么我在Internet Explorer上看不到html元素
- internet explorer 8兼容模式下的Youtube api错误
- 当浏览器控制台未打开时,为什么要求会导致Internet Explorer 9超时
- Internet Explorer 8. Events
- jQuery表单验证适用于Mozilla和Internet Explorer,但不适用于Chrome或Safari
- element.dataset in Internet Explorer
- Facebook FB.init”;访问被拒绝”;在Internet Explorer 11中
- JavaScript不适用于internet explorer和Firefox,但适用于谷歌
- 在Internet Explorer中,向所选内容添加选项不起作用
- 在Internet Explorer中从二进制文件打开PDF
- elementproblem internet explorer
- 我可以使用哪些方法在Internet Explorer中禁用Alt+*X*
- 如何在Internet Explorer中使用javascript设置cookie
- 只有当alert()在带有AJAX的internet explorer中使用时,Javascript才会更新UI
- sharepoint站点的internet explorer中出现Javascript错误
- Internet Explorer重新加载IFrame
- 如何在不使用Internet Explorer的情况下从未挂起的HTML文件执行程序