diff options
author | obscuren <geffobscura@gmail.com> | 2014-04-21 06:58:02 +0800 |
---|---|---|
committer | obscuren <geffobscura@gmail.com> | 2014-04-21 06:58:02 +0800 |
commit | aec3e26ea0074842ca36a5d918cc3ed049a547cf (patch) | |
tree | 09187c6682cfce438118283a414fa610c23763f3 /ethereal/assets/test.html | |
parent | 6d5d539a859cae43a1e97acd6fc5675d45b09063 (diff) | |
download | go-tangerine-aec3e26ea0074842ca36a5d918cc3ed049a547cf.tar go-tangerine-aec3e26ea0074842ca36a5d918cc3ed049a547cf.tar.gz go-tangerine-aec3e26ea0074842ca36a5d918cc3ed049a547cf.tar.bz2 go-tangerine-aec3e26ea0074842ca36a5d918cc3ed049a547cf.tar.lz go-tangerine-aec3e26ea0074842ca36a5d918cc3ed049a547cf.tar.xz go-tangerine-aec3e26ea0074842ca36a5d918cc3ed049a547cf.tar.zst go-tangerine-aec3e26ea0074842ca36a5d918cc3ed049a547cf.zip |
Round one HTML external applications using QML(Qt5) WebKit2 w/o native bindings
Diffstat (limited to 'ethereal/assets/test.html')
-rw-r--r-- | ethereal/assets/test.html | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/ethereal/assets/test.html b/ethereal/assets/test.html new file mode 100644 index 000000000..bd8711d38 --- /dev/null +++ b/ethereal/assets/test.html @@ -0,0 +1,27 @@ +<html> +<head> +<title>Epic Works (TM)</title> +<body> +<h1>It just works!</h1> + +<p>Play with me...</p> + +<button onclick="test();">test</button> +<div id="out"></div> +<div id="in"></div> +<div id="debug"></div> + +<script type="text/javascript"> +function test() { + eth.send(function(data) { + debug(data) + document.getElementById("in").innerHTML ="and the other way around " + data.message; + }) +} + + +</script> + +</body> +</html> + |