popup balloons

V

VK

Xah said:
there are two library for popup balloons:
however, their code is a bit dense to decipher.
i wanted to know, what is the basic mechanism to make this possible?

If you want just a basic prompt you do it like this:

<a href="info.html" title="Click for more">More...</a>

For HTML reach popups you creating a <DIV>, beautify it as much as you
want/can and place over elements by mouseover event.

The trick is to locate exact position and size of the element so popup
would appear on the right position. 95% of code volume in all popup
scripts is for the latter (popup position calculation).
 
X

Xah Lee

For HTML reach popups you creating a <DIV>, beautify it as much as you
want/can and place over elements by mouseover event.

The trick is to locate exact position and size of the element so popup
would appear on the right position. 95% of code volume in all popup
scripts is for the latter (popup position calculation).

Thanks a lot for this tip! It answered my question exactly.

Is it possible to give a slight more detail? I know CSS1 well. I
vaguely recall positioning and overlaying is a CSS2 feature?

Xah
(e-mail address removed)
∑ http://xahlee.org/
 
R

RobG

Xah said:
Thanks a lot for this tip! It answered my question exactly.

Is it possible to give a slight more detail? I know CSS1 well. I
vaguely recall positioning and overlaying is a CSS2 feature?

Search this group's archives for 'tooltip'. CSS stuff is better asked
in a CSS forum such as comp.infosystems.www.authoring.stylesheets (ciwas).
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,432
Messages
2,571,682
Members
48,796
Latest member
Greg L.

Latest Threads

Top