_bw_example_parms() – Return some values for the bw_iframe example and snippet

You appear to be a bot. Output may be restricted

Description

Return some values for the bw_iframe example and snippet

Note: We add 17 pixels to the width in order to achieve an internal display of 480 pixels

  1. is the width we allow for the scrollbar (tested with Chrome)
  2. Usage

    _bw_example_parms();

    Parameters

    Returns

    void

    Source

    File name: oik/shortcodes/oik-iframe.php
    Lines:

    1 to 8 of 8
    function _bw_example_parms( ) {
      $example = kv( "src", site_url() );
      $example .= kv( "width", 497 );
      $example .= kv( "height", 320 );
      $example .= kv( "frameborder", "1" );
      $example .= kv( "scrolling", "yes" );
      return( $example );
    }
     

     View on Trac