[WordPress] 外掛分享: Lytebox

前言介紹

  • 這款 WordPress 外掛「Lytebox」是 2010-05-06 上架。
  • 目前有 100 個安裝啟用數。
  • 上一次更新是 2013-02-19,距離現在已有 4458 天。超過一年沒更新,安裝要確認版本是否可用。以及後續維護問題!
  • 外掛最低要求 WordPress 2.0.2 以上版本才可以安裝。
  • 有 1 人給過評分。
  • 還沒有人在論壇上發問,可能目前使用數不多,還沒有什麼大問題。

外掛協作開發者

ash-breeze |

外掛標籤

Lytebox |

內容簡介

Lytebox 是一個 WordPress 外掛,可讓你在網頁上顯示圖像和 HTML 內容,而無需觀看者離開頁面,在易於使用的方式中顯示內容。

使用方法

為您想要顯示的類型添加適當的 rel 屬性。

要顯示圖像,將 rel = "lytebox" 添加到圖像的鏈接。

要顯示 HTML 內容,將 rel = "lyteframe" 添加到頁面的鏈接。

瀏覽器相容性

雖然從一開始就考慮了瀏覽器相容性,但並非所有瀏覽器都可以進行測試。這些瀏覽器包括 Safari、Netscape 和僅限於 Linux 的瀏覽器(例如 Konquerer)。已測試的主要瀏覽器覆蓋了大約 98% 的使用中瀏覽器,因此可以說不會出現任何主要問題。

有一個“特殊”問題僅與 Internet Explorer 相關。 有時頁面的右側會有一個未覆蓋的小區域。這是由於 IE 計算其邊距的方式。將以下樣式添加到頁面中將修復此問題(但它也會影響整個頁面的外觀):body { margin: 0 auto; }。

已使用此程式碼測試了以下瀏覽器:

* IE 5.01 SP2- 淡入效果不起作用,但背景變暗(完全)。
* IE 5.5 SP2- 沒有已知問題。
* IE 7.0 - 沒有已知問題。
* Opera 9.23- 沒有已知問題。
* Firefox 1.5 +- 沒有已知問題,當然。

許可

知識共享許可證
本作品採用知識共享署名 3.0 授權。

原文外掛簡介

Lytebox allows you to display images and html content on a webpage without have the viewer leave the page by displaying the content in an easy to use way.
How To Use
Add the appropriate rel attribute for the type of display you want.
To display images, add rel=”lytebox” to the link to the image.
To display html content, add rel=”lyteframe” to the link to the page.
Browser Compatibility
While browser compatibility was in mind from the start, not all browsers were available for testing. These browsers include Safari, Netscape, and Linux-only browsers such as Konquerer. The major browsers that were tested cover approximately 98% of browsers in use, so it’s fairly safe to say that no major problems will arise.
There is a “special” issue that is related to IE only. Sometimes the right side of the page will have a small area that is not overlayed. This is due to the way IE measures it’s margins. Adding the following style to the page will fix this issue (but it will also affect the appearance of the entire page): body { margin: 0 auto; }
The following browsers have been tested with this script:
* IE 5.01 SP2 - The fade effect does not work, but the background is darkened (completely).
* IE 5.5 SP2 - No known issues.
* IE 7.0 - No known issues.
* Opera 9.23 - No known issues.
* Firefox 1.5+ - No known issues, of course.

License

Creative Commons License
This work is licensed under a Creative Commons Attribution 3.0 License.

各版本下載點

  • 方法一:點下方版本號的連結下載 ZIP 檔案後,登入網站後台左側選單「外掛」的「安裝外掛」,然後選擇上方的「上傳外掛」,把下載回去的 ZIP 外掛打包檔案上傳上去安裝與啟用。
  • 方法二:透過「安裝外掛」的畫面右方搜尋功能,搜尋外掛名稱「Lytebox」來進行安裝。

(建議使用方法二,確保安裝的版本符合當前運作的 WordPress 環境。


5.5 | 1.00 | 3.22 | 5.5.1 | trunk |

延伸相關外掛(你可能也想知道)

  • PWP Lytebox 》該外掛使用輕量級的 Lytebox js 項目,由 Markus F. Hay(http://lytebox.com,創意共用署名 3.0 許可證)。, 啟用後,該外掛會使每個在文章(或頁面或自訂文...。

文章
Filter
Apply Filters
Mastodon