[WordPress] 外掛分享: Grey Owl Lightbox

首頁外掛目錄 › Grey Owl Lightbox
WordPress 外掛 Grey Owl Lightbox 的封面圖片
⚠ 此外掛已下架 — 不再更新維護,建議勿安裝。
50+
安裝啟用
★★★★★
5/5 分(2 則評價)
994 天前
最後更新
問題解決
WordPress 4.1+ v1.6.1 上架:2019-02-24

內容簡介

此外掛旨在顯示不同的內容於燈箱中。例如:圖像、畫廊、影片和其他 HTML 內容。此外掛具有透過 .js 檔案控制燈箱的 JavaScript 事件。

關於外掛

「Grey Owl Lightbox」外掛旨在顯示不同的內容於燈箱中,例如:圖像、畫廊、影片及其他 HTML 內容。
此外掛透過 .JS 檔案觸發 JavaScript 事件以控制燈箱。

外掛核心是可與 jQuery 一起運作的 js 函式庫。每個開發人員都能使用此外掛的更多功能,請參考說明文件頁面上所列出的所有事件和範例。

首次檢視

在燈箱中開啟圖像

若要在按下按鈕或連結後在燈箱中開啟圖像,需要為按鈕新增一個類別,此類別將會在 JavaScript 中作為觸發器

在燈箱中開啟畫廊

若要在按下按鈕或連結後在燈箱中開啟畫廊,需要為按鈕增加類別,此類別將會被用作在 JavaScript 中的觸發器。在選項中新增一個包含圖像連結的物件

在燈箱中開啟影片

若要在按下按鈕或連結後在燈箱中開啟影片,需要為按鈕新增類別,此類別將會在 JavaScript 中被用作觸發器。在選項中加入影片連結

在燈箱中開啟 HTML 元素

開啟燈箱中的 HTML 元素,使其事先隱藏。也可以嵌入動態內容至 HTML 中。

AJAX 回撥

開啟以 AJAX 請求元素作為燈箱內容

外掛標籤

開發者團隊

⬇ 下載最新版 (v1.6.1) 或搜尋安裝

① 下載 ZIP → 後台「外掛 › 安裝外掛 › 上傳外掛」
② 後台搜尋「Grey Owl Lightbox」→ 直接安裝(推薦)
📦 歷史版本下載

原文外掛簡介

This plugin is designed to display different content in the lightbox. For example, as: image, galleries, videos and other html content. In this plug-in takde there are javascript events to control the lightbox via the .js file.
About Plugin
The “Grey Owl Lightbox” plugin is designed to display different content in the lightbox,
For example: image, galleries, videos and other html content.
The plugin is triggering JAVASCRIPT events to control the lightbox via the .JS file
At the core of the plugin is the js library, which works with jQuery, each developer can use events for more features of this plugin. A list and examples of all events are on the documentation page.
First view

Open image in lightbox
to open an image in a lightbox after clicking a button or a link, you need to add a class to the button, which will be used as a trigger in the JavaScript code

Opens gallery in lightbox
to open the gallery in a lightbox after clicking a button or link, you need to add a class to the button that will be used as a trigger in the JavaScript code, in the options add an object with links to images

Opens video in lightbox
to open a video in a lightbox after clicking a button or link, you need to add a class to the button that will be used as a trigger in the JavaScript code, in the options add a link to the video

Opens HTML element from DOM in lightbox
opens HTML elements in a lightbox, making them invisible beforehand, it is also possible to embed dynamic content into HTML

AJAX callback
opens AJAX requests elements in a lightbox

延伸相關外掛

文章
Filter
Apply Filters
Mastodon