master
Paul Walko 2014-11-13 07:50:35 -05:00
parent 33413c468c
commit 072b3dc0c9
4 changed files with 7 additions and 13 deletions

File diff suppressed because one or more lines are too long

View File

@ -1,7 +1,6 @@
canvas{ canvas{
background-color: #ffffff; background-color: #ffffff;
} }
body{ body{
background-color: #ddd; background-color: #ddd;
overflow-x: hidden; overflow-x: hidden;
@ -11,8 +10,8 @@ body{
top: 0px; top: 0px;
height: 100%; height: 100%;
z-index: -1; z-index: -1;
margin-left: -8px;
} }
#front{ #front{
position: absolute; position: absolute;
top: 200px; top: 200px;

View File

@ -1,8 +1,8 @@
<!DOCTYPE html> <!DOCTYPE html>
<html lang="en"> <html lang="en">
<head> <head>
<meta charset="UTF-8">
<link href='http://fonts.googleapis.com/css?family=Roboto+Slab' rel='stylesheet' type='text/css'> <link href='http://fonts.googleapis.com/css?family=Roboto+Slab' rel='stylesheet' type='text/css'>
<link href="css/bootstrap.min.css" rel="stylesheet">
<link href="css/style.css" rel="stylesheet"> <link href="css/style.css" rel="stylesheet">
<script src="js/jquery.js"></script> <script src="js/jquery.js"></script>
<script src="js/two.min.js"></script> <script src="js/two.min.js"></script>
@ -69,7 +69,7 @@
<div id="front"> <div id="front">
<h2>Reverse Polish Notation Calculator</h2> <h2>Reverse Polish Notation Calculator</h2>
<p>*&nbsp;&nbsp;For Single number operations, only use first field</p> <p>*&nbsp;&nbsp;For Single number operations, only use first field</p>
<form id="calculator" oninpt="Calculate()"> <form id="calculator" oninput="Calculate()">
<input name="a" type="number" value="0"/> <input name="a" type="number" value="0"/>
<input name="b" type="number" value="0"/> <input name="b" type="number" value="0"/>
<select name="selector" onchange="Calculate()"> <select name="selector" onchange="Calculate()">
@ -90,6 +90,8 @@
<output id="result" name="c" for="x y">0</output> <output id="result" name="c" for="x y">0</output>
</form> </form>
<h4> &copy;&nbsp;Paul Walko&nbsp;2014</h4> <h4> &copy;&nbsp;Paul Walko&nbsp;2014</h4>
<a href="http://www.w3.org/html/logo/"><img src="http://www.w3.org/html/logo/badge/html5-badge-h-css3-semantics.png" width="165" height="64" alt="HTML5 Powered with CSS3 / Styling, and Semantics" title="HTML5 Powered with CSS3 / Styling, and Semantics">
</a>
</div> </div>
<script type="text/javascript" src="js/background2.js"></script> <script type="text/javascript" src="js/background2.js"></script>
</body> </body>

View File

@ -4,7 +4,7 @@ var main;
function start(){ function start(){
var c=document.getElementById("screen"); var c=document.getElementById("screen");
var screen = new Screen("100%","585",c); var screen = new Screen("100%","590",c);
main = new backgrounds(screen); main = new backgrounds(screen);
if(Math.random()>.7) if(Math.random()>.7)
main.addScene(15000, new lighting()); main.addScene(15000, new lighting());