iframe width

Forums Easy FancyBox Pro iframe width

Viewing 3 reply threads
  • 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
      Rolf
      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
      Rolf
      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}"
      
Viewing 3 reply threads
  • You must be logged in to reply to this topic.