html - PhotoSwipe 下一步/返回图标

标签 html css photoswipe

有人用过 PhotoSwipe 吗?

https://github.com/dimsemenov/PhotoSwipe

我一直停留在图像的左右(前后)

喜欢这张图片。

enter image description here

我不想要其他图标。我想知道如何解决这个问题。

我已经尝试禁用 css 中的图像,但它仍然不起作用

请帮忙。

最佳答案

您可以使用以下选项显示/隐藏 photoswipe 按钮/元素

有关更多信息,请阅读文档 here

var options = {    
    history: false,
    focus: false,
    closeEl: true,
    captionEl: true,
    fullscreenEl: true,
    zoomEl: true,
    shareEl: true,
    counterEl: true,
    arrowEl: true,
    preloaderEl: true
  };

关于html - PhotoSwipe 下一步/返回图标,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/44174704/

相关文章:

javascript - Photoswipe 无法读取 photoswipe.js 第 1070 行未定义的属性 'center'

webpack - PhotoSwipe 和 Webpack : Can't resolve path

html - Bootstrap 基本网格布局冲突

javascript - 使用jquery更改父div中的元素位置

jquery - 使用 Jquery 重新构建 ul 和 li 标签

jquery - 更改照片滑动的背景颜色

php - 服务器上的 PDF 到 HTML 转换?

php - 自动用 "<br>"替换 html 标签

java - Jsoup如何从html中获取值

javascript - jQuery .slideToggle() 重复