|
Posted by Bergamot on 04/28/07 20:27
fuli open wrote:
> When moving the cursor to an underlined word in some pages, a large
> rectangle will appear at its right upper corner or somewhere around,
> displaying relevant information.
You didn't supply a URL where you saw this effect so I'll guess it's a
"tool tip", typically done with the title attribute, but there are other
ways to show pop-up text, such as
http://meyerweb.com/eric/css/edge/popups/demo.html
You can use the title attribute on pretty much any element - links,
images, table cells, whole paragraphs, etc.
http://www.w3.org/TR/html401/struct/global.html#adef-title
Just use pop-up text with caution. If the info is important, make sure
people who don't use a mouse can still get to it.
--
Berg
[Back to original message]
|