Difference between revisions of "Template:Aix-Marseille/Notebook"

Line 6: Line 6:
 
 
 
if ($(adate).length) {
 
if ($(adate).length) {
n = $(adate).text().length;
+
n = $(adate + " > ul > li").length;
  
if      (n >= 8) c = "2500";
+
if      (n >= 2500) c = "5";
else if (n >= 6) c = "2000";
+
else if (n >= 2000) c = "4";
else if (n >= 4) c = "1500";
+
else if (n >= 1500) c = "3";
else if (n >= 3) c = "1000";
+
else if (n >= 1000) c = "2";
else if (n >= 2) c = "500";
+
else if (n >= 500) c = "1";
 
else            c = "0";
 
else            c = "0";
 
 

Revision as of 12:59, 15 June 2017

June

July

August

September