Difference between revisions of "Template:Team:TU Eindhoven/Timeline Script"

Line 2: Line 2:
  
 
$(document).ready(function() {
 
$(document).ready(function() {
 +
 +
for ( index = 1; index <= 11; index++){
 +
 +
    $("<div id='timeBlock" + index.toString() + "'></div>").appendTo("#worldmap").css({'float':'left','width':'93px','height':'30px'});
 +
 +
}
  
 
});
 
});
  
 
</html>
 
</html>

Revision as of 13:49, 18 September 2015

$(document).ready(function() { for ( index = 1; index <= 11; index++){ $("

").appendTo("#worldmap").css({'float':'left','width':'93px','height':'30px'}); } });