[wordpress插件] Auto iFrame自动iFrame

wordpress 插件 文章 2020-02-24 09:20 722 0 全屏看文

AI助手支持GPT4.0

评分
76
描述

A quick and easy shortcode to embed iframe’s that resize to the content of the remote site.

一种快速简便的代码,可嵌入调整大小以适应远程站点内容的iframe。

Auto iFrame shortcode is in the format of:

自动iFrame简码的格式为:

[auto-iframe link=xxx tag=xxx width=xxx height=xxx autosize=yeso]

  [自动iframe链接= xxx标签= xxx宽度= xxx高度= xxx自动尺寸=是/否]

Where:

位置:

    • link = the url of the source for the iFrame.

    • link = iFrame来源的网址。

      REQUIRED.

    • 需要。

    • tag = a unique identifier in case you want more than one iFrame on a page.

    • 标记=唯一标识符,以防页面上需要多个iFrame。

      Default = auto-iframe.

    • 默认=自动iframe。

    • width = width of the iFrame (100% by default).

    • width = iFrame的宽度(默认为100%)。

      Can be % or px.

      可以是%或px。

      Default = 100%.

    • 默认值= 100%。

    • height = the initial height of the iframe (100% by default).

    • height = iframe的初始高度(默认为100%)。

      Can be % or px.

      可以是%或px。

      Default = 100%.

    • 默认值= 100%。

    • autosize = enable the auto sizing of the iFrame based on the content.

    • autosize =启用基于内容的iFrame自动调整大小的功能。

      The initial height of the iFrame will be set to “height” and then resized.

      iFrame的初始高度将设置为“高度”,然后调整大小。

      Default = true.

    • 默认= true。

    • fudge = a fudge factor to apply when changing the height (integer number, no “px”).

    • 软糖=更改高度时要应用的软糖因子(整数,无“ px”)。

      Default = 50.

    • 默认值= 50。

    • border = enable the border on the iFrame.

    • border =在iFrame上启用边框。

      Default = 0.

    • 默认= 0。

    • scroll = enable the scroll bar on the iFrame.

    • scroll =启用iFrame上的滚动条。

      Default = no.

    • 默认=否。

    • query = pass the parent’s page query string to the iFrame.

    • query =将父级的页面查询字符串传递给iFrame。

      Default = no.

    • 默认=否。

    Note: Auto re-sizing of the iFrame for cross domain sites does not work, this is a security protection provided by the browser and there is no way around it.

    注意:无法为跨域站点自动调整iFrame的大小,这是浏览器提供的安全保护,因此无法解决。

    Now supports (Shortcode UI)[https://github.com/fusioneng/Shortcake] (aka Shortcake)!

    现在支持(Shortcode UI)[https://github.com/fusioneng/Shortcake](又名Shortcake)!

安装步骤

    1. Extract the archive file into your plugins directory in the auto-iframe folder.
    2. 将存档文件提取到auto-iframe文件夹中的插件目录中。

    3. Activate the plugin in the Plugin options.
    4. 在“插件”选项中激活插件。

下载地址
https://downloads.wordpress.org/plugin/auto-iframe.1.6.zip
-EOF-

AI助手支持GPT4.0


国内超级便宜服务器

摸鱼人热门新闻聚合

钻级赞助商 我要加入

开发者在线工具

第三方支付技术请加QQ群

相关文章
[wordpress插件] pays.cz – Payment gateway WooCommerce pluginpays.cz –支付网关WooCommerce插件
[wordpress插件] A/B SeeA / B请参阅
[wordpress插件] Boxich – Keep visitors on your website longerBoxich –延长网站访问者的时间
[wordpress插件] CK and SyntaxHighlighterCK和语法突出显示
[wordpress插件] Autoset Featured Image自动设置特色图片
随便看看
企业微信通讯录账号被管理员误/恶意删除,怎么办? 9568
问题? 9048
如何快速搭建抽奖助手小程序(无需代码知识) 6177
许涛 大哥在吗, 要解冻小程序的时候提示信息主体不一致, 能帮忙看下吗? 7472
小程序搜一搜全称搜索不显示 麻烦解决一下!谢谢 6793
我的小程序广告收款主体是个体工商户,每个月邮寄两次发票很是麻烦,我年底的时候打包邮寄一次可以么? 6128
如何解决渲染层网络错误Failed to load media? 17394
小程序找号找回 释放昵称? 3253
我的小程序广告主收入5301,实际进账4406,是怎么回事呀? 3108
删除部分微信用户个人数据的通知,怎么删除? 6381