[webkit-dev] How to maintain order of bookmark

Arsh Kapoor arsh.kapoor1 at gmail.com
Thu Jun 4 23:10:42 PDT 2009

I have maintained a list of bookmarks with some serial no. and timestamps.
The display is according to the serial no.

Now if I drag a bookmark say serial no. 6th and drop it in place of serial
no. 2nd.
My bookmarks should be arranged accordingly with the 6th bookmark occupying
the 2nd slot
and previous 2nd bookmark now in the 3rd slot with total list rearranged.

How can I achieve this behaviour?What I am thinking right now is maintaining
a Previous ID in database
and updating the list accordingly.But that won't hold if I do a multiple
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-dev/attachments/20090605/86cb4396/attachment.html>

More information about the webkit-dev mailing list