[jQuery] Re: Selecting a specific number of children rather than number of specific elements

2008-04-15 Thread Brian Talbot
then > trying to append it, along with the other elements, to itself. > > try changing the second line to this: > > $('#article > > *:gt(3)').appendTo($xwrapper); > > that should do it. > > --Karl > _ > Karl Swedb

[jQuery] Re: Pairing Toggle/Expand Behavior with Particular Element Pairs

2008-04-15 Thread Brian Talbot
Hey all, I found a solution to my issue. All I needed to do was traverse the DOM a bit within my .click function. For those of you interested/ having the same issues, here's the solution - http://brian-talbot.com/inventingroom/flagcomments2/ -- Brian On Apr 14, 5:43 pm, Brian Talbot &l

[jQuery] Re: Selecting a specific number of children rather than number of specific elements

2008-04-15 Thread Brian Talbot
an On Apr 14, 9:02 pm, "Karl Rudd" <[EMAIL PROTECTED]> wrote: > Instead of: > > $( '#article p' ) > > You can use: > > $( '#article > *' ) > > Which will get all the immediate children (but not grandchildren) of > #article. App

[jQuery] Selecting a specific number of children rather than number of specific elements

2008-04-14 Thread Brian Talbot
Hi All, I was wondering if someone could help refine a content toggling solution that I have now. As of now, the demo page below takes the first 3 elements within a parent with a specific ID and hides the remainder of the paragraphs in this parent by placing them in a newly created and then c

[jQuery] Pairing Toggle/Expand Behavior with Particular Element Pairs

2008-04-14 Thread Brian Talbot
Hi All, I was wondering if anyone had any insight into an issue I'm having when using JQuery to show/hide a series of elements on a page. I currently have a set of comments (to be placed in a larger page) and along with each comment a form is needed to allow users to flag an individual comment.

[jQuery] Re: Help with Element Replacement on Page Load (with fade effect)

2008-01-16 Thread Brian Talbot
re: > > http://test.learningjquery.com/replace-element.html > > --Karl > _________ > Karl Swedbergwww.englishrules.comwww.learningjquery.com > > On Jan 16, 2008, at 11:53 AM, Brian Talbot wrote: > > > > > As an update, I've gotten the function

[jQuery] Re: Help with Element Replacement on Page Load (with fade effect)

2008-01-16 Thread Brian Talbot
e have any experience or ideas for how to make that specifically happen? On Jan 16, 9:31 am, Brian Talbot <[EMAIL PROTECTED]> wrote: > Hi All, > > I'm still getting my feet wet with JQuery and am having some trouble > trying to accomplish the following: > > I'd like

[jQuery] Help with Element Replacement on Page Load (with fade effect)

2008-01-16 Thread Brian Talbot
Hi All, I'm still getting my feet wet with JQuery and am having some trouble trying to accomplish the following: I'd like to have one HTML element (in the case of the example below its a ) be replaced by another HTML element (again in this case its ) when the page/ DOM containing these elements

[jQuery] Re: JQuery Expand/Collapse Troubleshooting

2007-10-15 Thread Brian Talbot
Hey Glen, Thanks for the feedback. My bad about overbloating things and asking a bit too much (as well as the three repeat posts - it wasn't on purpose) :o) I've simplified the example and it looks like things work in this example - http://brian-talbot.com/inventingroom/ng-jquery-expand/ What th

[jQuery] JQuery Expand/Collapse Troubleshooting

2007-10-15 Thread Brian Talbot
Hi All, I'm having a bit of trouble implementing a show/hide bit of JQuery JavaScript and was wondering if anyone had any ideas or advice that may help. On this page http://tinyurl.com/33wksr (my apologies for the missing content and overall clunkiness of the page - its been copied out of the NG

[jQuery] JQuery Expand/Collapse Troubleshooting

2007-10-15 Thread Brian Talbot
I'm having a bit of trouble implementing a show/hide bit of JQuery JavaScript and was wondering if anybody had any ideas or advice that may help. On this page http://tinyurl.com/33wksr (my apologies for the missing content and overall clunkiness of the page - its been copied out of the NG CMS tha