Yeah, I just have to figure out why my columns aren't setting their height when I use percentages, they work fine when I use pixels.. this is definitely css related- i know that in order to use %, the parent container must have a fixed or percentage height, recursively back to body.
Updating to the server is almost working, it's a little more complex than just an Ajax.Request since you need to determine which was the destination div, and the onUpdate fires once for each container. I did this by caching the order in an attribute and comparing it to the new order. I'll post this code up shortly. My biggest issue at present is that in order to get the placeholder to work, I had to use a modified version of scripty, and I can't find any documentation on the guys page about what he actually changed to enable it to work. He seems to put up new versions in sync with scripty, but it's a pain. >Totally. You're trying to get the class applied on some stuff *between* >the elements you're dropping over, right? Just to provide a placeholder >for the to-be-dropped element? I kinda remember having achieved that >with <span> placeholders b/w elements that were actually sortable. I'll >have to dig further code out. That would be great, and yes that's what i'm trying to do. Check out iGoogle personalised homepage to see what i'm basically replicating in my own project. It's all basically working now, albiet with a modified scripty and a few small bugs.. Gareth --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Spinoffs" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/rubyonrails-spinoffs?hl=en -~----------~----~----~----~------~----~------~--~---
