Skip to content
Browse files

First version

  • Loading branch information...
0 parents commit 2e0d56c9f594079ef1d81ad42cc5bf7f64b81829 @certik certik committed Jul 19, 2009
Showing with 55 additions and 0 deletions.
  1. +24 −0 notebook.html
  2. +31 −0 style.css
24 notebook.html
@@ -0,0 +1,24 @@
+<html>
+ <head>
+ <link rel="stylesheet" href="style.css" type="text/css" />
+<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.3/jquery.min.js" type="text/javascript"></script>
+<script type="text/javascript">
+$(document).ready(function(){
+ $("a").addClass("test");
+ $("input").click(function() {
+ $(this).after($(this).clone());
+ });
+});
+</script>
+<style type="text/css">
+ a.test { font-weight: bold; }
+</style>
+
+
+ </head>
+ <body>
+ <a href="http://jquery.com/">jQuery</a>
+<textarea class="cell_input" rows=1 cols=80 id='cell_input_0'></textarea>
+<a href="" class="eval_button" id="eval_button0" alt="Click here or press shift-return to evaluate">evaluate</a>
+ </body>
+</html>
31 style.css
@@ -0,0 +1,31 @@
+textarea.cell_input {
+ color:#000000;
+ background-color: white;
+ border-left: 1px solid #a8a8a8;
+ border-bottom: 1px solid #a8a8a8;
+ border-top: 1px solid #a8a8a8;
+ border-right: 1px solid #a8a8a8;
+ font-family: monospace;
+ font-size:12pt;
+ overflow:hidden;
+ padding-left:5px;
+ padding-top:3px;
+ padding-bottom:0px;
+ width: 97%;
+ margin-bottom:0px;
+ margin-top:0px;
+ line-height:1.2em;
+}
+
+a.eval_button {
+ display:none;
+}
+
+a.eval_button_active {
+ display: block;
+ position: relative;
+ top: 2px;
+ margin:0px;
+ padding:0px;
+ font-size:10pt;
+}

0 comments on commit 2e0d56c

Please sign in to comment.
Something went wrong with that request. Please try again.