Popup Text and Image Boxes for WordPress.com

Posted on July 5, 2010 by

19


lightbulb

lightbulbAnswering questions of the support forums usually means answering questions that have been asked many times before. But from time to time the answers change as members uncover tweaks, tips and workarounds that transforms answers that were once “you can’t do that on a WordPress.Com blog” to “here’s how to do it”.

Today was one of those days so I’m sharing some good news for WordPress.Com bloggers who want to text/image popup box that will appear appear when readers hover their muse/cursor over highlighted/linked text.

JavaScript has three kind of popup boxes: Alert box, Confirm box, and Prompt box but JavaScript is a security risk and that’s why the software strips JavaScript out of  WordPress.Com blogs.

gabrielcavalli is setting up a WordPress.Com blog and he didn’t want to link text to another page. Instead he wanted a middle size/small text/image popup box to appear when readers hover over highlighted/linked text. He experimented and discovered that an empty link with a title will do it, as the title becomes a tooltip.

panaghiotisadam improved it this way:

<a style="cursor:help;" title="POPUP TEXT HERE">POSTED_TEXT_HERE</a>

So there you have it – a useful tooltip workaround from the WordPress.Com support forum.

Related post: Popup thickbox for images. The thickbox appearance is customizable but is available only with the CSS upgrade.

Enhanced by Zemanta

Add to FacebookAdd to DiggAdd to Del.icio.usAdd to StumbleuponAdd to RedditAdd to BlinklistAdd to TwitterAdd to TechnoratiAdd to Yahoo BuzzAdd to Newsvine