iframe width

Home Forums Easy FancyBox Pro iframe width

This topic contains 3 replies, has 2 voices, and was last updated by  RavanH 1 year, 3 months ago.

  • Author
    Posts
  • #6173

    Ben Davis
    Participant

    Can the with of the iframe be changed by adding width=”800″, in side the ?

    for instance:

    Thank you,

    Ben

  • #6177

    RavanH
    Keymaster

    Hi Ben, I fear the forum ate your code… Could you post again placing the code between back-ticks (`) or use the code button above the text field?

  • #6178

    Ben Davis
    Participant

    Hello back, Rolf!

    I can’t thank you enough for your help!

    Here’s the code again:

    Curriculum Vitae

    Thank you,

    Ben

  • #6180

    RavanH
    Keymaster

    Still not working (code was transformed to an actual link) but I think I understand what you are asking…

    Passing parameters via the URL like ?width=800 will not do anything for FancyBox. If you want to change the light box size, you need to (1) enable the option “Include the Metadata jQuery extension…” in the Links section on Settings > Media and (2) add parameters to the link class like this:

    
    class="fancybox-iframe {width:800,height:600}"
    

You must be logged in to reply to this topic.