Ver Mensaje Individual
  #5 (permalink)  
Antiguo 09/05/2013, 04:06
Avatar de iEnrique
iEnrique
 
Fecha de Ingreso: abril-2013
Ubicación: España
Mensajes: 346
Antigüedad: 11 años
Puntos: 5
Respuesta: Desaparece y aparece.

A ver, muchas gracias por toda la info, me está sirviendo muchisimo, solo que quisiera comentarte una cosa; tengo puesto el código así (en el header porque es ahí donde creo que debe ir, ¿estoy en lo cierto?):

Código Javascript:
Ver original
  1. <script>
  2.     jQuery(document).ready(function($) {
  3.     $('.divnoticia>div').addClass('newheight');
  4.     $('.divnoticia').each(function(){
  5.         var highestBox = 0;
  6.         $('div.newheight', this).each(function(){
  7.             if($(this).height() > highestBox)
  8.             highestBox = $(this).height();
  9.         });
  10.         $('div.newheight',this).height(highestBox);
  11.     });
  12. });
  13.     </script>

¿Cómo hago para enviarle la info de la medida al .blue? Porque se me queda el en auto el .divnoticia, pero desaparece sin la medida el .blue.

PD: ¿Está bien escrito el código así?