>
> I must say that I was quite surprised to see the Prototype
> documentation being so unclear about the Element.insert function
> (http://www.prototypejs.org/api/element/insert).
>
> I tried testing it, but I could not make any sense of it. Where does
> the "position" of the insert go as an argument.
>
> I would really appreciate a clear example.
>
I'm not positive of this (still using v1.5), but I believe the syntax is:
$('foobar').insert({ before : '<b>Check this stuff out</b>'});
...and you can replace "before" with "top", "bottom", or "after" I believe.
>
> Tnx,
>
> DizyArt
> >
>
--
Jerod Venema
Senior Software Engineer
Nth Penguin, LLC
http://www.nthpenguin.com
(919) 368-5105
---
WebWidgetry.com / MashupStudio.com
Future Home of the World's First Complete Web Platform
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---