O'Reilly logo

PHP and script.aculo.us Web 2.0 Application Interfaces by Sridhar Rao

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 5. AJAX Drag and Drop Feature using script.aculo.us

In Chapter 4 we saw the various effects provided by the script.aculo.us visual library. At the end of Chapter 4, I also gave you a hands-on task. How did you do it? The solution to the task that combines all the effects in one go,is as follows:

<script src="includes/scriptaculous/lib/prototype.js" type="text/javascript"></script> <script src="includes/scriptaculous/src/scriptaculous.js" type="text/javascript"></script> <script src="includes/scriptaculous/src/effects.js" type="text/javascript"></script> <script src="includes/scriptaculous/src/unittest.js" type="text/javascript"></script> </head> <body> <div class="toolbar"> <a href="#" onClick="new Effect.Fade('mydiv'); return false;">Fade</a>&nbsp;&nbsp; ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required