You can get rid of jQuery by using Scriptaculous instead -- no conflict possible, since Scripty is written on top of Prototype and depends on it.
To drag-sort the rows of a table, first make sure that there is a tbody tag around the rows you wich to sort, and give it an ID. Either in an unobtrusive dom:loaded listener, or an inline script block below your table, do this: Sortable.create('id_of_your_tbody',{tag:'tr'}); You need to include a link to the scriptaculous library in your page head, and you have to give each tr an unique ID in the format string_123 (where string is anything you like, and 123 is an unique number, significant to your application). You use these IDs later on if you persist the new table order back to your database. Look at the Sortable.serialize documentation for more info about that. Walter On Sep 16, 2011, at 5:54 AM, Broom wrote: > Hi Victor, > > Tnx for you reply. I was using Prototype for opening windows and so on, and > jQuery for drag and drop functionality for rows in tables (not divs). With > noConflict(), I can open a window, but then I'm missing the functionality of > jQuery. > window.js is the prototype window class. > I really need to know more about Javascript, but for know I don't have time > to dig in to it; I'll will find another solution. > Tnx, > > Broom > > > -- > You received this message because you are subscribed to the Google Groups > "Prototype & script.aculo.us" group. > To view this discussion on the web visit > https://groups.google.com/d/msg/prototype-scriptaculous/-/XhtnF14NKVoJ. > To post to this group, send email to prototype-scriptaculous@googlegroups.com. > To unsubscribe from this group, send email to > prototype-scriptaculous+unsubscr...@googlegroups.com. > For more options, visit this group at > http://groups.google.com/group/prototype-scriptaculous?hl=en. -- You received this message because you are subscribed to the Google Groups "Prototype & script.aculo.us" group. To post to this group, send email to prototype-scriptaculous@googlegroups.com. To unsubscribe from this group, send email to prototype-scriptaculous+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/prototype-scriptaculous?hl=en.