Ver Mensaje Individual
  #2 (permalink)  
Antiguo 23/05/2012, 03:50
pedroparra
 
Fecha de Ingreso: abril-2011
Mensajes: 14
Antigüedad: 13 años
Puntos: 1
Respuesta: Problema Bootstrap Modal Jquery

Ya lo solucione:
Código HTML:
Ver original
  1. .modal-body {
  2. max-height: 350px;
  3. padding: 15px;
  4. overflow-y: auto;
  5. -webkit-overflow-scrolling: touch;
  6. }

y añadir:

Código Javascript:
Ver original
  1. $('#mymodal').on('show', function(e) {
  2.     var modal = $(this);   
  3.     modal.css('position', "fixed")
  4.         .css('height','170px')
  5.         .css('width', 'auto')
  6.         .css('margin','0')
  7.         .css('top', "3%")
  8.         .css('left', "3%")
  9.         .css('right', "3%")
  10.         .css('bottom', "3%");
  11.     return this;
  12.   });

Lo dejo por si a alguien le sirve de ayuda.