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
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
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
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
4 matches
Mail list logo