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="htmlhtml4strict">
element = Builder.node('div',{id:'ghosttrain'},<nowiki>[</nowiki>
Builder.node('div',{className:'controls',style:'font-size:11px'},<nowiki>[</nowiki>
Line 69:
Creates the following (without newlines):
 
<source lang="htmlhtml4strict">
<nowiki> <div id="ghosttrain">
<div class="controls" style="font-size:11px">