On 06 Apr 2008, at 12:23, Christophe Porteneuve wrote: >> The prag-prog book is, I'm very sad to say, not so good. For >> example I >> wanted to make a div appear to slide down. The book told me to use >> the >> SlideDown effect, great, but it offered not a single example nor did >> it document a single option. I ended up having to read the source to > > Hey, > > I'm sorry the book didn't cut it for you, but I can't let that pass. > The book documents every single option available, for every effect; > it's > just that many combined effects (including SlideDown) do not have any > specific option, and "common" options are all explained in detail > (from > p.258), and every aspect of calling an effect is demo'd elsewhere in > the > chapter (from p.250 for the basics and the core effects with their > options, and after the combined effects list for "advanced" features > such as effect queues). > > Indeed, the "combined" effects do not have individual demos, for > several > reasons: first, most of them would be difficult to "render on paper". > Second, the code for them is usually a one-liner identical to every > effect call in the other examples. > > The chapter referred to Scripty's wiki combined demo page, which is > now, > indeed, down :-( You can find an alternate version of it (which I > prefer, too) in the code for my presentation last July at The Ajax > Experience West: > > http://tddsworld.com/script.aculo.us-demos.zip > > Again, I'm sorry that you did not find what you wanted in the chapter, > but what you're saying here is patently falseā¦
Indeed, I agree 100% with Christophe, the book is great. It seems you are just looking for some prechewed code to do some fancy effect on your website, that's not what the book is about. The book is on how you should use a javascript library, in this case P&S, to make your own custom objects. Animation is part of it, but there's a lot more to it. Christophe's book has everything in there that you need, as long as you know your way around Javascript and its OO way of doing things already and just want to get a hang of how well the library will speed up your development. Best regards Peter De Berdt --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Spinoffs" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/rubyonrails-spinoffs?hl=en -~----------~----~----~----~------~----~------~--~---
