About to lunch, replying in a moment ;-)

Gareth Evans a écrit :
> Wicked, i'll go steal the business credit card from my business partner :)
>  
> Since you're here and all... trying to get this sortable thing working 
> (discussed in this thread)
> I've currently got 3 floating divs with widths set.
>  
> All 3 divs have been initialized as sortables, dropOnEmpty:true.
> Only the first div contains items.
> There has been no constraint set.
> 
> $(
> 
> 'Zones').getElementsBySelector('div.ZoneColumn').each( function (column) {
> if ($F('UserId') != 0)
> Sortable.create(column,{tag: 'div',onChange:function(a,b,c) { 
> },onUpdate:function (a,b,c) { },dropOnEmpty:'true'});
> });
> 
> I can sort the items within the first 'div.ZoneColumn' but am unable to 
> drag the items into the next column over horizontally...
> I'm guessing this is a limitation of sorts, should I go for a new 
> Draggable and Droppables.add solution?
> 
> How do I get a draggable/droppable solution to only allow items to be 
> dropped in the container droppables?
> 
> Gareth
> 
>  
> 
>  
> 
> On 6/9/07, *Christophe Porteneuve* <[EMAIL PROTECTED] 
> <mailto:[EMAIL PROTECTED]>> wrote:
> 
> 
>     Hey!
> 
>     Gareth Evans a écrit :
>      > Is your book available in NZ, or internet purchase only? i've been
>      > meaning to get a copy as soon as my credit card gets paid off a bit!
> 
>     It's currently in the Beta phase at Pragmatic Programmers [1], so it's
>     electronic only so far.
> 
>     When it does release in final form (sometime between July and October,
>     depending on when we at Prototype Core feature- and API-freeze 1.6),
>     it'll of course also be available in paper form, shipped anywhere in the
>     world.
> 
>     You can buy the Combo pack if shipment doesn't kill the usefulness of
>     it, or just buy the PDF for now (updated everytime I release a new Beta,
>     then final, then perhaps errata), and grab a paper copy in the
>     bookstores later in the year.
> 
>     My editor is currently going through a lot of catch-up work, but as
>     soon
>     as he gets a chance of editing the Scripty part, we'll release B1.  In
>     the meantime, I keep the book up-to-date on the latest trunk additions,
>     and keep contributing to both Proto and Scripty ;-)
> 
>     [1] http://books.pragprog.com/titles/cppsu/
> 
>     --
>     Christophe Porteneuve aka TDD
>     [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>
> 
> 
>     > 

-- 
Christophe Porteneuve aka TDD
[EMAIL PROTECTED]

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to