[jQuery] Re: Dropdown div functionality

2007-05-03 Thread Rey Bango
Holy moly Erik, you're my new best friend! That is great work! The only quirk I see is that in IE7, the main table shoots out to the right when closing a row. Since you have the table set at 50%, I'm wondering if it would do that at a fixed width. I'm going to test it out. Thank you man! Rey

[jQuery] Re: Dropdown div functionality

2007-05-03 Thread Karl Swedberg
These are really cool examples, Erik! I have such a love/hate relationship with iframes that I rarely think to use them. The OP example was a little bit more complex, since the iframe spanned the entire width of the table even through there were multiple columns. Would be cool to see what

[jQuery] Re: Dropdown div functionality

2007-05-03 Thread Rick Faircloth
: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Erik Beeson Sent: Thursday, May 03, 2007 2:37 AM To: jquery-en@googlegroups.com Subject: [jQuery] Re: Dropdown div functionality Man, I think everybody is trying to hard. Here's my quick pass at it (only tested on FF2/Mac): http

[jQuery] Re: Dropdown div functionality

2007-05-03 Thread Erik Beeson
The OP example was a little bit more complex, since the iframe spanned the entire width of the table even through there were multiple columns. Would be cool to see what you could come up with for a multi-column example. Check out the multicol versions at the same page as before:

[jQuery] Re: Dropdown div functionality

2007-05-03 Thread Erik Beeson
:[EMAIL PROTECTED] On Behalf Of Erik Beeson Sent: Thursday, May 03, 2007 3:55 PM To: jquery-en@googlegroups.com Subject: [jQuery] Re: Dropdown div functionality The OP example was a little bit more complex, since the iframe spanned the entire width of the table even through there were multiple

[jQuery] Re: Dropdown div functionality

2007-05-03 Thread Karl Swedberg
Looks excellent in FF2 Mac! Great work, Erik! --Karl _ Karl Swedberg www.englishrules.com www.learningjquery.com On May 3, 2007, at 3:55 PM, Erik Beeson wrote: The OP example was a little bit more complex, since the iframe spanned the entire width of the table even

[jQuery] Re: Dropdown div functionality

2007-05-02 Thread Aaron Heimlich
On 5/2/07, Rey Bango [EMAIL PROTECTED] wrote: Could someone help me learn how to do that? This function[1] is attached to the click event of each of the table rows: tr ... onclick=servOC(1, '/torrent_details/14577207/300', '#eaedf4') ... function servOC(i, href, nColor) { var trObj =

[jQuery] Re: Dropdown div functionality

2007-05-02 Thread Josh Nathanson
Rey, I put up a very basic proof of concept for you, you can view source to check the code: http://www.igigi.com/divstest.cfm It looks like hell in IE, but the basic functionality is there. It just needs some css help I think for IE. The only thing you'd need to add is grabbing your

[jQuery] Re: Dropdown div functionality

2007-05-02 Thread Josh Nathanson
- From: Josh Nathanson [EMAIL PROTECTED] To: jquery-en@googlegroups.com Sent: Wednesday, May 02, 2007 5:07 PM Subject: [jQuery] Re: Dropdown div functionality Rey, I put up a very basic proof of concept for you, you can view source to check the code: http://www.igigi.com/divstest.cfm

[jQuery] Re: Dropdown div functionality

2007-05-02 Thread Aaron Heimlich
Here's a first attempt at jQueryizing servOC(). It could probably be better, but I wanted something that was a drop-in replacement: function servOC(i, href, nColor) { var trObj = jQuery(#ihtr + i); var nameObj = jQuery(#name + i); var ifObj = jQuery(#ihif + i); if(trObj.css(display)

[jQuery] Re: Dropdown div functionality

2007-05-02 Thread Rey Bango
Very cool Aaron. They do have a very smooth slide down effect. I'm going to see how to recreate the code based on what you've done here. Thanks so much for your help. Rey... Aaron Heimlich wrote: Here's a first attempt at jQueryizing servOC(). It could probably be better, but I wanted