Ver Mensaje Individual
  #4 (permalink)  
Antiguo 30/01/2013, 08:47
liberenatu
 
Fecha de Ingreso: agosto-2012
Mensajes: 54
Antigüedad: 12 años, 6 meses
Puntos: 1
Respuesta: problema con div del mismo tamaño

como están todos aun sigo tratando de igualar las columnas del bullet cree una función pero no entiendo porque no me muestra los bullets

function Height() {
var equa = 0;
bullet.each(function() {
var he = $(this).height();
if(he > equa) {
equa = he;


Bullet = $('<menu style="text-align: center;padding: 20px 0"></menu>');
figure.after(Bullet);
for(var i = 0; i < kids.length; i++){
var child = kids.eq(i);
if(!child.is('img')){
child = child.find('img:first');
}
}
if(child.attr('lowsrc'))Bullet.append('<a style="display:inline-block;max-width:100%;" rel="'+ i +'"><img style="cursor:pointer;max-width:98%;margin:15% 1% 1% 1%;" src="'+ child.attr('lowsrc') +'" alt=""></a>');
}
});
bullet.height(equa);

// mostrar el bullet activo
$('a:eq('+ defaults.slider +')', Bullet).addClass('active');
$('a', Bullet).bind('click', function(){
if(defaults.running) return false;
if($(this).hasClass('active')) return false;
clearInterval(timer);
timer = '';
img.attr('src', defaults.heir.attr('src'));
defaults.slider = $(this).attr('rel') - 1;
start(figure, kids, settings);
});
}
Height($("article"));