Difference between revisions of "Template:Team:TU Eindhoven/Timeline Script"
Line 5: | Line 5: | ||
for ( index = 1; index <= 11; index++){ | for ( index = 1; index <= 11; index++){ | ||
− | $("<div id='timeBlock" + index.toString() + "'></div>").appendTo("#timeline").css({'float':'left','width':'97px','height':'30px'}); | + | $("<div class='timeBlock' id='timeBlock" + index.toString() + "'></div>").appendTo("#timeline").css({'float':'left','width':'97px','height':'30px'}); |
} | } |
Revision as of 13:52, 18 September 2015
$(document).ready(function() { for ( index = 1; index <= 11; index++){ $("
").appendTo("#timeline").css({'float':'left','width':'97px','height':'30px'}); } });