iFrame

An IFrame (Inline Frame) is an HTML document embedded inside another HTML document on a website. The IFrame HTML element is often used to insert content from another source or monitor a website (or more than one).

The method to use

The method is s.plt.iframe()

It must contain the following input variables:

url: str
order: int

And accepts the following input variables as optional:

height: int 
cols_size: Optional[int]
padding: Optional[str]

Video demonstration of the HTML iFrame

Examples

1. Default configuration

This one is configured to use the website https://teamaspar.com

s.plt.iframe(url='https://teamaspar.com', order=0)

The result is:

2. Title for the iframe, size and padding

You can set a title for every site to monitor:

s.plt.iframe(
    url='https://teamaspar.com',
    order=0, cols_size=8,
    padding='0,0,0,3'
)

The result is:

Changing the Menu Path The menu_path can be modified.

Using the Grid

It is possible to use any number of rows.

Last updated