Quantcast
Channel: SmartClient Forums
Viewing all articles
Browse latest Browse all 4756

Questions about Iframes in HTMLFlow.

$
0
0
Hi,

We have two questions about using HTMLFlow to display an Iframe. We are using SmartClient_v83p_2014-10-23_PowerEdition.

1. For a popup in the child IFrame, it cannot be moved to the parent window. Is it a standard behavior? Is there any way we can achieve this?

Please try the following standalone: (Please replace the contents of the HTMLFlow in Parent to point to the child IFrame html.)

Steps to reproduce:
1) Click the the button "Click" in child iframe.
2) Drag the popup to the parent window. We can only drag the popup window to the boarder of the iframe but not be able to drag it to across the boarder.

a) Parent:
Code:

isc.VStack.create({
height: "100%",
width: "100%",
members: [
        isc.VStack.create({
                height: "50%",
                members: [
                        isc.IButton.create({title: "Click in Parent", click: function() {isc.warn("POPUP in Parent Window");}})
        ]
        }),
        isc.HTMLFlow.create({
                height: "50%",
                contents:"<iframe src=\"C:\\Users\\RChu\\Desktop\\HTML_StandAlone\\childFrame.html\" width=\"100%\" [^] height=\"100%\" border=\"0\"\/>"
        })
]
})

b) Child Iframe:
Code:

isc.IButton.create({
    top: 10,
        title: "Click",
        click: function() {isc.warn("POPUP")}
})


Viewing all articles
Browse latest Browse all 4756

Trending Articles