Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

139
Vistas
How to position window.parent scrollbar to the selected element position

Hi Using iframe I'm calling my angular project inside the ColdFusion Project. Im displaying the table in angular when I'm selecting any TR I will open a div over the table. at that time I can able to scroll outer scroll which is in coldFusion side. my requirement is when I close the div I want to go back to the position of outer scroll to the position of TR where I clicked.

 positioningAccordian(id: any): void {

    setTimeout(() => {

      const element = document.getElementById(id);

      element ? window.parent.scrollTo(0, element.offsetTop) : null;

    });

  }

The parameter id is the id of TR. My requirement is to restore the position of parent scroll to its position where it was before opening a div.

about 4 years ago · Juan Pablo Isaza
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda