Like This Site? 
 
RSS Feed Follow Us 

on Twitter! Be Our Fan!

Implement Drag and Drop functionality

Share this post!
 Vote this!

The most popular feature of Web 2.0 interface is drag and drop facility. Fortunately script.aculo.us comes with strong support for drag and drop capability.
To use script.aculo.us's dragging capabilities, you'll need to load the dragdrop module, which requires the effects module also. So your minimum loading for script.aculo.us will look like this:
<script type="text/javascript" 
   src="/javascript/prototype.js">
</script>
<script type="text/javascript" 
   src="/javascript/scriptaculous.js?load=effects,dragdrop">
</script>   more...
    

0 comments:

Post a Comment