PopTip

By Maripo GODA Last update Apr 3, 2009 — Installed 541 times.


Script Summary: Add pop-up preview to any site.

Script homepage

You can add tooltip to any site.
(Example 1 : Enlarge thumbnail image in Flickr)

(Example 2 : Show recent topics in SNS)

Rules for popup action must be written in "SITEINFO" in proper format.

Properties of SITEINFO

url (required)(RegExp) : URL to which the rule is applied.

targetElement (required)(XPath) : XPath which select "A" elements. When "mouseover" action occurs on them, linked pages (values of "href" attributes) will be fetched.

popupElement (required) (XPath) : XPath which select elements in fetched pages. These elements will be appear in tooltips.

disabled (optional) : If you want to disable a rule temporally, set "false".

style (optional) : CSS attributes of tooltips. Please be careful to write in CamelCase! (border-width -> borderWidth)

stripe (optional) : If you set "true", small icons will be appended to elements on which the action will occur.