473,396 Members | 1,893 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.

how to make google-style floating bubbles?

I have an imagemap with several hotspots, and I want a Google
Maps-style "floating bubble" to appear when a hotspot is clicked. The
bubble would contain some text, a picture, and a close button. I
understand that this is generally done with a div positioned at the
right place and you make it appear and disappear by controlling its
"display" property. But some of the details are unclear to me. How is
the close button handled? What about the wedge-shape that achors the
bubble at the clicked point? Is there an example of this anywhere?

Thanks.

Jul 8 '06 #1
2 4799
lg******@gmail.com wrote:
I have an imagemap with several hotspots, and I want a Google
Maps-style "floating bubble" to appear when a hotspot is clicked. The
bubble would contain some text, a picture, and a close button. I
understand that this is generally done with a div positioned at the
right place and you make it appear and disappear by controlling its
"display" property. But some of the details are unclear to me. How is
the close button handled?
onclick="this.parentNode.etc.etc.style.display = 'none'"; (or a removeChild
to zap it entirely)
What about the wedge-shape that achors the
bubble at the clicked point?
http://www.google.com/intl/en_ALL/mapfiles/iw_tap.png
--
David Dorward <http://blog.dorward.me.uk/ <http://dorward.me.uk/>
Home is where the ~/.bashrc is
Jul 8 '06 #2
In message <e8*******************@news.demon.co.uk>, David Dorward
<do*****@yahoo.comwrites
>onclick="this.parentNode.etc.etc.style.display = 'none'"; (or a
removeChild to zap it entirely)
Bearing in mind that not all users will see such Javascript- produced
messages.
--
Andy Mabbett
Say "NO!" to compulsory ID Cards: <http://www.no2id.net/>

Free Our Data: <http://www.freeourdata.org.uk>
Jul 8 '06 #3

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

Similar topics

3
by: Vincento Harris | last post by:
Sql Server 7 Standard Edition My Server was renamed and the normal steps of reinstalling and running sp_dropserver and sp_addserver were followed. Everything seems to work fine but jobs from the...
10
by: wim | last post by:
I need to make a layout of a company building, preferably one which can be zoomed and dragged. Knowing that Google Maps does something like that (but much more advanced), I was wondering how I can...
67
by: Sandy.Pittendrigh | last post by:
Here's a question I don't know the answer to: I have a friend who makes very expensive, hand-made bamboo flyrods. He's widely recognized (in the fishing industry) as one of the 3-5 'best' rod...
3
by: Rich N | last post by:
I want to move several records from one table to a new table. My database is set up so that there's the "regular" database, and the ".be" database. In which do I use the Make Table Query?
9
by: Christopher Koh | last post by:
I will make a form which will search the database (just like google interface) that will look/match for the exact name in the records of a given fieldname. Any suggestions on how to make the code?
52
by: mavic | last post by:
hi to everybody,i need help for my project....how to make a program that accept any integer and convert it binary,octal and hexadecimal.pls help me...thanks
7
by: admyc | last post by:
Hello Is there a way to get a website whose index.html document is just the document that sets-up the framesets and frames to contain info so that google will reference it? Any help much...
0
by: alex | last post by:
Hi Friends, Let me start by apologising for the unsolicited mail. I have been extremely happy with the knowledge provided by this group and would like to pay back in a small way. ...
1
thatos
by: thatos | last post by:
I have a site which could help some people who are struggling in python this website has some examples of python which some people might find useful I would like to know how can make it to get more...
0
by: lil_chris438 | last post by:
I tried one of those online survey sites about 4 months ago that say all you have to do is spend a couple of minutes filling out some surveys and you will be making hundreds a day..... YEAH RIGHT,...
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: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
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: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
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
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
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
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.