Hmm, you may need Insertion.Bottom() instead of After.  The after will be out of the ‘left_column’ container. 

 

The code below may also be problematic because the newly inserted node has the same id as the one after which you inserted.

 

<a href="" Insertion.After('left_column', '<div class=\"section\" id=\"left_column\">Insertion Test</div>'); return false;">

 

From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Tristan Kelley
Sent: Friday, June 09, 2006 3:56 PM
To: [email protected]
Subject: Re: [Rails-spinoffs] Re: Making an Insertion.After element a Sortable

 

Thanks Ken

I can get this to when using Builder.node('div'.... to place the div but not Insertion.After - is there a fundamental difference between the two? The Insertion.After div will drag but will not be recognized

 

_______________________________________________
Rails-spinoffs mailing list
[email protected]
http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs

Reply via email to