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

205
Vistas
Intro.Js on embed HTML page elements

I have an embedded app (that I made) that I would like to add a guided intro.js tour over, but I can't seem to get it to work. I have tried with embed, object and iframe.

Here is my code so far

var app = document.getElementById("app");
// #app is the embedded site
var doc = app.contentDocument.body.getElementById("header-menu");
// select inner DOM and select an element inside the inner dom #header-menu

introJs().setOptions({
  steps: [{
    title: 'Welcome',
    intro: 'Hello World! 👋' // this part works always
  },
  {
   element: doc, // once this part is added, intro.js stops working as a whole
   intro: '2nd slide'
  }
  ]
}).start();

Let me know if I'm doing anything wrong.

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