If it were a wiki, I would edit this myself, but it's not.  The
documentation for Element.insert at:

http://www.prototypejs.org/api/element/insert

Is not clear enough when it comes to indicating how to position
content.  It says, "Inserts content before, after, at the top of, or
at the bottom of element, as specified by the position property of the
second argument."  It would be helpful to show that you specify
positions like:

position: Insertion.Bottom

As is displayed here:

http://www.prototypejs.org/api/insertion

Currently it is too easy to spend time trying things like:

$('messages').insert(transport.responseText, {position: bottom});

Which does not work.
--~--~---------~--~----~------------~-------~--~----~
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 rubyonrails-spinoffs@googlegroups.com
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