无法更改Fancybox关闭按钮(Can not change Fancybox close button)

编程入门 行业动态 更新时间:2024-10-10 01:18:21
无法更改Fancybox关闭按钮(Can not change Fancybox close button)

我想在Fancybox 1.3.4中使用自定义替换默认关闭按钮。 我按如下方式更改了CSS,但按钮没有显示。

#fancybox_close { width: 66px; height: 22px; position: absolute; right: 10px; top: 10px; cursor: pointer; background: url('../js/jquery/fancybox/closelabel.gif') 0 0 no-repeat; }

有人可以帮忙解决这个问题吗?

I want replace default close button in Fancybox 1.3.4 with custom one. I've changed CSS as follows, but button not showing.

#fancybox_close { width: 66px; height: 22px; position: absolute; right: 10px; top: 10px; cursor: pointer; background: url('../js/jquery/fancybox/closelabel.gif') 0 0 no-repeat; }

Can someone help with this issue?

最满意答案

好的,这已经解决了。 只需要指定正确的图像路径。

OK, this is solved. Just need to be specified correct path to image.

更多推荐

本文发布于:2023-07-19 07:28:00,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1175417.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:按钮   Fancybox   change   button   close

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!