jQuery: The Write Less, Do More JavaScript Library

Talk:UI/Sortables

From jQuery JavaScript Library

Jump to: navigation, search

As [this page] has been erased, i took its content from Google cache

Sorry; i confused Interface and UI which are not the same : deleting the content


The demo on this page isn't working in IE7...you can sort once, but then the object that you sorted no longer works.

What gives?
--Taumeson 19:38, 17 September 2007 (PDT)

Also, the main demo page works, but it obviously uses a different subset of scripts than does this main page.
--Taumeson 21:07, 17 September 2007 (PDT)



I use Mac Firefox and am also experiencing the above - only able to move a list item once and then JS erros. I see the following (never ending) error in my Firebug console:

self.pos has no properties [Break on this error] position: { left: self.pos[0], top: self.pos[1] }, ui.sortable.js (line 91)

this.parentNode has no properties [Break on this error] this.parentNode.removeChild( this ); jquery.js (line 1075)

this.parentNode has no properties [Break on this error] null jquery.js (line 1075)

I get similar errors when using this sort method with my own list items and downloaded ui components. I am running the most recent version of jQ and ui components.

--Krunkosaurus 14:14, 19 September 2007 (PDT)

Doesn't work on table rows

The docs should probably say that you can't make table rows sortable.

-- Edd 2007-11-12

Dependencies

The article only lists jquery.dimensions.js and ui.mouse.js as dependencies. However, i also have to load ui.sortable.js, ui.draggable.js and ui.droppable.js to make the demoes work. Is this simply outdated information (that i can change) or is it intended? Husky 12:09, 14 March 2008 (PDT)

Links inside of draggable "box"

How do you handle links within a draggable box? When I click on a link it thinks that I want to move the box, not trigger the link.