Hi Guido
Thanks for using Crosswalk.
I am sure XWalk support frameset and can load local html and local html in the
frame. It works well in my test case.
In my test case, I did nothing special, just load a url like this:
private final static String TARGET_URL =
"file:///storage/sdcard1/frameset.html";
My "frameset.html" as below:
<html>
<frameset >
<frame src="iframe.html" />
</frameset>
</html>
My "iframe.html" as below, and a dolan.gif is also in the same location with
the other two html.
<html>
<body>
I'm an iframe
<img src="dolan.gif">
</body>
</html>
Best Regards ☺
Xiaofeng Zhang
-----Original Message-----
From: Crosswalk-help
[mailto:[email protected]] On Behalf Of Guido
Pardi
Sent: Saturday, May 14, 2016 5:14 AM
To: [email protected]
Subject: [Crosswalk-help] HTML page with Frameset in XWalkView
Hi,
I have created a test HTML page that loads Javascript and displays a file as
follows:
<html>
<head>
<meta name='viewport' content='width=device-width,minimum-scale=0.25,
maximum-scale=5.0, user-scalable=1' />
<script language = "JavaScript" src="scorm_1_2_api.js"></script>
<script type="text/javascript">
window.API = API;
window.close = function() {
API.triggerExit()
};
</script>
</head>
<frameset>
<frame id='course' src='file://root/sdcard/web_application/start.htm'
width='100%' height='100%'/>
</frameset>
</html>
Within a normal Android Webview, I am able to load this HTML page and it
successfully opens the locally stored web app within the frame. In XWalkView, I
only see a blank white screen. Are frame sets not supported in XWalkView?
Any info would be much appreciated, and let me know if I can provide more
details.
Thanks,
-Guido
_______________________________________________
Crosswalk-help mailing list
[email protected]
https://lists.crosswalk-project.org/mailman/listinfo/crosswalk-help
_______________________________________________
Crosswalk-help mailing list
[email protected]
https://lists.crosswalk-project.org/mailman/listinfo/crosswalk-help