Does anyone here netflix? If you do, take a look at your queue.

Let's say for instance, you have ten items in your queue, and over on the far 
left, there's a text field that contains your "sort order" for your queue. You 
might want to move 7 up to number 3. Now when you do that...

How does it know how to "fix" the rest of the orders? Now here's an even better 
part...you can sort all OVER the list. You can make number 3 into number 7, and 
number 7 into number 8, then make 2 into 10....then click "sort" and they're 
all correct.

How does it know how to "fix" all the other ones? 

Better yet, how would you do this in CF?

My thinking has been, okay, sort order is store in the table, but you have to 
temporarily store all of that into a struct IF AND ONLY IF the user click the 
"update my order" button, then somehow manipulate the struct, get all the 
orders right, THEN perhaps loop thru the struct updating each key with the new 
sort order, then proceed with the query for the new sort order and display that 
new sort order appropriately...

I mean, am I even CLOSE? Has anyone done one of those "magical automatically 
sorting" netflix queu type orders?


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:241626
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to