> For the complete documentation index, see [llms.txt](https://osl.mistium.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://osl.mistium.com/legacy-osl-originos/networking/iframes/.iframeresize.md).

# iframeResize

> ⚠️ **Not implemented in the current OSL CLI.**

## Description

`iframeResize` sets the size of an iframe in pixels. Pair it with [`.iframeGoto()`](/legacy-osl-originos/networking/iframes/.iframegoto.md) to position the embed.

## Parameters

* `width`: the new width of the iframe, in pixels.
* `height`: the new height of the iframe, in pixels.

## Usage

```javascript
frame = "https://example.com".iframeNew()

frame.iframeResize(800, 600)
// the iframe is now 800x600 pixels
```
