內容簡介
這個外掛是基於 Joffrey Quillet 創建的「Always valid lightbox」外掛進行修改的。這個版本修正了圖像縮放和燈箱彈出視窗內的描述文字等問題,同時只使用內建的 jQuery 函數庫。 更多資訊。
Always Valid Lightbox 是一個燈箱外掛,可以根據 WP 網站的文件型別自適應網頁原始碼以提供合法的 HTML 原始碼標記。
此外,AVL 還允許用戶根據 header.php 模板中使用的文件型別聲明,在其圖像鏈接中插入所需的屬性。
這樣,燈箱就不會在 W3C 驗證器測試中生成標記認證錯誤。
jQuery 燈箱效果是基於 David Ryan 的 jQuery 燈箱教程所進行的改編:http://dryan.com/articles/jquery-lightbox-tutorial/
外掛標籤
開發者團隊
② 後台搜尋「Plugin Name: Always valid lightbox mod」→ 直接安裝(推薦)
原文外掛簡介
This plugin is a modification of the “Always valid lightbox” plugin created by Joffrey Quillet. This mod contains a fix for the buggy image resizing and for the description text inside the lightbox popup. Also, it uses only the built-in jQuery library. More info.
Always Valid Lightbox is a Lightbox plugin whose markup adapts to the WP site’s Doctype, in order to always provide a valid HTML markup.
Also, AVL allows the user to chose the attributes he wants inserted on his image links, depending on the Doctype declaration used in the website header.php template.
This way, the lightbox never generates markup validation errors at the W3C Validator test.
The jQuery lightbox effect is an adaptation based on David Ryan’s jQuery lightbox tutorial : http://dryan.com/articles/jquery-lightbox-tutorial/
