Thanks for the great tip. It's precisely the sort of thing that should probably be listed in the documentation, as currently, I do think it is a bit lacking.
On Mar 26, 3:27 pm, "Justin Perkins" <[EMAIL PROTECTED]> wrote: > Your copied text is lacking the code syntax from the page, but > "position" is a keyword and is to be replaced by the position you > desire. Here are some examples: > > $('foo').insert( { top: '<p>Hello</p>' } ) > $('foo').insert( { bottom: '<p>Hello</p>' } ) > $('foo').insert( { before: '<p>Hello</p>' } ) > $('foo').insert( { after: '<p>Hello</p>' } ) > > The second example, bottom, can also be written as: $('foo').insert( > '<p>Hello</p>' ) > > -justin --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---