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

Reply via email to