Difference between revisions of "Template:Team:Bielefeld-CeBiTec/JS"

(updated script for automated contentbox design and adapted script to display title image)
m (pages begin now with white contentbox)
Line 194: Line 194:
 
}
 
}
 
}*/
 
}*/
if ((i % 2) == 0) {
+
if ((i % 2) == 1) {
 
$(obj).css("background", "#f0f0f0");
 
$(obj).css("background", "#f0f0f0");
} else if ((i % 2) == 1) {
+
} else if ((i % 2) == 0) {
 
$(obj).css("background", "#ffffff");
 
$(obj).css("background", "#ffffff");
 
}
 
}

Revision as of 16:20, 3 October 2017