1. Add the row to the table - all of the content should be contained in hidden divs 2. Run animations on the divs - show, slide down, fade in, etc
Blair On 1/16/07, James Thomas <[EMAIL PROTECTED]> wrote:
Yes, but it just appears, we haven't yet experimented with applying effects. We have always done this using plain old javascript, like: TO SHOW: document.getElementById('trShow').style.display = 'block'; TO HIDE: document.getElementById('trShow').style.display = 'none'; Could probably use jquery though to do it too: $('#trShow').css('display', 'none'); // hide $('#trShow').css('display', 'block'); // show You can probably simply apply hide() or show() to the items too. Not sure though about effects as I haven't tried it yet. Rick Faircloth wrote: > > I would like for a space to open between two rows and for the > js row to appear between the two... perhaps slide down and slide up. > > Is that what you do? > > Rick > > -----Original Message----- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On > Behalf Of James Thomas > Sent: Monday, January 15, 2007 2:43 PM > To: discuss@jquery.com > Subject: Re: [jQuery] Trying to show/hide table row... > > > It is possible to hide table rows, though I don't know about hiding them > with > animations. We hide them all the time and we just hide and show it - works > fine. I haven't tried this since I switched to jquery (some of the old JS > code is still there) but I don't think there'd be any problem here either. > As I said though, I can't speak to any animations. > > > > Rick Faircloth wrote: >> >> Is it possible to show and hide a table row as it is a div? >> >> I work mostly with tables / rows / cells rather than div's >> and I've had a hard time making the code work on tables rows. >> >> Before I get into the code, I just want to make sure there's >> nothing specific about TR's that make them impossible or more >> difficult to work with than DIV's when it comes to jQuery. >> >> Rick >> >> _______________________________________________ >> jQuery mailing list >> discuss@jquery.com >> http://jquery.com/discuss/ >> >> > > -- > View this message in context: > http://www.nabble.com/Trying-to-show-hide-table-row...-tf3016032.html#a83779 > 14 > Sent from the JQuery mailing list archive at Nabble.com. > > > _______________________________________________ > jQuery mailing list > discuss@jquery.com > http://jquery.com/discuss/ > > > > _______________________________________________ > jQuery mailing list > discuss@jquery.com > http://jquery.com/discuss/ > > -- View this message in context: http://www.nabble.com/Trying-to-show-hide-table-row...-tf3016032.html#a8381059 Sent from the JQuery mailing list archive at Nabble.com. _______________________________________________ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
_______________________________________________ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/