PROTECTED] wrote:
Instead of:
$( '#article p' )
You can use:
$( '#article *' )
Which will get all the immediate children (but not grandchildren) of
#article. Append :gt() and :eq() to your hearts content.
Karl Rudd
On Tue, Apr 15, 2008 at 8:00 AM, Brian Talbot [EMAIL PROTECTED
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 [EMAIL
to this:
$('#article
*:gt(3)').appendTo($xwrapper);
that should do it.
--Karl
_
Karl Swedbergwww.englishrules.comwww.learningjquery.com
On Apr 15, 2008, at 9:30 AM, Brian Talbot wrote:
Thanks Karl,
That makes complete sense! I've tried to implement it by replacing all
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.
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 p elements within a parent div with a specific ID and
hides the remainder of the paragraphs in this parent div by placing
them in a newly created div
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 div class=initial/div) be replaced by another HTML element
(again in this case its div class=replaced/div)
element
fades out.
Does anyone 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 to have one
Swedbergwww.englishrules.comwww.learningjquery.com
On Jan 16, 2008, at 11:53 AM, Brian Talbot wrote:
As an update, I've gotten the functionality to work. :o)
But the behavior isn't completely correct. Ideally, the initial
element (div class=initial/div) would fade out with the
replaced element (div class=replaced
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
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
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
11 matches
Mail list logo