Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

84
Visualizações
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 Respostas
Responde à pergunta

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 Relatório
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda