gpt4 book ai didi

javascript - 在 magiczoomplus 中添加分享按钮

转载 作者:太空宇宙 更新时间:2023-11-03 19:11:09 25 4
gpt4 key购买 nike

I am creating a WordPress site using Artisteer and various plugins to show off some photo galleries. I have also purchased a e-commerce WordPress theme that I have included as a subdirectory. In this theme they have a share button that I like the functionality of. I want to replicate the button in the front section of the site within the gallery pages. See the attached links to see what I am talking about.

http://rrestricted.com/eshop/20mens/jay-chillin
http://rrestricted.com/gallery/jay-3

The first link has the share button (loveheart icon) and the second the gallery that I want to add the button to. If you click on the images in the gallery you will see a large lightbox come up. I want to add the Share button just above the navigation buttons.

这是我从客户那里得到的要求。

我搜索了magiczoomplus.js,但我无法添加。

最佳答案

听起来他们想在您链接到的图库页面上添加一个共享按钮。这与 magiczoomplus 有什么关系?当您将鼠标悬停在图像上时,会使用 Magiczoom,它会放大它的特写。当您点击共享按钮时,它只会创建一个灯箱小部件。

编辑:

根据您的评论,我想我明白了。不要将心形图标放在放大的照片中。把它放在隐藏页面的其他地方。然后,当缩放图像出现时,将心形图标移到导航图标旁边的位置。您可以将其位置基于导航图标的坐标。然后确保它的 z-index 足够高。

关于javascript - 在 magiczoomplus 中添加分享按钮,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/8250577/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com