Commit a942a1e476879f298cb06b4fd14a213f212aa081

Authored by Fabio Teixeira
Committed by Rodrigo Souto
1 parent cd1a5cd2

Make box-2 stay align with box-4

Signed-off-by: Fabio Teixeira <fabio1079@gmail.com>
Signed-off-by: Thiago Ribeiro <thiagitosouza@hotmail.com>
public/designs/templates/lefttopright/javascripts/template.js
1 1 $(document).ready(function() {
2   - alert("Yup, i'm here !");
  2 + var box_4_height = $(".box-4").height();
  3 +
  4 + // Make box-2(the most left one) stay align with box-4
  5 + $(".box-2").css("margin-top", "-"+box_4_height+"px");
3 6 });
... ...