Voilà un exemple complet (mais simple) pour faire un drag & drop (glisser-déposer en français) en Rico.
Le code HTML ci-dessous se divise en plusieurs zones :....
J'ai effectué un drag&drop entre 2 colonnes.
[URL=http://www.dhtmlgoodies.com/scripts/drag-drop-custom/demo
Après les améliorations qui viennent d'être apportées sur le moteur Javascript qui fait repasser Gecko 1.9.1 devant Webkit au niveau des performances de l'execution des scripts JS, voici que Neil Deakin (développeur Mozilla de son état), vient de terminer l'implémentation de l'API drag and drop de HTML5.
On peut donc apporter des fonctions de drag'n'drop dans une page web, tout aussi facilement que ce que l'on peut faire avec des bibliothèques comme jQuery. Sauf qu'il n'y a plus besoin de charger des kilos de scripts JS :-)
Jigsaw puzzle with a twist - you have to sort 56 funny shaped pieces in this one. Drag and drop the pieces to fit them together. Drag and drop the pieces to fit them together.
Aaaah ce futur moteur de rendu Gecko 1.9, plein de promesses, plein de nouveautés... L'une d'entre elles, que je viens juste de découvrir, c'est l'amélioration visuel du drag and drop. Voyez plutôt :
J'ai donc sélectionné un bout de texte dans ma page web, et commencé à la glisser...
Classic jigsaw puzzle fun with Mickey Mouse in 49 colorful pieces. Drag and drop the pieces to fit them together. Drag and drop the pieces to fit them together.
A nice drag and drop monster truck customization game with cool graphics for all you car pimping fans. Drag and drop truck parts to create the Monster truck of your dreams
Interactive, ajax powered, web 2.0 drag drop portal and purpose-built frontend/CMS system. Fully customizable and suitable for any site and web porta5 Vote(s)
La collection Automne hiver de Fritz Hansen est un tribut au designer Poul Kjærholm mais c’est aussi un exemple de navigation flash en drag and drop simple et efficace. Barre de nav centrale et fixe permettant une navigation dirigée.
Aperçu au fil des découvertes design de Ma-deco.
Classic puzzle fun for the youngest jigsaw lovers with Tom and Jerry in 9 colorful pieces. Drag and drop the pieces to fit them together. Drag and drop the pieces to fit them together.
Classic jigsaw puzzle fun with the H2O's main characters in 49 pieces. Drag and drop the pieces to fit them together. Drag and drop the pieces to fit them together.
Classic jigsaw puzzle fun - 49 pieces. Drag and drop the pieces to fit them together. Drag and drop the pieces to fit them together.
Classic jigsaw puzzle fun - 49 pieces. Drag and drop the pieces to fit them together. Drag and drop the pieces to fit them together.
Classic puzzle fun for the youngest jigsaw lovers with Finding Nemo's main characters in 9 colorful pieces. Drag and drop the pieces to fit them together. Drag and drop the pieces to fit them together.
Drag and drop the hair and clothing to dressup Manny, Mia and Paige from Degrassi High Drag and Drop to play