[jQuery] Re: SlideUp/SlideDown Causing Alignment Issues.
The effects functions apply a style of display:block to the table. Try wrapping the table in a div and slide the div . On Feb 26, 1:36 am, Sir Rawlins robert.rawl...@thinkbluemedia.co.uk wrote: Hello Guys, Take a look at the following example:http://www.coldbeans.co.uk/expanding_table.html Any ideas why the nested table alignment all goes tits-up when the JS gets involved? Cheers, Robert
[jQuery] Re: SlideUp/SlideDown Causing Alignment Issues.
mkmanning: You were spot on! I've updated the code in the link above making the div slidable and it works lovely :-) Thank you! o.k. see if you can help me a little further. I'm looking to identify all the parent rows which are not expanded and fade them out using a fadeTo('slow', 0.3) or something like that, the idea being that when someone expands a particular row all the other fade into the background giving focus to the selects row. Is there any way for me to detect the links current toggle state? or will I have to perhaps build my own list of id's which are 'expanded' and 'not expanded'? Thanks for your help, Robert On Feb 26, 9:42 am, mkmanning michaell...@gmail.com wrote: The effects functions apply a style of display:block to the table. Try wrapping the table in a div and slide the div . On Feb 26, 1:36 am, Sir Rawlins robert.rawl...@thinkbluemedia.co.uk wrote: Hello Guys, Take a look at the following example:http://www.coldbeans.co.uk/expanding_table.html Any ideas why the nested table alignment all goes tits-up when the JS gets involved? Cheers, Robert
[jQuery] Re: SlideUp/SlideDown Causing Alignment Issues.
Ok, I've taken a stab at the next concept, I think I'm along the right track, During the toggle function I'm trying to pull all .clickable elements which dont have ID of the one just click, I can then fade thier parent().parent() to do the job. I think this will work, however, I cant get my filter expression to work properly. Do you think I'm going in the right direction? Thanks, Robert On Feb 26, 10:27 am, Sir Rawlins robert.rawl...@thinkbluemedia.co.uk wrote: mkmanning: You were spot on! I've updated the code in the link above making the div slidable and it works lovely :-) Thank you! o.k. see if you can help me a little further. I'm looking to identify all the parent rows which are not expanded and fade them out using a fadeTo('slow', 0.3) or something like that, the idea being that when someone expands a particular row all the other fade into the background giving focus to the selects row. Is there any way for me to detect the links current toggle state? or will I have to perhaps build my own list of id's which are 'expanded' and 'not expanded'? Thanks for your help, Robert On Feb 26, 9:42 am, mkmanning michaell...@gmail.com wrote: The effects functions apply a style of display:block to the table. Try wrapping the table in a div and slide the div . On Feb 26, 1:36 am, Sir Rawlins robert.rawl...@thinkbluemedia.co.uk wrote: Hello Guys, Take a look at the following example:http://www.coldbeans.co.uk/expanding_table.html Any ideas why the nested table alignment all goes tits-up when the JS gets involved? Cheers, Robert