Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

83
Views
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 answers
Answer question

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 Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!