[Javascript] Show full text in pop up window
Mike Dougherty
mdougherty at pbp.com
Thu Mar 18 13:06:08 CST 2004
what do you think about using the "title" attribute to accomplish what is basically a label?
<td>
<span title="Work Smarter: Use built-in functionality">Work Smart...</span>
</td>
though you could put the title attribute on the <td> tag itself, I would recommend using the
<span> as a container for the sake of separating the structure of the table from the display of a
label. (and I think it's more acceptable practice to put an ID in a <span> than on a <td> in the
case you wanted to access a property through javascript)
On Thu, 18 Mar 2004 10:01:49 -0800 (PST)
Samyukta Akunuru <samyuktaakunuru at yahoo.com> wrote:
>Hi,
>
>I would like to implement a pop up in my page.On clicking the link to generate the pop up, the
>pop up should have the full text of the content.how do i do this...
>currently i have a page/form with table and rows in it.
>the 'book title' is what i am talking about.as the title is large, i cnat display the whole title
>in the table.so i want to show only the first 10 characters and dots.on clicking this text, a pop
>up should come up showing the whole text in the wndow (pop up window) that opens up...
>
>Thanks in advance!1!!
>
>
>Do you Yahoo!?
>Yahoo! Mail - More reliable, more storage, less spam
More information about the Javascript
mailing list