Re: [jQuery] need help with simple jQuery problem

2010-01-22 Thread Adriana P
Hi Rory, I will try to give you a detailed explanation. The file expand.js contains two scripts: the expandAll() plug-in and the small toggler() plug-in. 1.) expandAll() - generates the switch 'Expand All/Collapse All' (or, in your case, 'go ahead.../ ...go back'); - when the 'switch' is cli

Re: [jQuery] need help with simple jQuery problem

2010-01-20 Thread Adriana P
Hi Rory, You need only the expandAll() plug-in: $(function() { $("#outer").expandAll({trigger: "span.expand", ref: "div.demo", showMethod: "slideDown", hideMethod: "slideUp", speed: 600}); }); Regards, Adriana Rory Bernstein wrote: > > Hello, > > I am a total jQuery novice, and I tried

Re: [jQuery] need help with simple jQuery problem

2010-01-19 Thread parot
Hi Rory Like you a jQuery novice, but think I can help. Though I agree there seems to be a lot of code in here/there that is not needed - plus would not validate against W3C standards e.g. take out the after the and replace your / 's with / . Anyhow here goes - and I have no dobut it ca

Re: [jQuery] need help with simple jQuery problem

2010-01-19 Thread Nathan Klatt
That seems like a lot of code for something so simple. Why don't you just follow the example from the docs: http://docs.jquery.com/Effects/slideToggle#speedcallback ? Nathan

[jQuery] need help with simple jQuery problem

2010-01-19 Thread Rory Bernstein
Hello, I am a total jQuery novice, and I tried to use jQuery for a project but I'm having trouble. http://www.rorybernstein.com/stage/index2.html When you click the blue "go ahead" link, it expands the hidden div, revealing content. I want the effect to be a "slide" effect, as on this sample pag