我遇到了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.
更多推荐
发布评论