You are here: Re: ToolTips and Tables -- how can I have tooltips on the cells of a column? « HTML « IT news, forums, messages
Re: ToolTips and Tables -- how can I have tooltips on the cells of a column?

Posted by BootNic on 12/07/06 22:05

> Frank <fxpurcell@gmail.com> wrote:
> news: 1165461400.894428.54460@n67g2000cwd.googlegroups.com
> I could use your help. I need to add tooltips to each column of an
> HTML table, for the entire column of cells. I want to add a single
> element to the table, and have that one element represent the tooltip
> for all the cells in the column.
>
> I'm doing the brute-force method right now of adding a tooltip to
> every <td> in the table. The problem there is that the HTML is
> ballooning in size as a result (see an example below).
>
> Any ideas, examples or help on this?
>
[snip]
> <td class="bluedata" title="Column 1 ToolTip"> Row 1</td>
> <td class="yellowdata" title="Column 2 ToolTip"> Row 1</td>
> <td class="bluedata" title="Column 3 ToolTip"> Row 1</td>
[snip]
Javascript for the ones that have javascript enabled, and (at least for
opera users) have tooltips enabled.

Some of the bloat can be removed if the method of applying the td
style is changed, I see no real need to declare the inline class. Show
what your bluedata & yellowdata classes are if you are interested.

--
BootNic Thursday, December 07, 2006 5:04 PM

All things come to him who waits - provided he knows what he is
waiting for.
*Woodrow T. Wilson*

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация