473,406 Members | 2,710 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,406 software developers and data experts.

Dialog Boxes and Tool tips - How?

In my webpage there are acronyms that need explanation, for that I
would like to display tip bubbles if possible, but I have not found any
information regarding this programming feature in the JavaScript
language. I would very much appreciate to know if this feature is part
of the JavaScript language.
What I am sure of is that JavaScript has a method that displays a
dialog box called 'alert(...).
I would like to display an alert dialog box when the user clicks on the
acronym. Can anyone tell me how to accomplish this though an example.
Please note that all the examples I have seen refer to 'check boxes' or
'buttons', but not to just words on the document.

Thanks in advance!

Aug 5 '06 #1
3 1630
Jamiil wrote:
In my webpage there are acronyms that need explanation
for that I would like to display tip bubbles
Sharks With Frickin' <acronym title="Light Amplification by Stimulated
Emission of Radiation">Laser</acronymBeams Attached to Their Heads!

--
David Dorward <http://blog.dorward.me.uk/ <http://dorward.me.uk/>
Home is where the ~/.bashrc is
Aug 5 '06 #2
Jamiil wrote:
In my webpage there are acronyms that need explanation, for that I
would like to display tip bubbles if possible, but I have not found any
information regarding this programming feature in the JavaScript
language. I would very much appreciate to know if this feature is part
of the JavaScript language.
What I am sure of is that JavaScript has a method that displays a
dialog box called 'alert(...).
I would like to display an alert dialog box when the user clicks on the
acronym. Can anyone tell me how to accomplish this though an example.
Please note that all the examples I have seen refer to 'check boxes' or
'buttons', but not to just words on the document.

Thanks in advance!

For tooltips with a bit more power, try:
http://www.walterzorn.com/tooltip/tooltip_e.htm

Roger
Aug 5 '06 #3
Thank you so very much for the information, it is exactly what I was
looking for, however, I am afraid that more help is need it.
The tree structure of my working directory looks like this:
/MyWebpage
Index.html
/icons
/pictures
/javascript
wz_toolpit
/timetable
math.html
english.html

In the <bodyof Index.html I added <script language="JavaScript"
type="text/javascript" src="javascrpt/wz_tooltip.js"></script>

Now, according to the documentation, I have the add the following line:
<a href="index.htm" onmouseover="return escape('Some text')">Homepage
</a>
But I am confused about the meaning of the file and/or titles, for
instance, would index.html be the file where the word I want to
highlight and display information about in a 'tooltip' bubble is
in? and what about Homepage, would this be the word that I want to make
the magic on? If this is true, how do I go about is the word I want
highlight exists more than once and I only want the tooltip to appear
once in the document?

I have not tried the program yet, I will do it when I get home, so I
hope this questions don't sound to dumb for you; I am asking them
just in case I am comfronted with this problem later on when I
implement this information.

Thanks folks!!

Roger wrote:
Jamiil wrote:
In my webpage there are acronyms that need explanation, for that I
would like to display tip bubbles if possible, but I have not found any
information regarding this programming feature in the JavaScript
language. I would very much appreciate to know if this feature is part
of the JavaScript language.
What I am sure of is that JavaScript has a method that displays a
dialog box called 'alert(...).
I would like to display an alert dialog box when the user clicks on the
acronym. Can anyone tell me how to accomplish this though an example.
Please note that all the examples I have seen refer to 'check boxes' or
'buttons', but not to just words on the document.

Thanks in advance!


For tooltips with a bit more power, try:
http://www.walterzorn.com/tooltip/tooltip_e.htm

Roger
Aug 10 '06 #4

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

Similar topics

0
by: jaxCtiDev | last post by:
My application is written in C# and has several dialog Windows Forms. All button objects on all forms are using FlatStyle=Flat. I have background colors on each button and tool-tips describing...
3
by: Marcus | last post by:
I'm currently working with an MFC dialog box that displays numerical data dynamically from a remote server in a series of text control boxes. I'd like to be able to change the background color of...
8
by: vpettes | last post by:
I am new to Access having used Filemaker for many years. My question has to do with displaying and creating a line item database. What I have is a two tables. One has Name, Location, time,...
23
by: George | last post by:
Is there a way to customize the open file common dialog? I am trying to modify the button text so I can create a delete file common dialog. I need the same functionality of the open file common...
3
by: Tom McLaughlin | last post by:
I am having problems locating the "Find and Replace Dialog Boxes". My toolbox shows other Dialog Boxes. The Customize Toolbox dialog box displays a list of all .NET Framework components available...
2
by: vinayshah | last post by:
Hai all. I just wanted to know how the dialog works.. I mean each window has its window procedure.. In a dialog box you have many windows say for example edit, button etc.. but still the...
1
by: InfoDevGuy | last post by:
Hi: We are a software company. Our product (Dialogue) is very expansive with lots of menus, dialog boxes, etc in the GUI. We use unstructured FM 7.2. Every time we have a new release,...
2
by: one.1more | last post by:
I want to make a text game using javascript dialog boxes. i learned about confirm boxes but its not helpful(http:// www.javascriptmall.com/learn/lesson6.htm) 1. for ex, in the confirm boxes,...
3
by: Mike Hofer | last post by:
Okay, here's the situation: we want to be able to display ASPX pages in an UpdatePanel. The reasons for this are performance related. The site in development uses *lots* of modal popups from some...
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?
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
isladogs
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...

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.