Title: Hoverswap
Author: Randy Hunt
Published: <strong>2010 年 10 月 18 日</strong>
Last modified: 2012 年 1 月 31 日

---

搜尋外掛

這個外掛**並未在最新的 3 個 WordPress 主要版本上進行測試**。開發者可能不再對這個
外掛進行維護或提供技術支援，並可能會與更新版本的 WordPress 產生使用上的相容性問題。

![](https://s.w.org/plugins/geopattern-icon/hoverswap.svg)

# Hoverswap

 由 [Randy Hunt](https://profiles.wordpress.org/bbqiguana/) 開發

[下載](https://downloads.wordpress.org/plugin/hoverswap.1.0.zip)

 * [詳細資料](https://tw.wordpress.org/plugins/hoverswap/#description)
 * [使用者評論](https://tw.wordpress.org/plugins/hoverswap/#reviews)
 *  [安裝方式](https://tw.wordpress.org/plugins/hoverswap/#installation)
 * [開發資訊](https://tw.wordpress.org/plugins/hoverswap/#developers)

 [技術支援](https://wordpress.org/support/plugin/hoverswap/)

## 外掛說明

On my language-learning blog, I have a feature that shows a translation inline by
swapping out text when the mouse rolls over it. It’s very handy, and it occurred
to me that I should make it a plugin, so other people can use it too!

Hoverswap allows you to create swapping elements, whose content is swapped for its
title when the user hovers over them.

Excellent for foreign language learning and translation web sites.

#### Use

Version 1.0 has no configuration. That will be added later.
 For now, in order to
use the plugin, you create an EM tag containing the text you want to be active, 
and then you put the text for its hover state into its title attribue.

Then, to ensure that only the text you WANT to be swapped gets swapped, you must
wrap that in an element of the class “translate”.

One example implementation would be create the following unordered list:
 <UL class
=”translate”> <LI><EM title=”How are you?”>Como estas?</EM></LI> </UL>

#### Features

 * Add the “translate” class to a containing element, such as a blockquote or a 
   ul tag. Then, any em tags with a title attribute will automatically swap their
   content for the title when you move the mouse over them.

#### Planned features:

 * Allow any tag or classname to be specified as the containing element.
 * Allow any tag or classname to be specified as the translate element.

## 安裝方式

 1. Download the Hoverswap zip file.
 2. Extract the files to your WordPress plugins directory.
 3. Activate the plugin via the WordPress Plugins tab.

## 常見問題集

none

## 使用者評論

這個外掛目前沒有任何使用者評論。

## 參與者及開發者

以下人員參與了開源軟體〈Hoverswap〉的開發相關工作。

參與者

 *   [ Randy Hunt ](https://profiles.wordpress.org/bbqiguana/)

[將〈Hoverswap〉外掛本地化為台灣繁體中文版](https://translate.wordpress.org/projects/wp-plugins/hoverswap)

### 對開發相關資訊感興趣？

任何人均可[瀏覽程式碼](https://plugins.trac.wordpress.org/browser/hoverswap/)、查看
[SVN 存放庫](https://plugins.svn.wordpress.org/hoverswap/)，或透過 [RSS](https://plugins.trac.wordpress.org/log/hoverswap/?limit=100&mode=stop_on_copy&format=rss)
訂閱[開發記錄](https://plugins.trac.wordpress.org/log/hoverswap/)。

## 變更記錄

#### 1.0

 * Initial version.

## 中繼資料

 *  版本 **1.0**
 *  最後更新 **14 年前**
 *  啟用安裝數 **10+**
 *  WordPress 版本需求 ** 2.1 或更新版本 **
 *  已測試相容的 WordPress 版本 **3.3.2**
 *  語言
 * [English (US)](https://wordpress.org/plugins/hoverswap/)
 * 標籤:
 * [hover](https://tw.wordpress.org/plugins/tags/hover/)[swap](https://tw.wordpress.org/plugins/tags/swap/)
   [text](https://tw.wordpress.org/plugins/tags/text/)[title](https://tw.wordpress.org/plugins/tags/title/)
 *  [進階檢視](https://tw.wordpress.org/plugins/hoverswap/advanced/)

## 評分

這個項目尚無任何評論記錄。

[Your review](https://wordpress.org/support/plugin/hoverswap/reviews/#new-post)

[查看全部使用者評論](https://wordpress.org/support/plugin/hoverswap/reviews/)

## 參與者

 *   [ Randy Hunt ](https://profiles.wordpress.org/bbqiguana/)

## 技術支援

使用者可在技術支援論壇提出意見反應或使用問題。

 [檢視技術支援論壇](https://wordpress.org/support/plugin/hoverswap/)

## 贊助

想要支援這個外掛的發展嗎？

 [ 贊助這個外掛 ](http://www.bbqiguana.com/donate/)