[jQuery] Re: Moving an Element

2008-08-21 Thread elz64
Hi, I'm just a noob with jQ, but I'd rather .remove AFTER the .append...no ? plus : I don't know the clone syntaxe yet, but what's the name of the cloned element ?? On 21 août, 08:09, "Stefan Sturm" <[EMAIL PROTECTED]> wrote: > Hello, > > I try to move an Element ( a div ) from one div to anothe

[jQuery] Re: A "nasa.gov" - like accordion menu

2008-08-21 Thread elz64
hi, I'm very new too. I found many accordeon examples with jQ (like this one : http://interface.eyecon.ro/demos/accordion.html ), the only thing that looks 'special' with the nasa menu, is the trigger events, it's not onclick but probably the mouseover(fn) that will do tthe job. For the rest it

[jQuery] Re: A little problem

2008-08-21 Thread elz64
hi, I'm new to jQ, but I found this with next() statement that get the element very next to the targeted one. $(".btn-slide").click(function(){ $(this).next().slideToggle('slow'); return false; // <-- this is necessary, too, to prevent the link's default action NOT SURE ?? });

[jQuery] Re: how to toggle text

2008-08-20 Thread elz64
rote: > have you tried just $("#toggle-content").toggle(); it shows and hide > toggle-content div. otherwise for more option you can use > $("#toggle-content").toggle(function1(){},function2(){}); where > function1 will run when first clicked and function2 the sec

[jQuery] how to toggle text

2008-08-19 Thread elz64
Hello, I begin with jQuery so looks like one toggle function is missing : how can be accomplished the change of a text in a link , (and it's title or a alt text) between to possible states : ie: I use this to hide/display a content div a linl and this : $("#toggle-content").click(funct