Mercurial > laserkard
view stack.html @ 96:a0b768d3494a laserkard
created text-entry-restriction function
author | Robert McIntyre <rlm@mit.edu> |
---|---|
date | Mon, 26 Jul 2010 23:39:03 -0400 |
parents | 0f19af92260e |
children |
line wrap: on
line source
1 <html>2 <head>3 <link type="text/css" href="./stack.css" rel="stylesheet"/>4 </head>6 <body>7 <input type="button" id='btn1' value="Hide Something" />8 <div style=" background-image:url('./buy-images/select-blue.png'); background-repeat:repeat-x; border-style:solid;height:1000px;width:100%">9 <div id="div3" class="transparentDiv" style=" margin-top:30px; padding-left:300px;background-color: #4ddfff; height: 100px;position:absolute; width:950px">10 <br />11 <br />12 <br />14 </div>15 <div id="div2" class="transparentDiv">20 <h1></h1>24 </div>26 </div>29 <script src="http://jquery.com/src/jquery-latest.js"></script>30 <script type="text/javascript">32 $(function() {34 $("#table1 tbody tr:even").addClass('zebra');35 $("#btn1").click(function() {37 $('#div2').toggle(400); return false;38 });40 });43 </script>44 </body>45 </html>