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("#worldmap").css({'float':'left','width':'93px','height':'30px'});
+
     $("<div id='timeBlock" + index.toString() + "'></div>").appendTo("#timeline").css({'float':'left','width':'93px','height':'30px'});
  
 
}
 
}

Revision as of 13:49, 18 September 2015

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

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