[WordPress] 外掛分享: Responsive iframe

首頁外掛目錄 › Responsive iframe
⚠ 此外掛已下架 — 不再更新維護,建議勿安裝。
1,000+
安裝啟用
★★★★★
5/5 分(5 則評價)
1620 天前
最後更新
問題解決
WordPress 5.4.2+ PHP 7.0+ v1.2.0 上架:2020-11-15

內容簡介

一個適應性 iframe,將自動調整大小以符合其父元素。

使用說明
安裝

插件管理器位於管理頁面上。在管理頁面的左側欄中,請點擊"外掛程式"。 從頁面頂部點擊添加新項目。

透過插件管理器安裝插件,或將其上傳為 zip 文件到插件管理器中。

使用

應用適應性 iframe
像平常一樣創建文章,然後點擊顯示"添加新區塊"的+圖示。找到 Responsive iframes,然後點擊它。
預設情況下,會在 iframe 中顯示當前網站。

區塊設置
站點地址—您想要 iframe 的網站的網址
寬度—這是您要從 iframe 網站中實際顯示的寬度。
高度—這是您要從 iframe 網站中實際顯示的高度。
滾動條—如果高度和寬度小於 iframe 網站,則顯示滾動條。
邊框—在 iframe 元素周圍顯示預設邊框。
縮放—這將更改 iframe 的父元素的最大寬度百分比,允許元素按大小縮放。
其他 CSS—將應用於 iframe 的父元素的任何其他 CSS。使用此功能提供一些附加樣式。

斷點
在進階設置下面可用,讓您根據設備的寬度指定要顯示的網站寬度。
可以使用多個斷點。當屏幕設備在或低於斷點寬度時,最低斷點寬度會優先於任何較高的斷點寬度。
斷點 1 範例是 250px、斷點 2 是 350px。屏幕寬度為 250px 的設備只會觸發斷點 1。ScreenWidth 為 251px 時,只會觸發 BreakPoint 2。
名稱—您希望給斷點命名的名稱
斷點寬度—在此寬度及以下寬度時,觸發此斷點。
網站寬度—此為斷點觸發時要顯示的網站寬度

外掛標籤

開發者團隊

⬇ 下載最新版 (v1.2.0) 或搜尋安裝

① 下載 ZIP → 後台「外掛 › 安裝外掛 › 上傳外掛」
② 後台搜尋「Responsive iframe」→ 直接安裝(推薦)
📦 歷史版本下載

原文外掛簡介

A Responsive Iframe that will resize itself to its parent element.
Instructions
Install
The plugin manager is located on the administration page. From the administration page in the left side bar click Plugins. From the top of the page click add new.
Install the plugin thru the plugin manager, or upload it as a zip file into the plugin manager.
Use

Apply responsive iframe
Create a post like you normally would and then click the + icon displayed to Add block. Find Responsive iframes and click it.
By default your current website will be displayed in the iframe.

Block Settings
Site Address – The url address of the website you want to iframe
Width – This represents the actual width you want to display from the iframed website.
Height – This represents the actual height you want to display from the iframed website.
Scrollbar – Displays a scroll bar if the height,and width are smaller than the iframe website.
Border – Dislays a default border around the iframe element.
Scale – This will change the max-width percentage of the iframe’s parent element, it will allow the element to be scaled by size.
Additional CSS – Any additional CSS will be applied to the iframe’s parent element. Use this to provide some additional styling.

BreakPoints
Available under advanced settings, and will let you specify the width of the site to display depending on the width of the device.
Multiple breakpoints can be used. The lowest BreakPoint Width will take effect over any higher BreakPoint Widths when the screen device is below or at its BreakPoint Width.
Example Breakpoint 1 250px, Breakpoint 2 350px. A device with a screen width of 250px will only trigger Breakpoint 1. ScreenWidth 251px, will only trigger BreakPoint 2.
Name – The name you wish to give the breakpoint
BreakPoint Width – At and below this width, this breakpoint is triggered.
Site Width – This is the width of the website to display when the breakpoint is triggered

延伸相關外掛

文章
Filter
Apply Filters
Mastodon