3 6178
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).
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/
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.infosystem s. www.authoring.stylesheets (ciwas).
--
Rob This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
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, but I can't figure out
how to get the popup to appear in the same browser window.
In this code the user is presented with "Yes", "No" or "Cancel". Yes allows
the popup to spawn a window, No should load the popup in the same window and
Cancel...
|
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 popup(x,x,x) for the
2nd time.
The code are as followed.
Can anyone help please? Thank you very much~~
Ben
|
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 find what how it is done?
First go to
http://www.sitepoint.com/forums/showthread.php?t=184025&page=1&pp=25
Click on
Last ? on the page
|
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 pageA.html
2. User clicks on menu link to open popup.html
3. pageA.html checks if popup.html is already open. It is not, open
|
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
| |
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")
Popup.style.display="block";
Popup.style.position="absolute";
Popup.style.left = 220;
|
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 it, and disappear when the
mouse moves away.
I do not want to use HREF because it is only an image, not a link. I
|
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 doing so.
does anyone know how?
thanks so much
|
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);
|
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
|
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
| |
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms.
Adolph will...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert into image.
Globals.ThisAddIn.Application.ActiveDocument.Select();...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...
| |