Javascript Window Question.....

A

amerar

Hi All,

I'd like to have on my page when a user moves over the text, or the
image a window pop up with some info. Rather than having an ALERT
popup, can I do one of those text annotations?
Similar to when you move over an icon in Windows, and it displays a
small text box telling you the file name, size, date of
creation..........

Thanks,

Arthur
 
L

Lee

(e-mail address removed) said:
Hi All,

I'd like to have on my page when a user moves over the text, or the
image a window pop up with some info. Rather than having an ALERT
popup, can I do one of those text annotations?
Similar to when you move over an icon in Windows, and it displays a
small text box telling you the file name, size, date of
creation..........

You need to learn what HTML can do, before you start looking at Javascript:

<html>
<body>
<p>Put your mouse over the word
&quot;<span title="this pops up">popup</span>&quot;
and see what happens.
</body>
</html>
 
D

David Dorward

I'd like to have on my page when a user moves over the text, or the
image a window pop up with some info. Rather than having an ALERT
popup, can I do one of those text annotations?

Most elements accept a title attribute to provide advisory information
about them. (I assume you are talking about an HTML document).

http://www.w3.org/TR/html4/struct/global.html#adef-title

No JavaScript involved.
Similar to when you move over an icon in Windows, and it displays a
small text box telling you the file name, size, date of
creation..........

Many graphical browsers render the content of title attributes as a
tooltip.
 

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,680
Members
48,796
Latest member
Greg L.

Latest Threads

Top