Click here to get back home

Displaying Text As Rollover with Tables

 HomeNewsGroups | Search | About
 comp.infosystems.www.authoring.html    Post an article   get this group's latest topics as an RSS feed add this group's latest topics to your My MSN content add this group's latest topics to your My Yahoo content
Subject Author Date
Displaying Text As Rollover with Tables Rushi 03-20-2005
Posted by Rushi on March 20, 2005, 3:46 am
Please log in for more thread options


I want to display a text when somebody hover's over the row of the
table. The data in the table row itself shouldn't be modified.

I want something like the ABBR and ACRONYM tags which displays text
when you rollover mouse over some text.

Does anyone know how this can be achieved with HTML/CSS/Javascript?



Posted by me on March 20, 2005, 11:02 am
Please log in for more thread options


> I want to display a text when somebody hover's over the row of the
> table. The data in the table row itself shouldn't be modified.
>
> I want something like the ABBR and ACRONYM tags which displays text
> when you rollover mouse over some text.
>
> Does anyone know how this can be achieved with HTML/CSS/Javascript?

This isn't exactly what you asked for but it might give you some ideas, see
below:
Good Luck,
me

<a href="#" title="Put your pop up message here">Hover your cursor over this
link to see a popup message</a>




Posted by Jukka K. Korpela on March 20, 2005, 1:01 pm
Please log in for more thread options



> I want to display a text when somebody hover's over the row of the
> table. The data in the table row itself shouldn't be modified.

If that would be essential, then you have a wrong approach. There is no
way to guarantee that anything will be displayed on hover. (And not
just because that there is no guarantee that the page will be
experienced visually at all.)

> I want something like the ABBR and ACRONYM tags which displays text
> when you rollover mouse over some text.

The reason you might sometimes see a text pop up on mouseover is not
the use of this or that tag but the use of a TITLE attribute. Browsers
support it roughly speaking either in all elements or in no element.
(The ABBR element might appear to be an exception since a TITLE on it
has no effect on IE; but that's just because IE refuses to recognize
ABBR at all.)

So in that sense you could use <tr title="Hello world">. But what do
you really wish to accomplish? Is it sufficient that some users might
see "Hello world" if they accidentally move the pointer over the row?

--
Yucca, http://www.cs.tut.fi/~jkorpela/
Pages about Web authoring: http://www.cs.tut.fi/~jkorpela/www.html



Similar ThreadsPosted
Mouse-over or pop-up box displaying multiple lines of text June 21, 2006, 1:46 am
CSS link rollover bug in IE 5 Mac October 15, 2004, 5:58 pm
IE and FireFox viewing text in tables differenty. Need a fix! March 26, 2006, 5:00 am
submit button image -- can u do rollover?? September 15, 2004, 12:53 pm
Image rollover not working in a table March 8, 2005, 5:26 pm
DIV element buttons - how do you set rollover effects correctly? August 2, 2006, 9:56 am
Displaying code with
December 30, 2005, 8:55 pm
Why IE7 not displaying picture? November 11, 2006, 9:46 pm
Pictures not displaying May 9, 2008, 4:56 pm
Linked images not displaying October 21, 2005, 6:48 am

Our other projects:

Art Dolls, Fairies and Mermaids - Sunnyfaces.net

Roy's Linux, Programming and Search Engines messages

1-Script XML SitemapXML Sitemap