在我的网站上,我有一个滑块类型的东西在页面的顶部。每个幻灯片页面都有一个来自lilo和缝合的小图标,但唯一显示的图标是默认滑块(欢迎滑块)上的图标。为什么会这样呢?
编辑:我无法让代码正常工作,但要查看问题,您必须查看源代码。里面有图片的部分是带有容器id的div,紧跟在带有slidebox id的div内部的thumbs代码之后。
网站网址为http://-respawn.tumblr.com
发布于 2011-08-01 22:51:29
前两个图像(紫色动物)显示正常-后3个不显示。
您的前两个图像加载为:
http://dl3.glitter-graphics.net/pub/1003/1003453kf9pkci1jl.gif
http://dl6.glitter-graphics.net/pub/600/600346jg80ocmixs.gif虽然接下来的3个只是一个名为grey.gif的1x1空图像,因此很明显它不会显示任何内容。
http://static.tumblr.com/twte3d7/RSvlio0k5/grey.gif
http://static.tumblr.com/twte3d7/RSvlio0k5/grey.gif
http://static.tumblr.com/twte3d7/RSvlio0k5/grey.gif不知道你从哪里打来的,但这就是为什么他们不会出现的原因。
编辑:我注意到的另一件有趣的事情--如果你快速上下滚动你的浏览器,图片将会加载,因为代码改变了:
<img src="http://static.tumblr.com/twte3d7/RSvlio0k5/grey.gif" style="float: left; margin-top: 4px; margin-bottom: 4px; margin-left: 4px; margin-right: 7px; " original="http://dl6.glitter-graphics.net/pub/2000/2000286qs6oy6afoc.gif">至
<img src="http://dl6.glitter-graphics.net/pub/2000/2000286qs6oy6afoc.gif" style="float: left; margin-top: 4px; margin-bottom: 4px; margin-left: 4px; margin-right: 7px; display: block; " original="http://dl6.glitter-graphics.net/pub/2000/2000286qs6oy6afoc.gif">看起来thumblr要做的是先加载一个虚拟图像,然后设置display:block。您必须找出是什么脚本导致了这种情况。
https://stackoverflow.com/questions/6899579
复制相似问题