Cómo manipular la altura de capas paralelas con JQuery


/ Published in: jQuery
Save to your folder(s)



Copy this code and paste it in your HTML
  1. if ($("div#capa_1").height() > $("div#capa_2").height()) {
  2. $("div#capa_2").height($("div#capa_1").height())
  3. }else{
  4. $("div#capa_1").height($("div#capa_2").height())
  5. }

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.