图像缩略图列表,不透明度发生变化,并在单击时添加类/删除类

发布于 2024-08-21 04:27:08 字数 246 浏览 5 评论 0原文

我从这里的另一篇文章中获得了脚本,但由于某种原因,它在我的实现中无法正常工作。除了剥离“选定”类之外,一切正常,因此缩略图在单击后全部保持突出显示。最简单的方法是在上下文中显示:

http://www.studioimbrue.com/beta

我更改了它周围有点试图找出问题,但我找不到任何东西。

I got the script from another post on here, but for some reason it isn't working quite correctly on my implementation of it. Everything works fine except for stripping of the "selected" class, therefore the thumbnails all stay highlighted after being clicked. Easiest way is to show in context:

http://www.studioimbrue.com/beta

I changed it around a bit trying to figure out the problem but I couldn't find anything.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

街角迷惘 2024-08-28 04:27:08

单击时,获取组的所有其他缩略图(例如按父元素)并删除“选定的”类名

On click, get all other thumbnails of group (by parent element fo example) and remove "selected" classname

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文