iframe width

  • Author
    Posts
    • February 26, 2016 at 10:12 pm #6173

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

      for instance:

      Thank you,

      Ben

    • February 26, 2016 at 10:12 pm #6177

      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?

    • February 26, 2016 at 10:12 pm #6178

      Hello back, Rolf!

      I can’t thank you enough for your help!

      Here’s the code again:

      Curriculum Vitae

      Thank you,

      Ben

    • February 26, 2016 at 10:12 pm #6180

      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.