Auto scale inframe

Hi All,
i have made a infrime with the tamplate node.
in this inframe i want to show a webpage, for example nodred.org.
So far it all works.
Now i want to auto scale the webpage to the size of my frame, can sombody exlpane me how to do this?

[
    {
        "id": "10ca8011.1a575",
        "type": "inject",
        "z": "59e2bf8a.d0a8f",
        "name": "",
        "topic": "",
        "payload": "",
        "payloadType": "date",
        "repeat": "",
        "crontab": "",
        "once": false,
        "onceDelay": 0.1,
        "x": 180,
        "y": 200,
        "wires": [
            [
                "9eff7c58.f1181"
            ]
        ]
    },
    {
        "id": "9eff7c58.f1181",
        "type": "ui_template",
        "z": "59e2bf8a.d0a8f",
        "group": "fedad5bb.7e8f58",
        "name": "www",
        "order": 0,
        "width": 0,
        "height": 0,
        "format": "<iframe style=\"width:1200px; height:820px;\" frameborder=\"0\" scrolling=\"no\" marginheight=\"0\" marginwidth=\"0\" src=\"http://nodered.org\"></iframe>\n",
        "storeOutMessages": true,
        "fwdInMessages": true,
        "resendOnRefresh": false,
        "templateScope": "local",
        "x": 430,
        "y": 200,
        "wires": [
            []
        ]
    },
    {
        "id": "fedad5bb.7e8f58",
        "type": "ui_group",
        "z": "",
        "name": "Group 1",
        "tab": "d08e61f2.eb1b",
        "order": 1,
        "disp": true,
        "width": "23",
        "collapse": false
    },
    {
        "id": "d08e61f2.eb1b",
        "type": "ui_tab",
        "z": "",
        "name": "Test",
        "icon": "dashboard",
        "order": 2,
        "disabled": false,
        "hidden": false
    }
]

Not really a node-red question. You'd likely have better luck on stackoverflow.

thank you for your replay, i will have a look at it

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.