[jQuery] Re: What is wrong with this code?

2007-08-14 Thread Tane Piper
Yes, it's current planned in 1.2 which should be out in less than a month. Ganesh has also working on his LavaLamp plugin that provides an animation stop to the menu. To be honest it's one of these things that probably should have been in before now, but people are only starting to see that's it

[jQuery] Re: What is wrong with this code?

2007-08-14 Thread Eridius
Are there any current projects or planned projects to have animation stop and go back to how they were when another one is started, almost like group certain effect together and one one can be active at a time. I think this is the only spot were mootools is much better than jQuery, which is anim

[jQuery] Re: What is wrong with this code?

2007-08-13 Thread Ganeshji Marwaha
No problem karl I like being "quoted" ;-) But, the jkwick doesn't actually use the technique he needs. Instead it uses a boolean called "running" to determine if an animation is running or not and if it is running, then it doesn't trigger another animation until that has finished. Actually it

[jQuery] Re: What is wrong with this code?

2007-08-13 Thread Eridius
That is pretty disappointing, that is a lot of code to stop an animation. i guess i need to rethink on mootools. Karl Swedberg-2 wrote: > > > > On Aug 13, 2007, at 8:40 PM, Joel Birch wrote: > >> On 8/14/07, Joel Birch <[EMAIL PROTECTED]> wrote: >> On 8/14/07, Eridius <[EMAIL PROTECTED]> w

[jQuery] Re: What is wrong with this code?

2007-08-13 Thread Karl Swedberg
On Aug 13, 2007, at 8:40 PM, Joel Birch wrote: On 8/14/07, Joel Birch <[EMAIL PROTECTED]> wrote: On 8/14/07, Eridius <[EMAIL PROTECTED]> wrote: That help quite a bit but still not the effect i am looking for. I know this is ironic but i am looking for the effect on this home page on the

[jQuery] Re: What is wrong with this code?

2007-08-13 Thread Joel Birch
On 8/14/07, Joel Birch <[EMAIL PROTECTED]> wrote: > > On 8/14/07, Eridius <[EMAIL PROTECTED]> wrote: > > > > > > That help quite a bit but still not the effect i am looking for. I know > > this > > is ironic but i am looking for the effect on this home page on the right > > hand side: > > > > http

[jQuery] Re: What is wrong with this code?

2007-08-13 Thread Joel Birch
On 8/14/07, Eridius <[EMAIL PROTECTED]> wrote: > > > That help quite a bit but still not the effect i am looking for. I know > this > is ironic but i am looking for the effect on this home page on the right > hand side: > > http://mootools.net/ > > The thing that that effect has and this one does

[jQuery] Re: What is wrong with this code?

2007-08-13 Thread Eridius
That help quite a bit but still not the effect i am looking for. I know this is ironic but i am looking for the effect on this home page on the right hand side: http://mootools.net/ The thing that that effect has and this one does not is the is stops the effect once the mouse leaves if i move

[jQuery] Re: What is wrong with this code?

2007-08-13 Thread Joel Birch
On 8/14/07, Joel Birch <[EMAIL PROTECTED]> wrote: > > > > On 8/14/07, Eridius <[EMAIL PROTECTED]> wrote: > > > > > > is there anything wring with that code(i don't care about use > > mouseover() > > instead of bind() because i did to test things)? > > > > > It seems to work fine for me, although I

[jQuery] Re: What is wrong with this code?

2007-08-13 Thread Joel Birch
On 8/14/07, Eridius <[EMAIL PROTECTED]> wrote: > > > is there anything wring with that code(i don't care about use mouseover() > instead of bind() because i did to test things)? > > It seems to work fine for me, although I would use hover() in order to eliminate the buggy behaviour of mouseout firi

[jQuery] Re: What is wrong with this code

2007-04-20 Thread Sean Catchpole
You're absolutely right. I think at some point in jQuery's past this was flipped, but I'm glad to know that the filter functions works as intended now. Sorry for the confusion. =( ~Sean

[jQuery] Re: What is wrong with this code

2007-04-20 Thread joomlafreak
I looked at the JQuery API http://jquery.com/api/ and it says Selects all paragraphs and removes those without a class "selected". $("p").filter(".selected") HTML: HelloHow are you? Result: [ Hello ] I am sorry, it may be a wrong interpretation by me but this to me makes absolutely opposit

[jQuery] Re: What is wrong with this code

2007-04-20 Thread Sean Catchpole
Can you post some sample html that you're working with? It's a little hard to work blind. Filter would remove your search from the results, find would leave on your search in the results. apples oranges bananas filter oranges would leave: apples and bananas find oranges would leave: oranges I

[jQuery] Re: What is wrong with this code

2007-04-20 Thread joomlafreak
Thats what I am trying to do, filter our everything other then the first paragraph from the results I get through jQuery.get... I tried your code Sean but it too did not help. I am just wondering now what is the code if I want to select/extract first paragraph from the ajax get function and inje

[jQuery] Re: What is wrong with this code

2007-04-20 Thread Sean Catchpole
jQuery(item_content).filter("#contentpane .contentpane > p, :first"); Filter removes those items from your search. Perhaps you want to use find instead. Try the following code: jQuery.get(item_link,function(item_content){ var new_content =jQuery("#contentpane .contentpane > p",item_cont

[jQuery] Re: What is wrong with this code

2007-04-20 Thread joomlafreak
Thanks for the reply Brian, I tried your way but didn work. I looked at the docs again and it says it should be like this jQuery(item_content).filter("#contentpane .contentpane > p, :first"); But unfortunately this also did not work. As for th cloning of node, Well I am novice to javascript and

[jQuery] Re: What is wrong with this code

2007-04-20 Thread Brian Miller
Quick-n-dirty way: use .eq(0).innerHTML instead of .eq(0) . But, what might probably work better is if you cloned the node and inserted it into #myContent (assuming that it winds up as valid DOM that way). - Brian > Hi > this is what I have > > jQuery.get(item_link,function(item_content){ > >