Skip to content

Commit

Permalink
First version
Browse files Browse the repository at this point in the history
  • Loading branch information
certik committed Jul 19, 2009
0 parents commit 2e0d56c
Show file tree
Hide file tree
Showing 2 changed files with 55 additions and 0 deletions.
24 changes: 24 additions & 0 deletions notebook.html
Original file line number Diff line number Diff line change
@@ -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 changes: 31 additions & 0 deletions style.css
Original file line number Diff line number Diff line change
@@ -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.