[invp_iframe]

This shortcode makes responsive iframes easy. We use this on sites for financing applications hosted on a separate domains. Uses iframeResizer.min.js. The page being framed-in needs some code to be compatible with a responsive <iframe>.

Visit the class reference at https://inventorypresser.com/docs/reference/classes/inventory_presser_shortcode_iframe/

Parameters

These parameters are all HTML attributes on an <iframe> element.

  • width
    • string
    • Default value: ‘100%’
  • height
    • string
    • Default value: ‘5000’
  • scrolling
    • string
    • Default value: ‘yes’
  • src
    • string
    • Default value: ”
  • class
    • string
    • Default value: ‘iframe-class’
  • frameborder
    • string
    • Default value: ‘0’