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

85
Vistas
fancybox 3 no title displayed

I need to add a title when fancybox 3 opens the window as iframe. I tried to add with helpers or other but no result

Title doesn't show. Any help? The link is this one:

 <a onclick="viewdetails();"  data-caption="caption here" title="Title here" >xxx</a>

and the function here:

  function viewdetails()
        {
    
 $.fancybox.open({

  width : 1280,
   height : 720,
   fitToView : false,
   autoSize : false,
   titlePosition: 'top',
   titleShow: true,

 src  : 'page.php',
 type: 'iframe',
 scrolling: true,

 opts : {       
         modal: false,
        afterShow : function( instance, current ) {  
        },
    toolbar  : false,

    smallBtn : true,
    iframe : {
    css : {
            width  : '1280px',
            height : '800px'
        }
    }

    }
});
    }
about 4 years ago · Juan Pablo Isaza
1 Respuestas
Responde la pregunta

0

If you start Fancybox using $.fancybox.open(), how can it know that you want it to use attribute from some random link on the page? Use caption option.

about 4 years ago · Juan Pablo Isaza Denunciar
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