473,396 Members | 1,712 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

popup balloons

there are two library for popup balloons:

• Erik Bosrup's overlib at: http://www.bosrup.com/web/overlib/

• Walter Zorn from: http://www.walterzorn.com/tooltip/tooltip_e.htm

however, their code is a bit dense to decipher.

i wanted to know, what is the basic mechanism to make this possible?

Xah
xa*@xahlee.org
∑ http://xahlee.org/

Nov 23 '05 #1
3 6130
VK

Xah Lee wrote:
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).

Nov 23 '05 #2

VK wrote:
Xah Lee wrote:
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?
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
xa*@xahlee.org
∑ http://xahlee.org/

Nov 23 '05 #3
Xah Lee wrote:
VK wrote:
Xah Lee wrote:
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?


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?


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

--
Rob
Nov 23 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Noozer | last post by:
When using the WebBrowser control, is it possible to cause popup windows to appear within the WebBrowser control itself instead of a new window? This is what I've written in the NewWindow2 event,...
1
by: Ben Wan | last post by:
I got 2 error from the following code below... 1. I couldn't load up the picture since the picture is at (C:\company\image\largePic.jpg) 2. I got a page error in my 'index.html' when calling...
15
by: | last post by:
So many websites can get around my Googlebar's popup blockers. Even Opera 8 can not stop those popups. I looked into the codes, and I can find nothing showing me how it is done. Can anyone help me...
7
by: anthony.turcotte | last post by:
Hi, I've looked for a solution to this problem on google, read posts in this newsgroup and I still haven't found anything that could help me. Here's the scenario. 1. User accesses...
2
by: Mythran | last post by:
There a way to add balloons to the system tray icons (our own) via C#/VB.Net 1.1? Thx, Mythran
4
by: jobs | last post by:
the javascript: function ShowTooltip(L1in) { document.getElementById("L1").innerText=L1in; y = event.clientY + document.documentElement.scrollTop; var Popup= document.getElementById("Popup")...
2
by: Mtek | last post by:
Hi, I know there are lots of pages on this, but why can't I find something simple? I have an image on my page. All I want is when the mouse rolls over the image, an image will appear next to...
5
by: njuneardave | last post by:
I have a full-screen C# app, but windows notifications (the little balloons on the bottom right-hand of the screen) and outlook reminders will pop on top of my app. i want to prevent them from...
1
by: Mike1961 | last post by:
Hi everyone. I have problem with this function javascript: var popup = null; function OpenPopup(fld, tbl, col, w, h) { var pw = Math.floor((screen.width - w) / 2);
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.