
內容簡介
使用短碼 [blur][/blur] 來模糊文字。
例如:
[blur]這個文字會被模糊[/blur]
您也可以選擇在使用者點擊或懸停時取消模糊。
以下是可用的短碼範例:
[blur toggle=click]這個文字會保持模糊直到被點擊[/blur]
[blur toggle=hover]這個文字會保持模糊直到被懸停[/blur]
預設模糊文字的顏色為黑色。您可以按此方式指定其他顏色:
[blur color=orange]這個文字會是橙色,即使模糊。
[blur color=#00FF00]這個文字會是綠色,即使模糊。
此外掛使用 CSS3 的 “text-shadow” 功能來創造模糊及透明文字顏色。這個外掛只支援以下瀏覽器:
Firefox 3.5+
Chrome 4+
Safari 4+
Opera 9.6+
此外掛允許您選擇在不支援的瀏覽器中該採取的措施。目前有三種選擇:
1) blackout – 使背景色和文字顏色相同(預設)
2) none – 沒有改變文字
3) hide – 不會在不支援的瀏覽器中顯示文字。
回退選項可以如下指定:
[blur fallback=blackout color=red]在不支援的瀏覽器上,這個文字會有紅色背景。
[blur toggle=click fallback=hide]如果您使用 IE 或其他不支援的瀏覽器,您看不到這個文字。
外掛標籤
開發者團隊
原文外掛簡介
Use the shortcode [blur][/blur] to blur text.
For example:
[blur]This text will be blurred[/blur]
Optionally, you can set the blur to be removed when the user clicks or hovers on it.
Here are the shortcode examples for that:
[blur toggle=click]This text will be blurred until it’s clicked on[/blur]
[blur toggle=hover]This text will be blurred until it’s hovered over[/blur]
Be default, the blurred text color will be black. You can specify a different color like this:
[blur color=orange]This text will be orange, even when blurred.[/blur]
[blur color=#00FF00]This text will be green, even when blurred.[/blur]
