Discover the best of the web!
Learn more about Digg by taking the tour.
Javascript Library: Drag&Drop, Fade, Animations...
openrico.org — Ever want to add drag and drop to your website? How about a cool animation or fade? Rico is an free, open javascript library that makes adding these features easy. Check out the demo, it's pretty slick.
- 1774 diggs
- digg it
- lane.montgomery, on 10/12/2007, -2/+7At first I thought, the last thing we need is another frame-work. But, this site does bring some new and interesting things to the table, such as easy rounded corners. Definately worth considering.
- chesterjosiah, on 10/12/2007, -0/+1Rico is straight up awesome. Digg.
- dave_colorado, on 10/12/2007, -3/+6i love these things. thanks. +digg.
- ahsteele, on 10/12/2007, -2/+1Very slick!
- rysolag, on 10/12/2007, -3/+3nice link. ++
- raccettura, on 10/12/2007, -26/+6This is def old news... been around for quite a while.
- maverick3x6, on 10/12/2007, -1/+10but obviously it's news to a lot of people... stop wasting your time saying it's "old news"
- callmejordy265, on 10/12/2007, -3/+0Ive never heard of it...
- kyndig, on 10/12/2007, -1/+1It's a really nice twist, but if you view the source of the site, and the example showed, you'll see there are two differences. In the source, the web author uses TABLE tags to design the layout. Guess HTML has its purposes still... Great drag feature though!
- allanpat, on 10/12/2007, -2/+7old news to some is new to others
- krakelohm, on 10/12/2007, -1/+6Anyone else notice that you cannot drag the box back to its starting area?
- anorris, on 10/12/2007, -8/+1Haha, I did!
- Zipp425, on 10/12/2007, -7/+1pretty sweet... thanks!
- prockcore, on 10/12/2007, -0/+2rico isn't very cross-browser friendly. It's better to just go ahead and use script.aculo.us instead.. it's much more cross-platform.
- indeh, on 10/12/2007, -0/+1If only this and script.aculo.us were a single library... Now that I think of it, is there anything like CPAN for javascript?
- burke, on 10/12/2007, -0/+1CPAN -- no.
other part: C-C C-V - IncognitoCraven, on 10/12/2007, -1/+1JavaScript Archive Network
http://www.openjsan.org/
To hell with Captcha
- burke, on 10/12/2007, -0/+1CPAN -- no.
- ryan_merket, on 10/12/2007, -1/+2What javascript library isn't "open"?
- coding, on 10/12/2007, -0/+2Commercially licenced javascript is not open as in open source. But yes the source code of commercial javascript is viewable. This Rico js is open source.
- alex007, on 10/12/2007, -11/+4Non-news. This is old. Also, Digg is not del.icio.us... dont post your favorite links just because. Post only news please.
- bugninja, on 10/12/2007, -2/+1This was news to me. Never heard of it before.
- Xopl, on 10/12/2007, -2/+7http://script.aculo.us/
http://moofx.mad4milk.net/- MisterKen, on 10/12/2007, -0/+1These are the 2 links I'm familiar with. Looks like Rico has gone a bit farther and the script seems a bit larger.
The 'InnerHTML' demo is really sweet.
Worth a digg and a bookmark. - Xopl, on 10/12/2007, -0/+1Doesn't work right in Safari.
- MisterKen, on 10/12/2007, -0/+1These are the 2 links I'm familiar with. Looks like Rico has gone a bit farther and the script seems a bit larger.
- Xopl, on 10/12/2007, -16/+3http://script.aculo.us/
http://moofx.mad4milk.net/ - axecore, on 10/12/2007, -4/+0kick ass
- Cossins, on 10/12/2007, -0/+1I like the script.aculo.us/prototype version better, since it also works properly in Safari. This is half-broken.
- eightounces, on 10/12/2007, -0/+0Yeah, scriptaculous/prototype is much better- I find Rico to be bloated and overweight. Encytemedia put together a small rounded corner lib based on prototype (http://www.encytemedia.com/blog/articles/2005/12/01/rico-rounded-corners-without-all-of-rico). He also has one called degrader.js that I'm in love with-
- headzoo, on 10/12/2007, -0/+3I don't know how these developers do it. I think of programming in JavaScript as being like pulling off a band-aid. Sometimes I *have* to do it, but I don't want to waste any time, and I want it to be over quick.
I can't image spending days or weeks developing something like this. But I'm glad they do. It certainly makes my life easier.- djkritikal, on 10/12/2007, -1/+2It's a passion. JavaScript is my favourite language to program in. A quick look at rico and I got sick. The code needed to do things is not so simple. I shouldn't have to create new objects just to 'register' a new droppable region. And what if I want an object to accept drops of a certain type of object, but not another? I haven't looked at the code so there could very be an answer to that question, but I'm not delving in to find out. I'd rather write my own library.
- spadgos, on 10/12/2007, -0/+4Javascript is a much mis-understood language. It was out of fashion for so many years, i think mainly because people were using it for the wrong things such as having animated gifs fly all over the page and whatnot (dynamicdrive.com should burn in hell).
When paired with a decent server-side language and DBMS, it makes a very powerful combination that can make your websites so much faster, easier and intuitive to use. Take, for example, a page where you have to edit many rows of a table. The traditional approach would be to serve each row to the user and as they changed each one, click submit and save the changes to each one individually, each requiring a page refresh. Just with javascript (not even AJAX), you can check which rows have changed and submit one list of changes at the end when the user clicks "save" or "submit". Much quicker, and much more familiar to users. AJAX of course can do even better, but that's another story.
sure javascript and ajax are coming back into fashion and it might be a bit of a fad right now to have fifty thousand different libraries to do all sorts of effects and whatever, but it doesn't take away from the language itself.
- garrett, on 10/12/2007, -11/+2sorry, but this is really very old...
- markm, on 10/12/2007, -8/+2...but it's still AWESOME!!
- kiddailey, on 10/12/2007, -1/+1Some of these examples either don't work in or crash the latest version of Safari in Tiger. Cool, but needs some refinement.
- mikm, on 10/12/2007, -1/+1Not bad, but script.aculo.us is better.
- starpark, on 10/12/2007, -2/+1They also show AJAX. JavaScript and AJAX are my favorites.
http://digg.com/technology/AJAX_Image_Tag_Cloud- spadgos, on 10/12/2007, -0/+1the J in AJAX stands for Javascript you know...
- psylence, on 10/12/2007, -0/+0If JS and AJAX are his "favorites", then no, he probably doesn't know that.
- TheCheeta, on 10/12/2007, -6/+1Welcome to 2001.
- v3xt0r, on 10/12/2007, -3/+1again, and again, and again. =/
- Tommstein, on 10/12/2007, -2/+1Great demo. Doesn't work in Konqueror.
- smhill, on 10/12/2007, -4/+1Old and broken. There are many that are better and actually work.
- xJamez, on 10/12/2007, -0/+0Some cool demos, but the Drag & Drop behaves strangely in Opera 9.0 (TP2), with the box being dragged appearing a few hundred pixels below the cursor. I assume this is an Opera issue, as it seems to work for everyone else.
- cybershrike, on 10/12/2007, -0/+0Wow, seems like a really useful library even if it is a bit weak compared to some others. Good for a bookmarking though.
- martyuiop, on 10/12/2007, -0/+0I third the http://script.aculo.us/ vote. more concise code and not busted in safari like submitted articles.
- ezkiel, on 10/12/2007, -0/+1+digg solely because of the corners
- SilverRocket, on 10/12/2007, -0/+1It is worth noting that Rico is used as part of the official AJAX framework by IBM:
http://www.informationweek.com/news/showArticle.jhtml?articleID=178601185
I'm also a fan of script.aculo.us - firehydra2k, on 10/12/2007, -1/+1Trippin...
- JustinZ, on 10/12/2007, -0/+2Really old...
and the "new to me" people - theres always going to be people that havent seen somthing, does that mean it should be posted every week? - bgreenlee, on 10/12/2007, -0/+147 comments and not a single mention of Dojo?
http://dojotoolkit.org/ - donte, on 10/12/2007, -0/+0I agree that for most things, give me scriptaculous any day. I pulled out the Accordion stuff from Rico because it's slick as all heck and use it where necessary, but for all of my effects, delegate to scriptaculous.
- RossC0, on 10/12/2007, -0/+0As a developer of openRico - I agree - scriptaculous is ahead on the effects and drag and drop. It being an effects library it has had - lots of wow factor and people are dazzled by it and in turn have wanted to contribute back, and have done so in large numbers. Which is great - I've benefited and so has my business, openRico in turn started out as a big library, doing many things scriptaculous did (as there was a need back then), however, going forward it will not compete with scriptaculous - as theres no point its dam good, it will however provide flexible and powerful widgets like LiveGrid and Accordion and other data consumption widgets..
Where we have failed is not encouraging enough users like some of the above to join and combine to make it better :) So if your a javascripter - come aboard openRico.org - zagi1, on 10/12/2007, -0/+1another toolkit from Yahoo!
http://developer.yahoo.net/yui/dragdrop/examples/grid.html?mode=dist
Digg is coming to a city (and computer) near you! Check out all the details on our