Skip to content

Commit

Permalink
Adding adding a real index for all the testing apps
Browse files Browse the repository at this point in the history
  • Loading branch information
admc committed Aug 19, 2010
1 parent 12505e3 commit 5594ff1
Show file tree
Hide file tree
Showing 2 changed files with 87 additions and 68 deletions.
68 changes: 68 additions & 0 deletions tests/TestDemo.html
@@ -0,0 +1,68 @@
<html>
<head>
<meta http-equiv="Content-Type" content="text/html;charset=utf-8"/>
<meta http-equiv="pragma" content="no-cache">
<title>
</title>
<script type="text/javascript">
var testApp;
function init() {
var html = '';
var swfName = 'TestApp.swf';
if (document.all) {
html = '<object type="application/x-shockwave-flash"' +
' width="100%" height="100%" id="testApp">' +
' <param name="movie" value="' + swfName + '">' +
' <param name="quality" value="high">' +
' <param name="bgcolor" value="#ffffff">' +
'</object>';
}
else {
html = '<embed id="testApp" height="100%" width="100%"' +
' name="testApp" src="' + swfName + '"' +
' type="application/x-shockwave-flash"/>';
}
document.getElementById('testAppContainer').innerHTML = html;
testApp = document.getElementById('testApp')
}
function wmClick(p) {
testApp.wm_click(p);
}
window.onload = init;
</script>
<style type="text/css">
body {
overflow: hidden;
}
</style>
</head>
<body>
<div style="width: 280px;">
<h2>Testin' Flash</h2>
<form>
<div>Here's a text input</div>
<div><input type="text" id="htmlTextInput" name="htmlTextInput" value=""/></div>
<div>&nbsp;</div>
<div>Here's a select</div>
<div>
<select id="htmlSelect" name="htmlSelect">
<option>(Select a value)</option>
<option value="selectGeddy">Geddy Lee</option>
<option value="selectNeil">Neil Peart</option>
<option value="selectAlex">Alex Lifeson</option>
</select>
</div>
<div>&nbsp;</div>
<div>Here are some radio buttons</div>
<div>
<input type="radio" id="radioGeddy" value="radioGeddy"/>&nbsp;Geddy
<input type="radio" id="radioNeil" value="radioNeil"/>&nbsp;Neil
<input type="radio" id="radioAlex" value="radioAlex"/>&nbsp;Alex
</div>
</form>
</div>
<div id="testAppContainer" style="width: 760px;
height: 340px; border: 1px solid #ccc;">
</div>
</body>
</html>
87 changes: 19 additions & 68 deletions tests/index.html 100755 → 100644
@@ -1,68 +1,19 @@
<html>
<head>
<meta http-equiv="Content-Type" content="text/html;charset=utf-8"/>
<meta http-equiv="pragma" content="no-cache">
<title>
</title>
<script type="text/javascript">
var testApp;
function init() {
var html = '';
var swfName = 'TestApp.swf';
if (document.all) {
html = '<object type="application/x-shockwave-flash"' +
' width="100%" height="100%" id="testApp">' +
' <param name="movie" value="' + swfName + '">' +
' <param name="quality" value="high">' +
' <param name="bgcolor" value="#ffffff">' +
'</object>';
}
else {
html = '<embed id="testApp" height="100%" width="100%"' +
' name="testApp" src="' + swfName + '"' +
' type="application/x-shockwave-flash"/>';
}
document.getElementById('testAppContainer').innerHTML = html;
testApp = document.getElementById('testApp')
}
function wmClick(p) {
testApp.wm_click(p);
}
window.onload = init;
</script>
<style type="text/css">
body {
overflow: hidden;
}
</style>
</head>
<body>
<div style="width: 280px;">
<h2>Testin' Flash</h2>
<form>
<div>Here's a text input</div>
<div><input type="text" id="htmlTextInput" name="htmlTextInput" value=""/></div>
<div>&nbsp;</div>
<div>Here's a select</div>
<div>
<select id="htmlSelect" name="htmlSelect">
<option>(Select a value)</option>
<option value="selectGeddy">Geddy Lee</option>
<option value="selectNeil">Neil Peart</option>
<option value="selectAlex">Alex Lifeson</option>
</select>
</div>
<div>&nbsp;</div>
<div>Here are some radio buttons</div>
<div>
<input type="radio" id="radioGeddy" value="radioGeddy"/>&nbsp;Geddy
<input type="radio" id="radioNeil" value="radioNeil"/>&nbsp;Neil
<input type="radio" id="radioAlex" value="radioAlex"/>&nbsp;Alex
</div>
</form>
</div>
<div id="testAppContainer" style="width: 760px;
height: 340px; border: 1px solid #ccc;">
</div>
</body>
</html>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN"
"http://www.w3.org/TR/html4/strict.dtd">

<html lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>FlexPilot Test Index</title>
<meta name="generator" content="TextMate http://macromates.com/">
<meta name="author" content="Adam Christian">
<!-- Date: 2010-08-19 -->
</head>
<body>
<ul>
<li><a href="TestDemo.html">Demo App</a></li>
<li><a href="FlexPilotTest.html">DataGrid Sampler App</a></li>
<li><a href="TestAccordion.html">Accordion</a></li>
<li><a href="TestWildcards.html">Wildcards</a></li>
</body>
</html>

0 comments on commit 5594ff1

Please sign in to comment.