[jQuery] jQuery and Scriptaculous: A different solution

[jQuery] jQuery and Scriptaculous: A different solution

Scriptaculous is a very nice library. But I wish to use it with
jQuery, and in a "jQuery fashion". Here's what I suggest:
1: Rename the $() function in scripaculous (I renamed it to S()), as
we will only use jQuery $() outside.
2: Wrap scripaculous functionality in jQuery methods.
3: Perhaps strip out some duplicate functionality. I would perhaps
strip out AJAX from prototype, and reimplement jQuery effects with
scriptaculous.
Here's an example:
http://bytetastic.com/bytecore2/jquery/test.htm
----------------------------------------
    $.fn.draggable = function(options)
    {
     return this.each(function() {
            new Draggable(this, options);
     });
    };
    
    $.fn.droppable = function(options)
    {
     return this.each(function() {
            Droppables.add(this, options);
     });
    };
----------------------------------------
_______________________________________________
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/