Hey Peter, Peter Csaba a écrit : > I have a dilema and maybee you can help. We are developing a site which > requires some ajax and visual features like: > > drop down menus on mouse over
There are 100% CSS solutions to this, even IE-compatible ones. So the JS issue is mostly moot (not to mention it makes for way better markup, semantically speaking). > submit over ajax a checkbox state change Prototype: Event.observe + Ajax.Request, or server-side with Rails: observe_field. > star rateing like on yahoo music Prototype: Event.observe + Ajax.Request (or Ajax.Updater) > submit a form in background and change the content of a div with the > reply from the server Prototype: Event.observe on submit + Ajax.Updater. > drag and drop sort script.aculo.us: Sortable.create. > add new form list elements on the fly with autocomplete or > validation feature I'm not too sure what you mean by that. List as in flat <select>? Or just a *visual* list? At any rate, sounds like script.aculo.us' Ajax.Autocompleter (or Autocompleter.Local, depending on your datasource) with a callback and Prototype's Insertion.Bottom. As for validation, it's really all about CSS and custom server-side stuff, but it's simple enough to design and then factor. > For a better understanding I created a page where visually all features > I need are displayed. > > http://demo.webnova.ro/el Oh, and if you need good dialog box-like UI's (as in your item 2 on this page), check out Prototype Windows by Sébastien Gruhier. It's based on Prototype and script.aculo.us, BTW. > Based on these information which JavaScript libaray you would recommend? > I need a library that could do these features I require. > > Is there any which can make all of these? Prototype and script.aculo.us are indeed rather capable of achieving those goals easily enough. > As I heared prototype is a good one and easy to learn but I can't tell > if it has the features mentioned above. Yes, it lacks pro-quality docs online. But it *will* have those pretty soon. In the meantime, there are books. If you're French or operate in a French context (which is a possibility, since many of your screenshots in the linked page use French contents), my book is hitting the shelves on Wednesday, and documents just about everything you need thoroughly. Just look me up on eyrolles.com. > If you would be able to do these functionalities, how much it would > costs me? Both those libs are open-source, so a) it won't cost you a dime, b) you'll be able to get answers by looking at the source and c) you'll be able to create custom stuff easily enough. script.aculo.us has a rather nice, although slightly outdated, site and wiki-based documentation. And this Google group is very responsive. > Thank you very much for your time answering this letter, Sure thing! 'hope this helps. -- Christophe Porteneuve aka TDD [EMAIL PROTECTED] --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Spinoffs" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/rubyonrails-spinoffs?hl=en -~----------~----~----~----~------~----~------~--~---
