---
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
Behalf Of Sam Collett
Sent: Wednesday, February 21, 2007 11:49 AM
To: jQuery Discussion.
Subject: Re: [jQuery] accordion table, instead of an accordion list/menu?
On 21/02/07, Kristinn Sigmundsson <[EMAIL PROTECTED]> wrote:
> Thing is
On 21/02/07, Kristinn Sigmundsson <[EMAIL PROTECTED]> wrote:
> Thing is that even if you have a callback to the slideToggle and set
> the display property to table-row, it still comes out wierd...
>
> maybe a wrapping div is the best solution?
I have tried wrapping with DIV's, but they don't seem
Thing is that even if you have a callback to the slideToggle and set
the display property to table-row, it still comes out wierd...
maybe a wrapping div is the best solution?
On 2/21/07, rolfsf <[EMAIL PROTECTED]> wrote:
>
> Thanks Karl - I've scoured the threads - it's definitely on the list of
Thanks Karl - I've scoured the threads - it's definitely on the list of hard
problems, and labeled "unsolved"
http://docs.jquery.com/HardProblems
Karl Swedberg-2 wrote:
>
> I haven't tested any, but there have been a few threads on this issue
> before and one workaround I recall reading abou
I haven't tested any, but there have been a few threads on this issue
before and one workaround I recall reading about was to temporarily
wrap a set of rows in a div before showing and hiding and then remove
the div after the effect has completed.
If you discover this or some other method w
Is there a way around that? Can you get simple animation to work on table
rows? I can live with a simple show/hide, but it would be nice to dress it
up a little.
Karl Swedberg-2 wrote:
>
> Rolf, I think the strange results occur in Firefox because it wants
> all elements to have display:tabl
Rolf, I think the strange results occur in Firefox because it wants
all elements to have display:table-row but the .slideX()
and .show/hide(speed), etc. methods use display:block
--Karl
_
Karl Swedberg
www.englishrules.com
www.learningjquery.com
On Feb 20, 2007, at 9:09 PM
by the way, I do notice that if I use .slideToggle instead of .toggle I get
strange results... not sure why.
Kristinn Sigmundsson wrote:
>
> ok So something like this almost(?) does it,
> $(".collapse_group[a]").click( function () {
> $(this).parent().siblin
Yes... easy for some, a proud learning achievement for others ;-)
I actually figured out the same thing on my own - it's here:
http://www.monkeypuzzle.net/testfiles/jquery/Accordion_table/index_2.html
Thanks Erik!
Erik Beeson wrote:
>
> That sounds pretty easy:
>
> $('.accordion').click(func
ok So something like this almost(?) does it,
$(".collapse_group[a]").click( function () {
$(this).parent().siblings("tr").slideToggle("fast",
function() {
$(this).each( function() {
if (
Thanks (again) Kristinn!
You are correct that there should be a tfoot in there as well... I was
abbreviating.
I actually got the table working just now on my own (amazing what happens
when I slow down, look at visual jquery, and go step by step, and trust
myself!)
the working table (tested in sa
That sounds pretty easy:
$('.accordion').click(function() {
$(this).siblings().toggle();
});
See it here:
http://www.erikandcolleen.com/erik/projects/jquery/accordian_table.html
--Erik
On 2/20/07, rolfsf <[EMAIL PROTECTED]> wrote:
>
> I misspoke - now that I look at it closer and play with
First things first, and I could be wrong here, but I believe that the
correct syntax for a table is:
Not sure several tbody elements is correct... anyway, I did some test,
and got some freaky results, I think that the problem lies with the
style "display: block" being applied, works fi
I misspoke - now that I look at it closer and play with jquery.accordian, I
don't want it to function like an accordion menu, since I want each grouping
to be toggled independent of each other -- they could all be open, or all
closed.
sorry for the confusion...
rolfsf wrote:
>
> I'm trying to f
I'm trying to figure out how to build a table that allows the user to toggle
groups of rows, much like the accordion menus made with Jörn's accordion
plugin, while keeping reasonably semantically correct markup in the table.
My best guess on the markup is posted here:
http://www.monkeypuzzle.net
15 matches
Mail list logo