lightGallery的寻呼机和哈希插件是什么?(What are the Pager and Hash plugins for lightGallery?)

编程入门 行业动态 更新时间:2024-10-23 22:26:33
lightGallery的寻呼机和哈希插件是什么?(What are the Pager and Hash plugins for lightGallery?)

我遇到了lightGallery的Pager和Hash插件: http ://sachinchoolur.github.io/lightgallery1.2/docs/api.html#lg-pager

文档告诉他们如何启用它们。 但它们是为了什么? 它们的用途是什么?

I came across the Pager and Hash plug-ins for lightGallery: http://sachinchoolur.github.io/lightgallery1.2/docs/api.html#lg-pager

The docs tell how to enable them. But what are they for? What's their use?

最满意答案

据我所知,寻呼机在左上角显示“当前图像/总图像”(例如,第四项上的4/34)。

哈希插件为库或库(lg =)的每个项目(slide =)创建具有哈希(#)id的唯一URL。

示例:www.foo.com/bar/foobar.php#lg=1&slide=0。 其中'lg = 1'表示第一个图库,'slide = 0'表示该(lg = 1)图库中的第一个项目。 每个项目都有自己唯一的URL。

As far as I know, the pager displays the 'current-image/total-images' in the upper left corner (ex. 4/34 on the fourth item).

The hash plug-ins creates unique URL's with hash(#) id's for every item(slide=) of the gallery or galleries(lg=).

Example: www.foo.com/bar/foobar.php#lg=1&slide=0. Where 'lg=1' refers to the first gallery and 'slide=0' refers to the first item inside that (lg=1) gallery. Every item has it's own unique URL.

更多推荐

本文发布于:2023-08-07 22:53:00,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1466419.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:寻呼机   插件   lightGallery   plugins   Hash

发布评论

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

>www.elefans.com

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