diff options
author | Felipe Erias Morandeira <femorandeira@igalia.com> | 2013-06-20 16:48:08 +0100 |
---|---|---|
committer | Felipe Erias Morandeira <femorandeira@igalia.com> | 2013-06-20 16:48:08 +0100 |
commit | 08ba6254f1a24456667998106ad1af36a718171f (patch) | |
tree | 7af0dc8562b0ec278403f04fa7737938d355da60 /test/smoke-tests/webview/first_page.html | |
parent | 59ef2fa3c8073562ab0576354330b60f5254a029 (diff) |
Working on a few convenience methods and strategies for linking HTML code in a WebView with GTK+ functionality.
[endlessm/eos-sdk#113]
Diffstat (limited to 'test/smoke-tests/webview/first_page.html')
-rw-r--r-- | test/smoke-tests/webview/first_page.html | 50 |
1 files changed, 50 insertions, 0 deletions
diff --git a/test/smoke-tests/webview/first_page.html b/test/smoke-tests/webview/first_page.html new file mode 100644 index 0000000..5b33c48 --- /dev/null +++ b/test/smoke-tests/webview/first_page.html @@ -0,0 +1,50 @@ +<html> + +<head> +<title>First page</title> + +<style> +p, form { + width: 50%; + padding: 1em; + background: #FFFFFF; +} + +body { + background: #EEEEEE; +} +</style> +</head> + +<body> + +<h1>First page</h1> + +<p> +<a href="endless://moveToPage?name=page2">Move to page 2</a> +</p> + +<p> +<a href="endless://showMessageFromParameter?msg=This%20is%20a%20message%20from%20the%20URL%20parameter">Show message from parameter in this URL</a> +</p> + +<form action="endless://showMessageFromParameter"> +<input name="msg" value="I am in a form!"/> +<input type="submit" value="Show message using a form"/> +</form> + +<p> +<input id="inputformessage" value="my ID is inputformessage"/> +<a href="endless://showMessageFromInputField?id=inputformessage">Show message using the <input>'s ID</a> +</p> + +<p> +<a href="http://wikipedia.org">Regular link to a Web site</a> +</p> + +<p> +<a href="endless://addStars?id=starspan">I want stars!</a> <span id="starspan" /> +</p> + +</body> +</html>
\ No newline at end of file |