
內容簡介
這個外掛程式可以持續且輕柔地在特定頁面上更改背景和/或透明區域圖片的顏色。
這個外掛程式會以自訂背景(或對於沒有自訂背景的主題,會以固定顏色開始),並透過一個顏色車輪的方式逐漸修改背景顏色,直到適用於特定頁面。
在這些頁面上的包含透明區域的圖片也可以接受此背景色。
請在 http://wordpooldesign.co.uk/wordpress/dynamicbg 查看實時示範。
您可以在「儀表板」>「外觀」>「動態背景」下找到設置畫面,也可以從工具列中找到設置。
致謝
javascript 檔案 getbg.js 包含將 HSL 轉換為 RGB和反之的函數。這個功能可以從幾個來源找到,但我的來源是 Garry Tan (http://axonflux.com/handy-rgb-to-hsl-and-rgb-to-hsv-color-model-c),他的來源是 mjijackson.com(此連結已失效),但最終的來源似乎是在https://en.wikipedia.org/wiki/HSL_and_HSV 的信息。
外掛標籤
開發者團隊
原文外掛簡介
Continuously and gently changes color of background and/or pictures with transparent areas on selected pages.
This plugin starts with the custom background (or a fixed color for themes that do not
provide a custom background) and gradually modifies it in a color wheel fashion to selected pages.
Pictures on those pages that contain transparent areas may also be set to receive this
background color.
See a live demo at http://wordpooldesign.co.uk/wordpress/dynamicbg
A settings screen is provided under Dashboard > Appearance > Dynamic Background and also from the toolbar.
Credits
The javascript file getbg.js contains functions that convert hsl to rgb and the reverse. This functionality can be found from several sources but mine were from Garry Tan (http://axonflux.com/handy-rgb-to-hsl-and-rgb-to-hsv-color-model-c) who credits mjijackson.com (this link no longer works) but it seems the ultimate source is the information in https://en.wikipedia.org/wiki/HSL_and_HSV
