[WordPress] 外掛分享: Placeholder Text

首頁外掛目錄 › Placeholder Text
WordPress 外掛 Placeholder Text 的封面圖片
10+
安裝啟用
尚無評分
3387 天前
最後更新
問題解決
WordPress 3.8+ v1.1.0 上架:2014-09-09

內容簡介

這個外掛可以讓不支援 HTML5 的瀏覽器(包括 Internet Explorer 6)使用 placeholder 屬性。這個外掛只需要啟用 James Allardice 的 placeholders.js 腳本。使用者無需進行進一步的配置。對於 HTML 輸入元素,使用 placeholder 屬性並添加值,當使用者輸入該欄位時,這個值會被移除。這個腳本大小為 4KB,設置在頁面底部載入,不需要其他函式庫依賴。啟用外掛就可以使用,無需進一步配置。

外掛標籤

開發者團隊

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

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

原文外掛簡介

This plugin adds support for placeholder text in browsers that don’t support this HTML5 feature including Internet Explorer 6.
The plugin just activates the placeholders.js script by James Allardice http://jamesallardice.github.io/Placeholders.js/
There is no further configuration required.
For HTML input elements use the placeholder attribute and add a value, this value is removed when a user inputs the field. http://coolestguidesontheplanet.com/add-a-label-into-a-text-input-field-in-a-html-form/#html5
The script is 4KB and is set to load in the footer and has no library dependencies.
Usage
Just activate the plugin which loads the script, their is no further configuration.

延伸相關外掛

文章
Filter
Mastodon