On 4/11/07, real <[EMAIL PROTECTED]> wrote:
Oh... oops sorry about that! lol
On Apr 11, 2:48 pm, Klaus Hartl <[EMAIL PROTECTED]> wrote:
> real schrieb:
>
> > This should work for you:
>
> > if ( $('td').is(':visible') ) { // the rest of your code }
>
> That won't work (for any element) if "dis
I have not seen a plugin that contains such logic especially when
dealing with the col and colgroup tags. Of course if you could avoid
having the col and colgroup tags hidden you could use something like
this (untested and off the top of my head).
var visible = !!($('#myCell').parents().filter('
Oh... oops sorry about that! lol
On Apr 11, 2:48 pm, Klaus Hartl <[EMAIL PROTECTED]> wrote:
> real schrieb:
>
> > This should work for you:
>
> > if ( $('td').is(':visible') ) { // the rest of your code }
>
> That won't work (for any element) if "display: none" has been declared
> for an ancestor
real schrieb:
This should work for you:
if ( $('td').is(':visible') ) { // the rest of your code }
That won't work (for any element) if "display: none" has been declared
for an ancestor element. Or in this special case the col which the td
belongs to (which is not exactly an ancestor).
Th
This should work for you:
if ( $('td').is(':visible') ) { // the rest of your code }
On Apr 11, 2:32 pm, "Matt Kruse" <[EMAIL PROTECTED]> wrote:
> I'd like to find out if a table cell is actually visible or not. Is
> there a method in any plugin that will do this work for me?
>
> The complexity
5 matches
Mail list logo