This is a very short post, but I wanted to tell you about jQuery. I tried it earlier this week in a new CakePHP 1.2 project. Just included jquery.js in my layout and used the code below to have a toggle effect. With Mootools I always needed much more code to achieve this effect.
Try this example.
Let me know what you think of this!
Abonneren op:
Reacties posten (Atom)
Why use jquery and inline js? For me part of the beauty of jquery is the ease with which it allows you to separate js out of your source.
BeantwoordenVerwijderenSee http://www.quarkruby.com/2007/11/6/why-i-moved-from-prototype-to-jquery for a longer explanation of the same thing
Thanks AD7six, will definitely give it a try!
BeantwoordenVerwijderen