> 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/.iframenew.md).

# iframeNew

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

## Description

`iframeNew` creates a new iframe that embeds the web page at the given URL and returns an iframe id. That id is passed to the other iframe methods to control the embed.

## Parameters

`iframeNew` takes no parameters; it is called on the URL string to load.

## Usage

```javascript
frame = "https://example.com".iframeNew()
// creates an iframe for the page and returns its id

frame.iframeResize(640, 480)
frame.iframeGoto(0, 0)
frame.iframeShow()
```
