Scriptaculous

From Elvanör's Technical Wiki
Revision as of 09:51, 18 June 2008 by Elvanor (talk | contribs)
Jump to navigation Jump to search

Basics

  • One of the main design choice of Scriptaculous is to allow you to create your own effects by combining several core effects.

Effects

  • If you want an element to appear by growing out of nowhere, try directly the Grow effect. I could not make the basic scale effect to work correctly.

Drag & Drop

  • Beware that calling document.stopObserving("mousemove") will prevent all your draggable objects from being actually dragged. If you really need to call document.stopObserving(), you should destroy all your Draggable objects before doing so, and recreate them afterwards.

Autocompletion

  • Scriptaculous offers a very nice framework for autocompletion, either local or on the server through Ajax. If you need autocompletion, use this framework!