By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
455,624 Members | 1,765 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 455,624 IT Pros & Developers. It's quick & easy.

JavaScript Text over data

P: n/a
Avi
I am hoping someone here can help me. I would like to create normal
text (not a pop-up) that when you move your mouse over it, it brings up
a little box that gives extra added description. For example, if I
have a list of family members:

John
Dave
Paul

If you move the mouse over one of the names, a little box shows up and
gives some information (for example):

Age: 25
Birthplace: Philadelphia
Residence: Alaska
Job: Igloo Maker

Any and all help would be great. It would be even better if this
javascript would be placed in a .js file to help keep the amount of
actual code in the HTML to a minimum.

Thanks in advance!!

-Avi

Jul 23 '05 #1
Share this Question
Share on Google+
1 Reply


P: n/a
Avi wrote on 22 mrt 2005 in comp.lang.javascript:
I am hoping someone here can help me. I would like to create normal
text (not a pop-up) that when you move your mouse over it, it brings up
a little box that gives extra added description. For example, if I
have a list of family members:

John
Dave
Paul

If you move the mouse over one of the names, a little box shows up and
gives some information (for example):

Age: 25
Birthplace: Philadelphia
Residence: Alaska
Job: Igloo Maker

Any and all help would be great. It would be even better if this
javascript would be placed in a .js file to help keep the amount of
actual code in the HTML to a minimum.


simple:

<span title='Age: 25
Birthplace: Philadelphia
Residence: Alaska
Job: Igloo Maker'>John</span>

Don't repair the linebreaks !!

or extensive:

<http://www.bosrup.com/web/overlib/>

[I use overlib now for the 5th year]
--
Evertjan.
The Netherlands.
(Replace all crosses with dots in my emailaddress)

Jul 23 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.