[英]list-style: none lightbox is not working?
So there's an issue. 所以有一个问题。
If you view this .htm page you see that image. 如果您查看此.htm页面,则会看到该图像。 http://icpy.webs.com/text/Mass.htm
http://icpy.webs.com/text/Mass.htm
The problem is originally there was a bullet decorator which was the list-style
. 问题是最初有一个子弹装饰器,它是
list-style
。 The lightbox image was working. 灯箱图片正在运行。 When I applied the
List-style-type: none
, my image wasn't working when I clicked on it. 当我应用
List-style-type: none
,单击它时我的图像不起作用。 Did I do something wrong? 我做错什么了吗?
是的,您在该页面上有javascript错误,这将阻止它工作。
"NetworkError: 404 Not Found - http://icpy.webs.com/text/.http://icpy.webs.com/fancybox/lib/jquery.mousewheel-3.0.6.pack.js"
Your html is all messed up. 你的HTML搞砸了。
<div id="cas> <ul> <li><a class=" title="Mass Sale layouts" href="#inlineframe" fancybox"="">
<img src="http://dgamerhelp.webs.com/soccer/layouts/BEA01.png">
<div id="inlineframe" style="width:1040px;height:785px;display: none;">
</div>
<li>
tag <li>
标签 <ul>
tag <ul>
标签 <a>
tag, then remove it completely ( <a class="
) <a>
标签使用类,则将其完全删除( <a class="
) Fixing the above things should solve your issue. 修复上述问题应该可以解决您的问题。 Im surprised, it actually worked first time..
我很惊讶,它实际上第一次工作..
Cleaned up code should look something like this : 清理代码看起来应该是这样的:
<div id="cas">
<ul>
<li>
<a class="" title="Mass Sale layouts" href="#inlineframe" fancybox"=">
<img src="http://dgamerhelp.webs.com/soccer/layouts/BEA01.png">
<div id="inlineframe" style="width:1040px;height:785px;display: none;">Whatever that needs to go here.
</div>
</a>
</li>
</ul>
</div>
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.