[WordPress] 外掛分享: IMG Mouseover

首頁外掛目錄 › IMG Mouseover
⚠ 此外掛已下架 — 不再更新維護,建議勿安裝。
1,000+
安裝啟用
★★★★
4.6/5 分(5 則評價)
3032 天前
最後更新
問題解決
WordPress 2.9+ v1.4.2 上架:2010-02-12

內容簡介

此外掛允許您透過新增圖片屬性,建立一個簡單的圖片滑鼠經過效果:

它可理解以下可在 HTML 中新增的屬性:

img.class=”mouseover”(啟動此圖片的 IMG 滑鼠經過效果)
img.oversrc(如果指定,滑鼠經過時圖片會被重改寫)
img.clicksrc(如果指定,按一下時圖片會被重改寫)
img.noresize(如果設定,圖片會使用原始圖片的自然尺寸而不是原始圖片的尺寸)
a.class=”mouseover”(啟動 A 標籤作為控制另一個圖片的控制器,當按下時,會加上一個 “selected” 類別)
a.for(應指定要指向的目標圖片,圖片必須是 mouseover 類別)
a.for_link(如果指定,一個連結的 ID 會被取代為此連結)
a.src(如果指定,按一下時會以此替換圖片)
a.oversrc(如果指定,按一下時會替換圖片的滑鼠經過效果為此)
a.clicksrc(如果指定,按一下時會替換圖片的滑鼠按一下效果為此)

外掛標籤

開發者團隊

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

① 下載 ZIP → 後台「外掛 › 安裝外掛 › 上傳外掛」
② 後台搜尋「IMG Mouseover」→ 直接安裝(推薦)

原文外掛簡介

This allows you to create a simple image mouseover feature by adding properties to an image:
It understands the following attributes which can be added to the HTML:

img.class=”mouseover” (activates IMG mouseover for this image)
img.oversrc (If specified, this rewrites the image on mouse rollover)
img.clicksrc (If specified, this rewrites the image on mouse click)
img.noresize (If set, this will make the image have the natural dimensions instead of the dimensions of the original image).
a.class=”mouseover” (activates A tag as a controller for another image, when clicked a class “selected” is tacked on)
a.for (Should be specified to point to target image. Image must be class mouseover)
a.for_link (If specified the ID of a link is replaced with this one)
a.src (If specified, the click will replace the image with this)
a.oversrc (If specified, the click will replace the image mouse rollover with this)
a.clicksrc (If specified, the click will replace the image mouse click with this)

延伸相關外掛

文章
Filter
Apply Filters
Mastodon