Difference between revisions of "Template:NYMU-Taipei/newtemplate1"

Line 492: Line 492:
 
var borders = [0];
 
var borders = [0];
 
     for (var i = 0; i <= subtitles.length - 1; i++) {
 
     for (var i = 0; i <= subtitles.length - 1; i++) {
     borders.push($(".section").offset.left);
+
     borders.push($(".section").offset().left);
 
     }
 
     }
 
borders.shift();
 
borders.shift();

Revision as of 15:59, 12 July 2018