Ver Mensaje Individual
  #47 (permalink)  
Antiguo 03/04/2021, 16:03
pilucho
 
Fecha de Ingreso: noviembre-2004
Ubicación: NULL
Mensajes: 652
Antigüedad: 19 años, 5 meses
Puntos: 6
Respuesta: live search php

Cita:
Iniciado por Alexis88 Ver Mensaje
¿Podrías subir el proyecto a la web para poder probarlo? O quizá podrías subir los archivos comprimidos y generar un enlace de descarga para verlos y analizarlos. Se me ocurre que puedas estar teniendo un problema de conflicto con otros estilos. He utilizado ese autocompletador desde hace siete años y no he tenido ese problema.

Consejo: No toques el archivo generador del autocompletado.
tratare de subirlo pero le puse cero a esta parte del script y se movio

original
Código Javascript:
Ver original
  1. position: function(self){
  2.         /**
  3.           * Sets the width for the options list and positions it
  4.           */
  5.            
  6.         if (self.elem){
  7.             self.container.style.width = self.elem.offsetWidth + "px";
  8.             self.container.style.left = self.elem.offsetLeft + "px";
  9.             self.container.style.top = self.elem.offsetTop + self.elem.offsetHeight + "px";
  10.         }
  11.     },

agrege cero
Código Javascript:
Ver original
  1. position: function(self){
  2.         /**
  3.           * Sets the width for the options list and positions it
  4.           */
  5.            
  6.         if (self.elem){
  7.             self.container.style.width = self.elem.offsetWidth + "0px";
  8.             self.container.style.left = self.elem.offsetLeft + "0px";
  9.             self.container.style.top = self.elem.offsetTop + self.elem.offsetHeight + "0px";
  10.         }
  11.     },