I'm not sure what you are asking, but I think you can use Builder to
generate html

http://wiki.script.aculo.us/scriptaculous/show/Builder

On Apr 11, 3:44 pm, "Animador-BR" <[EMAIL PROTECTED]>
wrote:
> Hi, i debut in Prototype and like a single script to create a 'div' or
> a image containner.
> Like a file with a body content, only script to generate
> i can test it (Prototype home page)
> <scr=prototype>...
>
> <script>
> var my_div = document.createElement('div');
>
> Element.extend(my_div);
> my_div.addClassName('pending').hide();
>
> // insert it in the document
> document.body.appendChild(my_div);
> </script>
>
> in head
> but
> Firebug alert to
> document.body.appendChild has not property
>
> like a Prototype to make animated book-game-scholar
>
> who can help-me?


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

Reply via email to