Script.aculo.us: Difference between revisions

Content deleted Content added
Line 55:
Builder allows the creation of DOM elements dynamically. Using the sample code below:
 
<source lang="html4strictjavascript">
element = Builder.node('div',{id:'ghosttrain'},<nowiki>[</nowiki>
Builder.node('div',{className:'controls',style:'font-size:11px'},<nowiki>[</nowiki>
Line 64:
<nowiki>]</nowiki>),
<nowiki>]</nowiki>),
<nowiki>]</nowiki>);
</source>